Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

CRM Plugins - Entity Image Formatted Values

Posted on by Microsoft Employee

Hi,

I just noticed that the Post Create Sync Entity Target Image does not have formatted values for option set values.

Is there a way to configure this OR do I have to retrieve it using the CRM service?

Class Name: Lead_Created_Post_Sync

Method Name: ExecuteLogic

Description: leadEntity: {"LogicalName":"lead","Id":"1ca646b1-f3d9-e711-80e5-00155d00122c","Attributes":[],"EntityState":null,"FormattedValues":[],"RelatedEntities":[]} 

Edit: If I create a post create image instead of using the target image, then I get the formatted values. Looks like I'll be using a post image.

Thank you!

*This post is locked for comments

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: CRM Plugins - Entity Image Formatted Values

    I don't think the Target InputParameter populates FormattedValues. This would be extra performance overhead.

    I think that using entity images to get the data populates the FormattedValues, or if not you will need to use a separate Retrieve query to get the values.

    Hope this helps.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CRM Plugins - Entity Image Formatted Values

    Post Create Sync. I was using Target image initially. I tested a Post image and it returned formatted values.

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: CRM Plugins - Entity Image Formatted Values

    What Operation (Pre/Post) is your plugin using, and what type of Entity image are you using (Pre/Post)?

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans