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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Custom Page Integration - Returning data to calling javascript method

(0) ShareShare
ReportReport
Posted on by 9
Hi.
In Dynamics CRM I have a requirement to display a popup screen to the user off the click of a button on the ribbon within a particular CRM record.
On this popup there will be two checkboxes, so the user can choose one or both options.
I have tried implementing this as a custom page - with 2 checkboxes, a Cancel button & a Submit button.
I am able to pass down an object via a JSON string to the custom page.
I'm opening the custom page using a Javascript Xrm.Navigation.navigateTo call.
 
I assumed I would be able to pass the items selected by the user back to the calling javascript method when the submit button was clicked, but it seems this cannot be easily done.
The suggestion I have seen in a couple of places involves storing a record to a dataverse table on the click of the submit button & then reading that record back in the calling javascript.

is there truly no other way to achieve this nowadays? It seems hacky in the extreme.
If it cannot be done - anyone have any other recommendations of a good way to achieve the requirement of allowing the user to select values off the click of a ribbon button (they have the ability to select from one of two specific contacts but can also select both of them). It doesn't seem to fit the out of the box alert popups.
 
Any advice appreciated.
 
 
I have the same question (0)

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 85

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 78 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans