Search code examples
dynamics-crmcrmdynamics-365dynamics-crm-365dynamics-crm-portals

How can we use "Validation groups" and "Render Web Resources Inline" in MS CRM portals?


What is the use of Validation group and Render Web Resources Inline in MS Dynamics CRM portal's Entity Form ? enter image description here


Solution

  • Validation Group and Render Web Resources Inline are additional settings in portal entity form configuration.

    ValidationGroup: The group name assigned to input controls for evaluating valid input of named groups.

    If you set this in entity form configuration, then in case if you are doing some custom validation in client side using js, Validation Group can be specified in custom validator. Read more

    RenderWebResourcesInline: CRM wraps Web Resources in an iframe by default. Set to "true", indicates that Web Resources should be rendered without an iframe.

    This is to tell platform to differentiate as the same form is rendering in CRM platform & Portal as well. CRM will render HTML webresource inside IFRAME, which we don't need in Portal side.

    MS Reference & AdXstudio Reference