web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Create PostOperation Plugin is missing Attributes/Fields, but the field is populated in CRM

(0) ShareShare
ReportReport
Posted on by 30

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

I have the same question (0)
  • Verified answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    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/.../

  • wYh0iUt Profile Picture
    30 on at

    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();

  • Verified answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    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/.../

  • wYh0iUt Profile Picture
    30 on at

    Sure. Thank you

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 92 Super User 2026 Season 2

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 35 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 34 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans