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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Pass name of parameter (not just value) to Javascript action from CRM Ribbon command

(0) ShareShare
ReportReport
Posted on by
Is there any way to Pass name of parameter (not just value) to Javascript action from Crm Ribbon Command (for the click action)?
 
What I am trying to achive is to get the parameter to the Javascript Action like a Key-Value pair. Like..
 
CrmParams: [
  {
     /Name/: /PrimaryItemIds/,
     /Value/: /{1234567880}
  },
  {
     /Name/: /PrimaryControl/,
     /Value/: [Object, Object]
  }...
 
I have names of parameters which are already available in javascript action. I want to compare the name which I receive from Crm Button Command and then ise the value of appropriate one. 
 
Is there a way to achive this?
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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 57 Super User 2025 Season 2

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 57 Super User 2025 Season 2

#3
Eugen Podkorytov Profile Picture

Eugen Podkorytov 26

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans