Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Calling a custom Action from JavaScript with input and output parameters for plugin that doesn't use Xrm.Page -- how can I do this?

Posted on by 258

So I've seen LOTS of examples of calling actions from javascript where it sends parameters to and from a plugin so the javascript can execute a plugin based on a button or something else.  Problem is virtually every example I see uses XRM.Page which is deprecated.  Does anyone have a simple example on how to do this with XRM.WebAPI or whatever is replacing XRM.Page in v9?  Also we are still on Prem if this matters.

Thanks.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Calling a custom Action from JavaScript with input and output parameters for plugin that doesn't use Xrm.Page -- how can I do this?

    Hello,

    You can check this - www.inogic.com/.../

    Also, I would recommend to use CrmRestBuilder tool to pre-cook the initial version of the script - github.com/.../2.6.0.0

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans