Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Why we need to register a plugin for both message SetState and SetStateDynamicEntity?

Posted on by 360

Hi CRM User,

Why we need to register a plugin for both message SetState and SetStateDynamicEntity?

Whether you are deactivate record from the CRM form/SDK/Javascript, In all case I  getting SetStateDynamicEntity message.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Why we need to register a plugin for both message SetState and SetStateDynamicEntity?

    Hi Amritesh! I know a plugin that can help log calls automatically in MS Dynamics. That app is Tenfold, a CTI and sales acceleration platform that offers features like call logging and call monitoring. You can check out Tenfold page if you'd like to know more. www.tenfold.com/.../dynamics

  • Eran Yaron Profile Picture
    Eran Yaron 5 on at
    RE: Why we need to register a plugin for both message SetState and SetStateDynamicEntity?

    Hi Amritesh,

    I think that workflow will still trigger the Set State.  Through the SDK you have the option to call SetState specifically, but the default method via the SDK would be SetStateDynamicEntity.

    From what I know SetState exists mostly for historic reasons - backwards compatibility and such.

    Good luck,

    Eran

  • amritesh Profile Picture
    amritesh 360 on at
    RE: Why we need to register a plugin for both message SetState and SetStateDynamicEntity?

    Hi Rajkumar,

    I go through the suggested thread. But really I can't understand it. I have checked and implemented in my plugin, I found that in all cases whether you are using CRM View/Form or SDK or Javascript, In all case SetSate message is not available in the plugin. Every time I get SetStateDynamicEntity message.

  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    Rajkumar Rajaraman 18,108 on at
    RE: Why we need to register a plugin for both message SetState and SetStateDynamicEntity?

    Refer this thread:

    community.dynamics.com/.../184070

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