I put together an URL in Ribbon Workbench 2016 with URL Command Action and various parameters. I would also add the current CRM user with the URL. How can I insert the Username?
Thanks in advance ...
*This post is locked for comments
I put together an URL in Ribbon Workbench 2016 with URL Command Action and various parameters. I would also add the current CRM user with the URL. How can I insert the Username?
Thanks in advance ...
*This post is locked for comments
Hi,
As mentioned above, it would be easier to call a JavaScript and then from there open the URL with username.
Hope this helps.
Hi,
I will suggest to call js on URL Command Action and use script to do dynamics functionality.
Hi Heko,
You can use Xrm.Page.context.getUserName(); function.
Regards,
Pravin
Hello Pravin,
but the string parameter expects only a string. I want to read out the current user and then give it with the URL.
Is there a way to call the Xrm.Page.context.getUserName () function in the URL Command Action?
Best regards,
Heike
Hi Heko ,
You can use string parameter in ribbon workbench to pass current user name to the action.
Hope this help you.... !
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,409
Most Valuable Professional
nmaenpaa
101,156