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 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! 

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

    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

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
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans