scottdurow / RibbonWorkbench

Ribbon Workbench 2016 for Dynamics 365
https://ribbonworkbench.uservoice.com/
MIT License
72 stars 24 forks source link

Question about using "Run Workflow" Smart Button #21

Open SerbanAvram opened 6 years ago

SerbanAvram commented 6 years ago

Hi,

Where should I place the JS Library in order for the Button to trigger the Callback? I've tried to put the JS Library on the Form, but it didn't trigger the function name that I've placed in the Ribbon Workbench. Also I've tried to place an anonymous function there, but still didn't trigger.

What am I supposed to do? I've attached a Print Screen

Thank you in advance! capture

Regards, Serban

scottdurow commented 6 years ago

You'll need to include callback javascript that can be called via an eval statement. Eg. image

Sinezere commented 6 years ago

Hi i have a problem with the de Run WF button.

I create on button and i configured it so sm0

but when click the button i have an error. sm1 sm2

can you help me? Best regards!

usergithub333 commented 2 years ago

You'll need to include callback javascript that can be called via an eval statement. Eg. image

Hello, do you pass any parameters to eval?