Notifications
Announcements
No record found.
Hi, I use this method Xrm.Navigation.navigateTo() to open a webresource html and inside this resource I've tried to get the form context like
parent.Xrm.Page.data
Xrm.Page.data
window.Xrm.Page.data
to be able to acces form properties but that object is always NULL, Xrm has data though
thanks
Hi,
I have tested it on my side, it seems that Xrm.page.data can't work in this situation.
You can try to add data parameter in the pageInput object to pass value.
Please refer to this:
Prepopulating Data in Form when opening form using Xrm.Navigation.navigateTo - Unified Interface Forum Community Forum (dynamics.com)
navigateTo (Client API reference) in model-driven apps - Power Apps | Microsoft Docs
Hi,Please try below highlighted options.
Thanks,Pradeep.Please mark this as VERIFIED it it helps.
nothing seems to work I neet to get a form value and need to acces to the form controls but I can't, below what I've tried
I ended up doing like this blog Get formContext in navigateTo web resource basically saving the formContext in a custom global variable e.g.: window.parent.customVariable and calling it inside the web resource.
please go to check window index.
example: parent[0].Xrm.Page.getAttribute; parent[1].Xrm.Page.getAttribute; parent[3].Xrm.Page.getAttribute ....
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 70 Super User 2025 Season 2
Gerardo RenterÃa Ga... 33 Most Valuable Professional
Daniyal Khaleel 32 Most Valuable Professional