문제

I am totally new to CRM. I am doing a code review.

The code is comparing value of Microsoft.Xrm.Sdk.OptionSetValue.Value with 100000002.

I believe, 100000002 represents whether the Sales Order is completed (or some other state for Sales Order). I want to know from where can I find the values for Microsoft.Xrm.Sdk.OptionSetValue.Value?

I mean to ask from where can I get valid set of values for Microsoft.Xrm.Sdk.OptionSetValue.Value?

Thanks in advance!

도움이 되었습니까?

해결책 3

I found this one helpful too (for searching manually):

http://social.microsoft.com/Forums/en-US/ddcc3b05-b5a2-49a1-9555-152ad6134604/crm-reporting-where-are-attribute-picklist-values-stored?forum=crmdevelopment

(Refer answer by DavidJennaway.)


I searched for StringMap in my system and got the file in the workspace which contained all the values.

다른 팁

If you want to do it programatically you can follow this answer: https://stackoverflow.com/a/23354017/394978

If you want to do it visually you can follow this answer: https://stackoverflow.com/a/22106272/394978

There are two basic ways, through the SDK call, or creating early bound types.

See this answer Dynamics CRM - Accessing Custom Product Option Value for accessing it through the SDK Call.

For actually creating early bound types, use this: https://xrmearlyboundgenerator.codeplex.com/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top