Hello CRM Community,
I would like to ask if you can help me with the following problem, I have a plugin that runs on Create of the Contact entity synchronously, I'm triggering that plugin when importing an excel template, with the columns filled.
But when I check entity or postImage object, there my field is missing, even though I have it filled in the excel and checked it in the postImage attributes.
Some Notes: When I have a template only with name and those three newly created columns for this plugin, then it works fine, but when I have some more columns on template, the value is missing.
Any ideas why could this be happening?
Thanks in advance
Sure. Thank you
Hi wYh0iUt
Glad to hear. Somehow it is answered... If I answer your question then please close this thread as verified.
Let me know if I can provide you with more details.
Thanks
Regards,
Abdul Wahab
Power Platform/Customer Engagement Developer/Lead/Solution Architecture/Project Manager
Direct/WhatsApp:+923323281237
E-mail: abdulwahabubit@outlook.com
Skype: abdul.wahabubit
Linkedin: www.linkedin.com/.../
Hey Abdul,
Thank you for the quick reply. Yes, it worked as a workflow but had to create the whole thing and it's going to be more time consuming to pass it to another environments and remove that plugin from the other environments, I think.
A-sync didn't work.
I've figured out I can do a retrieve of that entity and that field will always will be retrieved, as long as it's populated, like I do in the custom workflow to get the execution entity.
Workflow Contact CONTACT_ENTITY = Framework.Retrieve(new EntityReference(Framework.PluginExecutionContext.PrimaryEntityName, Framework.PluginExecutionContext.PrimaryEntityId)).ToEntity(); Plugin Contact CONTACT_ENTITY = Framework.Retrieve(entity).ToEntity();
Hi wYh0iUt
Are you facing the same experience when writing a workflow or workflow extension? Please check it will give you a hint whether the issue is in the extension (plugin or workflow) or with an excel template. Also, test your plugin by making it a-synchronous.
Let me know if I can provide you with more details.
Thanks
Regards,
Abdul Wahab
Power Platform/Customer Engagement Developer/Lead/Solution Architecture/Project Manager
Direct/WhatsApp:+923323281237
E-mail: abdulwahabubit@outlook.com
Skype: abdul.wahabubit
Linkedin: www.linkedin.com/.../
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,522 Super User 2024 Season 2
Martin Dráb 228,441 Most Valuable Professional
nmaenpaa 101,148