Dear All,
I have a look up field for states now when I need to set value for it I have to have guid for that state.
Liek this: account.Attributes["state"] = new EntityReference("State", new Guid("B4C2A9D2-9D4A-YYYY-XXX-12B796D1D7F2"));*/
Now my question is I don't know guid for each state, what is the best way to retrieve it from CRM?
Thx
*This post is locked for comments
I have the same question (0)