web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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?

(0) ShareShare
ReportReport
Posted on by 262

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.

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Pallavi Phade Profile Picture

Pallavi Phade 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans