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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

i want set auto value of field on click on event change

(0) ShareShare
ReportReport
Posted on by 202

Hello everyone , 

i have one requirement , please help me this.

i have three following entity - Country , State and city,  and i i have created N:1 relationship on the same state and city entity.

and i have attached all this three entity on contact form. by setting lookup.

Capture1_5F00_1.JPG

this all three are lookup fields.....

when i select the city field . then

Capture1_5F00_2.JPG

for example Thane , then related to state and country should auto fill in respect of City selected on event change.

Capture1_5F00_3.JPG

Like this ....Please help me me how can i achive this with Javascripts .

please will be appreciated for early reply . its urgent.

Thanks

amit. 

I have the same question (0)
  • Suggested answer
    Charles Abi Khirs Profile Picture
    3,569 on at

    Hello,

    This is a similar thread that you can use: community.dynamics.com/.../621971

  • erhan.keskin Profile Picture
    2,253 on at

    Hi,

    You can create a jscript method to retrieve the information you needed, and then populate in the Country and State fields. Please check examples shown in the links below.

    https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/samples/query-data-client-side-javascript

    https://carldesouza.com/query-dynamics-365-using-jquery/

    Regards,

  • Suggested answer
    ajyendra Profile Picture
    1,738 on at

    Hi Amit,

    Please Check the below verified SIMILAR thread:

    community.dynamics.com/.../621004

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 164

#2
ManoVerse Profile Picture

ManoVerse 147 Super User 2026 Season 1

#3
Zhilan Profile Picture

Zhilan 55

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans