Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Calling a plugin from Web API

(0) ShareShare
ReportReport
Posted on by 92

Hello,

I hope someone could help me. 

I made a plugin that creates a new employee from an applicant with all other records related in other tables. I also have a lookup field that is filled with the employee when s/he is created (field logical name is new_employee). I need to direct the user the record of the employee when it is created through the plugin code ÃŒ have already.

I know that I am not able to redirect the user from the plugin since it operates on the server side, so I am thinking if I am able to call a Web API from the plugin to direct the user to the page when the plugin executes. Is it achievable?

I do not want to use the approach of onSave for Web API to check if the field is null or not and direct the user.

I want to see if it is achievable using a plugin.

Thank you! 

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Calling a plugin from Web API

    Hello,

    You can create an action/custom api, put your code to handle the message of action/custom api, get the response from it an do whatever you need on the client side.

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans