You plan to populate records in a Common Data Service entity containing an option set field.
The source system has the label for the option set but not the corresponding integer value.
You are using a non .NET programming language.
You need to find the integer value for the option set.
What should you do?
Suggested Answer: B
Get Premium PL-400 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
You can retrieve a global choice (option set) by name (label) using the RetrieveOptionSetRequest message.
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/org-service/metadata-option-sets
12 comments · newest first
BE
Berry
11 months ago
I’m surprised there’s no direct way to get the integer from just the label!
MA
Margurite
11 months ago
Definitely B, it’s the most reliable method for this.
DE
Denny
12 months ago
Wait, does anyone actually use the Organization service anymore?
RE
Remedios
12 months ago
I think A could work too, but B seems more straightforward.
JO
Jolene
1 year ago
Option B is the way to go for retrieving option set values!
HA
Han
1 year ago
I remember that the InsertOptionValue action is for adding new values, not retrieving them, so I think that option can be ruled out.
KI
Kimbery
1 year ago
I’m a bit confused about whether to use the RetrieveOptionSetRequest or the RetrieveAttributeRequest. They both sound relevant, but I can't recall the exact differences.
SH
Shawnee
1 year ago
I feel like we practiced a question similar to this where we had to retrieve option set values, and I think it was about using the Organization service.
MI
Miesha
1 year ago
I think I remember that using the Web API is a common approach for retrieving metadata, but I'm not sure if it's the PicklistAttributeMetadata request or something else.
IZ
Izetta
1 year ago
I'm not sure a marketing campaign and product roadmap are the best approach here. The question is specifically asking about improving the health index, so I need to focus on the internal metrics and customer experience rather than external promotion.
LE
Lemuel
1 year ago
I feel pretty confident about this one. The key is that the question is specifically asking about making decisions based on a realistic understanding, so the answer has to be something related to that. "See the whole" seems like the best fit.
LO
Lorrine
1 year ago
Hmm, I'm a bit confused by all the different cash flows and investments mentioned. I'll need to carefully map out each one to make sure I don't miss anything.