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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Customer Service forum

Dynamics 365 CRM form on change event

(0) ShareShare
ReportReport
Posted on by 65

We have a CRM Form with accountid lookup with on change event of account id brings primary contact info.

But when i open the CRM Form  using (from custom button) Xrm.Navigation.openForm with formParameters setting

accountid values not triggering accountid onchnage event

Categories:
I have the same question (0)
  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    According to your description, did you mean you want to use JS to change the value of lookup field and trigger the onchange event?

    If so, the setting value event is triggered when loading the form, not onchange event and therefore you could not trigger the action of change event.

    I recommend to try "Quick View" OOB feature.

    Go to form editor and switch to "Insert" tab->Quick View Form


    community18.PNG

    community18.PNG

    Here is Microsoft description of "Quick View".

    Hope it helps.

    Best Regards

    Leo

  • Suggested answer
    Justin Wilkinson Profile Picture
    1,338 on at

    Hi would you perhaps need to create a workflow to map over the Primary Contact?

  • HAP  Profile Picture
    5 on at

    Can you please try to intricate the issue in more details. May be you have to turn your notifications on, so it might trigger onchange 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

Season of Giving Solutions is Here!

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans