How do I find the Dynamics Entity associated with a Plug-In Trace log?

岁酱吖の 提交于 2020-02-07 02:01:14

问题


I have a Dynamics 365 CE online instance. I'm debugging a plug-in. I can find plug-in trace log Entities that come from the code I'm interested in. How can I determine the Entity instance that triggered the plug-in to fire? I.e. I have a plug-in registered against entity Foo. I can see the trace log entry from the run I'm interested in. How do I find which Foo instance triggered the run?


回答1:


To be specific, yes, you ( the plugin developer ) are required to traceout the content you are interested in for the plugin trace log. For clarification though, it will appear in the plugin-tracelog in the message block field.

I would encourage you to go to https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas and post it. we are always watching that.

thanks




回答2:


I guess you wish to know which foo record has triggered the plugin.

You can add record id as tracing and you can easily see this under Exception details.

By default D365 CE only gives info on which entity and what message plugin fired



来源:https://stackoverflow.com/questions/58199315/how-do-i-find-the-dynamics-entity-associated-with-a-plug-in-trace-log

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!