exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 3 question 13 discussion

Actual exam question from Microsoft's PL-400
Question #: 13
Topic #: 3
[All PL-400 Questions]

HOTSPOT -
A company uses Dynamics 365 Sales and the Microsoft Online Services portal.
The multi-select OptionSet field data type is not supported in the portal.
You need to copy the selected field value to the text field.
How should you configure the Organization service request? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
michael_w999
Highly Voted 3 years, 4 months ago
The first box should be "false",because we only want published version
upvoted 21 times
Yuro
3 years, 3 months ago
description is not correct. true to have unpublished version. answer is correct
upvoted 2 times
...
datchattdude
3 years ago
I think that's why the parameter says "RetrieveAsIfPublished," with AsIf being the important part of that.
upvoted 1 times
vgrade
2 years, 9 months ago
https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveattributerequest.retrieveasifpublished?view=dynamics-general-ce-9 https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveattributerequest.retrieveasifpublished?view=dynamics-general-ce-9 As per docs If you are creating an attribute editor you will need to retrieve entity data that has been saved but not published. For other scenarios you will want to only retrieve published metadata. Set this value to true to include unpublished changes, as it would look if you called publish. Set this value to false to include only the currently published changes, ignoring the changes that haven't yet been published.
upvoted 2 times
...
...
...
Shrimp
Highly Voted 3 years, 5 months ago
correct
upvoted 10 times
...
Juan0414
Most Recent 3 months, 2 weeks ago
Based on: https://learn.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveattributerequest.retrieveasifpublished?view=dataverse-sdk-latest#property-value "true if the metadata that has not been published should be retrieved; otherwise, false." So, we should be working with published version only, then answer for the first one is false. Second one is ok. AttributeMetadata: https://learn.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveattributeresponse?view=dataverse-sdk-latest#properties
upvoted 1 times
...
loftuscheek
4 months ago
false , attribute metadata
upvoted 1 times
...
jkaur
10 months, 2 weeks ago
false attribute metadata
upvoted 2 times
...
Samdoi
11 months, 1 week ago
First is "False" https://learn.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveattributerequest.retrieveasifpublished?view=dataverse-sdk-latest
upvoted 1 times
...
No_Doubt
1 year, 7 months ago
true if the metadata that has not been published should be retrieved; otherwise, false. In our case, we definitely need to retrieve published metadata, so answer is "FALSE" Don't forget that we are using this data in a portal, and it doesn't make sense to rely on a nonpublished data! This is against the data integrity concept!
upvoted 3 times
...
MarioM
1 year, 9 months ago
false; attribute metadata
upvoted 1 times
...
fihemal249
2 years, 6 months ago
Second answer is correct (only option possible) according to: https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveattributeresponse?view=dynamics-general-ce-9
upvoted 1 times
...
fihemal249
2 years, 6 months ago
I understand you need to copy a field selection to a text field on a form. So the selection is not published yet. So you need to set the parameter to true.
upvoted 2 times
...
vgrade
2 years, 9 months ago
1st one should be false, below is what docs says. Set this value to true to include unpublished changes, as it would look if you called publish. Set this value to false to include only the currently published changes, ignoring the changes that haven't yet been published. https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveattributerequest.retrieveasifpublished?view=dynamics-general-ce-9
upvoted 2 times
...
Sou
3 years ago
Answer is correct. https://docs.microsoft.com/en-us/powerapps/developer/data-platform/best-practices/work-with-metadata/retrieve-published-metadata
upvoted 3 times
...
CDDT
3 years, 2 months ago
The first should be "false": only published data, data integrity and more secure. What happen I retrieve unpublished data on a public Web Page?!
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...