Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to tell what records are tied to what form

(0) ShareShare
ReportReport
Posted on by 2,645

I have a contact entity and on this entity there are 2 forms.  Lets call them Form 1 and Form 2.  Is there a way to see all the records that are using Form2?  Wasn't sure if XrmToolBox had something or not or if there is another way to do this.  It appears

Please let me know. Thank you.

  • Verified answer
    meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: How to tell what records are tied to what form

    Hi, 

    To support Wahaj's answer. A record is opened in that last used form, this behavior is specific to each user. Indeed, the CRM has the capacity to store the last form used for each entity and for each user.

    Let's take the example of user A and user B.

    User A modifies an account with form 1, then the form 1 is used the next time when User A will open an account.

    User B modifies an account with form 2, then the form 2 is used the next time when User B will open an account.

    I think there is a way to know which last form was used for each user using Impersonation. In fact, this information is stored at the level of the "userentityuisettings" entity.

    pastedimage1614378350796v1.png

  • Verified answer
    Wahaj Rashid Profile Picture
    Wahaj Rashid 11,319 on at
    RE: How to tell what records are tied to what form

    Hi,

    Thank you for your query.

    Please note, records are not directly tied to a form.

    Forms are shown as per the following criteria:

    • Security Role: you can select the Roles, which should see these forms.
    • Form Order: if a user's security role has access to multiple forms, or the user has multiple roles, the form is shown based on the form order number.

    You can review the roles assigned and form order:

    • Go to Advanced Settings -> Customization -> Entities -> <Entity Name> -> Forms.
    • Click on the form to see Enable Security Roles and Form Order:

    pastedimage1614375957899v2.png

    Another factor is a custom code, you can register an onLoad (or field's onChange) event to switch the form using JavaScript.

    For example,

    • if Account Type is Retail, show form A.
    • If Account Type is Wholesale, show form B.

    You can review code in form properties (on load event).

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans