Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Answered

How to tell what records are tied to what form

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,198 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,645 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans