Skip to main content
Dynamics 365 general forum

Calling General Action in js

editSubscribe (0) ShareShare
Posted on by 80

I want to call an action that runs on any Entity 

but i can't find its url to send the request from js code

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,305 Super User on at
    RE: Calling General Action in js


    I would highly recommend starting using Dataverse Rest Builder from magician Guido Preite. This tool helps you to build the starter code you can use in your webresources.

  • Verified answer
    Steve Zhao2 Profile Picture
    Steve Zhao2 on at
    RE: Calling General Action in js

    Hi Be Elshayep,

    You send AJAX request in your JS code to invoke the action by Web API.

    Here is the Action API list:

    Microsoft Dataverse Web API Action Reference | Microsoft Learn

    Action has two types: bound and unbound. If is a bound action, it is tied to an entity. You can refer this doc to know more:

    Use Web API actions (Microsoft Dataverse) - Power Apps | Microsoft Learn

    And here is a sample:

    Calling an Dynamics 365 Action from JavaScript - Carl de Souza

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,934 Super User on at
    RE: Calling General Action in js


    You can auto generate js code using Dataverse rest builder tool.

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,080 Super User

Martin Dráb Profile Picture

Martin Dráb 222,601 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans