Hello All Experts,
is it possible to do on MSCRM 2013 on premise?
*This post is locked for comments
Hello All Experts,
is it possible to do on MSCRM 2013 on premise?
*This post is locked for comments
You can't with pure JavaScript. If you need to impersonate, you need to have some 'server' code to do the impersonation for you (as you can see from the suggestions above). JavaScript is insecure by design and doesn't handle anything with regard to these aspects well.
Hi,
See the link below.
social.microsoft.com/.../impersonation-using-javascript-in-ms-crm-2013
Hope this helps.
Hi,
you can't in 2013.. You should be able with Web API (2016+).
What you can do is:
- Create a plugin or a workflow which runs under a particular user account
- Use javascript to "kick off" that plugin/workflow (for the plugin, you can, for example, change a field on the form and use Xrm.page... to save the record using javascript. Indirectly, that will start the plugin)
Hi, you can try following link
dynamicscrmcoe.com/crm-2016-impersonating-user-using-javascript-crm-web-api
Mark answer as verified, if it works for you
What is your exact requirement?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156