Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Create HTTP request when creating a custom activity

Posted on by Microsoft Employee

I am trying to figure out whether it is possible, and if so how, to fire an HTTP POST request every time a custom activity is created. Any ideas?

*This post is locked for comments

  • Suggested answer
    Nadeeja Bomiriya Profile Picture
    Nadeeja Bomiriya 6,804 on at
    RE: Create HTTP request when creating a custom activity

    Hi Henrik123,

    +1 for Andrii's suggestion.  You need to trigger a plugin on creation of a record.

    How to create a Plugin

    msdn.microsoft.com/.../gg594416.aspx

    How to register a Plugin

    msdn.microsoft.com/.../gg309580.aspx

    How to make a HTTP POST call.

    msdn.microsoft.com/.../debx8sh9(v=vs.110).aspx

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Create HTTP request when creating a custom activity

    Hello,

    As for me the best way is to develop plugin that will handle "Create" message of your custom activity and execute HTTP Post Request. Following article can help you - msdn.microsoft.com/.../gg509030.aspx

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans