Hi EveryOne,
i just open model dialog through field change using Xrm.Navigation.navigateTo
But i cannot acces any form data like account name from model popup web resource
How to get Xrm.Page from Model Dialog Popup
Hi EveryOne,
i just open model dialog through field change using Xrm.Navigation.navigateTo
But i cannot acces any form data like account name from model popup web resource
How to get Xrm.Page from Model Dialog Popup
I believe the main reason is because you created the question using one account - community.dynamics.com/.../nihmath8092 and now you're trying to mark the reply using the other - community.dynamics.com/.../nihmath-community.
Just log in using the proper account and you will be able to close the thread.
Sorry Andrew i try to do that but it shows "You do not have permission to update this reply"
i dont know why its happen
Hello,
If my reply (or replies) answers your question take a minute and verify the answer. You can do it by clicking "Yes" at the top of the reply (or replies) under the label "Does this answer your question?"
Thank You Andrew. Its working...
With the unsupported approach, I meant usage of parent/opener/other combinations.
If you think that passing of the data is not efficient - you can pass the Id of the record to the webresource and use odata (Xrm.WebApi will not be available inside the code of the webresourcce so you will have to use xmlhttprequest/fetch) to get the data. Good luck.
Thank you Andrew
But in my case there is no way for panic because i just using Xrm.navigate.navigateTo which is supported by microsoft but i can't able to access form data from model dialog actually i need to display form data in model dialog
i think pass all values with the help of data parameter in url is not an efficient way. So there is any other way to access all form data like Xrm.Page
Hello,
I'm afraid that the ways you are trying to use are not supported.
If you want to pass some value you will have to use the "data" attribute when you invoke the dialog and parse the data from the webresource url. Check this post - butenko.pro/.../
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156