Skip to main content

Notifications

Announcements

No record found.

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 190

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. 

  • Suggested answer
    ajyendra Profile Picture
    ajyendra 1,730 on at
    RE: i want set auto value of field on click on event change

    Hi Amit,

    Please Check the below verified SIMILAR thread:

    community.dynamics.com/.../621004

  • erhan.keskin Profile Picture
    erhan.keskin 2,251 on at
    RE: i want set auto value of field on click on event change

    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
    Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: i want set auto value of field on click on event change

    Hello,

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

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans