Ribbon workbench URL Command Action Parameter Guid

1.7k views Asked by At

I have a an adress of a dialog form: ...ntityName=opportunity&ObjectId=%wwwww-www-wwww-wwww-wwwwwwww%7d and I want to call this dialog form from a button. I create a button for this and a parameter data in ribbon but and I don't know how to use the parameter data wich the id in the adress: enter image description here

1

There are 1 answers

0
sadzag On

You can use a javascript Action, you can put any data or parameters you want.

the javascript funtion to use is:

Xrm.Page.data.entity.getId()