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?