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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Missing Attribute from entity

(0) ShareShare
ReportReport
Posted on by 195

Hi i try to get Attribute from entity but i don't why there is lot missing  field from entity attribute, when i try to get entity from IORGANTIONSERVICE there is 14 attribute counts, but why when my attribute from Entity 

Entity entity = (Entity)context.InputParameters["Target"];

I'm only get 5 attriubte, there is alot missing attribute that i want try to get for my validation

 i want to get credit rating using this var postRating = ((OptionSetValue)entity.Attributes["ita_creditrating"]).Value; , but it keeps tell me The given key was not present in the dictionary , why my entity not get all field there ? 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi,

    Could you check whether you are passing all attributes or not in the filtering attributes option in plugin registration tool.

    docs.microsoft.com/.../include-filtering-attributes-plugin-registration

  • Keysersozeey Profile Picture
    195 on at

    wow thanks, you're rock. Thanks agaian i don't know if i need to select the filtering attribute to get the attribute from entity

  • Keysersozeey Profile Picture
    195 on at

    can i ask a question again why i cant get the money attribute from entity using this  var postValue = ((Money)entity.Attributes["ita_creditlimit"]); , i don't know why the postValue will always null , eventough when i look on attribute there a value on it . Thanks in Advance

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans