Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

CallerOrigin in Plugin Execution

(0) ShareShare
ReportReport
Posted on by 92

I found a post that stated that the  CallerOrigin in a Plugin by using reflection on the Context object.  Is this available in Dynamics 365?


https://stackoverflow.com/questions/14772178/dynamics-crm-2011-plugin-in-outlook-only

  • a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: CallerOrigin in Plugin Execution

    If my replies answered your question take a minute and close thread clicking "Yes" near message "Did this answer your question".

  • Suggested answer
    MichaelSchofield Profile Picture
    MichaelSchofield 92 on at
    RE: CallerOrigin in Plugin Execution

    Gotcha.. Thanks.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: CallerOrigin in Plugin Execution

    Mike,

    With sandboxing I didn't mean sandbox/production types of instances. I meant sandboxing of plugins - all plugins are ran in isolation and it's not possible to find the caller origin.

  • MichaelSchofield Profile Picture
    MichaelSchofield 92 on at
    RE: CallerOrigin in Plugin Execution

    Andrew,

    Gotta love when people plagiarize your stuff..

    How about in a Production instance. How can it be done? I'm using both.

    Mike

  • Verified answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: CallerOrigin in Plugin Execution

    Hello Michael,

    It must be someone copy-pasted or used idea similar to my post back in 2012 - butenko.pro/.../

    When plugin is sandboxed there is no way to get the caller origin unfortunately.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans