web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Calculated field display on web form

(0) ShareShare
ReportReport
Posted on by 17

I have a web form that displays an entity form. The entity form shows calculated fields from contact within D365 but when I access the entity form via a web form in the portal the calculated fields do not show. Is there documentation about when calculated fields will and will not display?

*This post is locked for comments

I have the same question (0)
  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Calculated field display on web form

    Hi,

    Calculated field are no different than the normal fields when it comes to appearance/ rendering. They should be visible however, the calculation happens when you aacualy save the record.

    It could be possible a cache issue so try different browser.

    Hope this helps.

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at
    RE: Calculated field display on web form

    Hi,

    The calculated field values are not displayed in the Dynamics 365 Outlook Offline mode in the tile views or on entity main forms.

    No other restrictions are there on the display of calculated fields.

    See: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/customize/define-calculated-fields

    Hope this helps.

  • GenuineRex Profile Picture
    17 on at
    RE: Calculated field display on web form

    I saw documentation that calculated fields are sql server calculated columns - are you saying they are actually normal columns and are set at save?  Do you have documentation?

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Calculated field display on web form

    Yes calculated fields is looks like a normal colum in terms of UI perspective and set when you saved the forms  and the value will be populated. Calculated fields are created using a SQL Server Calculated Column and so cannot store any data and always will be evaulated when requested using the current formula - where a business Rule is applied on-top of an existing attribute.

    [View:https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/calculated-rollup-attributes]

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Calculated field display on web form

    No, I am not saying calculated fields are normal field. I am saying you will get the value after saving the record i.e. when you get the updated response after saving and not on load of the new form. These are actually calculation which is returned by the SQL and it doesn't store any value. So when you save the record, crm returned the updated data which also contains the calculated value.

    Hope this helps.

  • GenuineRex Profile Picture
    17 on at
    RE: Calculated field display on web form

    Thank you.  We went a different route so this is somewhat academic now.

    Bottom line:

    I had a situation where the calculated field would not show on a form via a web page but would show inside D365 on an entity form.  My best guess is that the way I accessed the form looked similar to outlook offline mode and so the calc field would not show.  I don't have time to reproduce this so have to leave it at that.

  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Calculated field display on web form

    Hi,

    Are you expecting the calculated field to show up in outlook offline mode? If yes then this is expected as the calculated field doen's show up in offline mode. Refer the:

    "The calculated field values are not displayed in the Dynamics 365 Outlook Offline mode in the tile views or on entity main forms."

    docs.microsoft.com/.../define-calculated-fields

    Ignore if this is not what you meant.

  • GenuineRex Profile Picture
    17 on at
    RE: Calculated field display on web form

    I have read the MS documentation about when calculated fields show and when they don’t work. I had a situation where the field should have displayed and it did not so I asked this question. I still don’t know why it would not show. I heard several things that did not make sense (set when you save, it is a sql server calculated column, doesn’t get set for 12 hours). It was kind of working and it worked inside D365 but it would not show on a read only web form that called LoadTab on an entity form.

    Hard to complete a task when D365 won’t do what is expected and seems like it should work.

    Thanks for helping.

  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Calculated field display on web form

    Did you check if it works when you make the form editable (instead of read only)?

  • Suggested answer
    GenuineRex Profile Picture
    17 on at
    RE: Calculated field display on web form

    I think I figured this out.  A Main Form does not show calculated fields and a Main Form is the only type of form that can be attached to a Web Form step or Entity Form.  However, in Readonly mode WITHIN D365 the Form will show the calculated field, but on the web portal attached to a web form or entity form it will not show the calculated field value.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans