exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 6 question 12 discussion

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

HOTSPOT -
A company uses Dynamics 365 Sales.
You need to configure the customer lookup search for email activity in the canvas app.
How should you complete the expression? 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:
Box 1: IsBlank -
The IsBlank function tests for a blank value or an empty string. The test includes empty strings to ease app creation since some data sources and controls use an empty string when there is no value present.

Box 2: IsType -
The IsType function tests whether a record reference refers to a specific table type.

Box 3: AsType -
The AsType function treats a record reference as a specific table type, sometimes referred to as casting. You can use the result as if it were a record of the table and again use the Record.Field notation to access all of the fields of that record. An error occurs if the reference isn't of the specific type.

Box 4: AsType -
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-isblank-isempty https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-astype-istype

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
Aryabhatta
Highly Voted 2 years, 4 months ago
If(IsBlank(ThisItem.'Company Name'),"",IsType(ThisItem.'Company Name',[@Accounts]),"Account:" & AsType(ThisItem.'Company Name',[@Accounts]).'Account Name',"Contact:" & AsType(ThisItem.'Company Name',[@Contacts]).'Full Name')
upvoted 7 times
...
Juan0414
Most Recent 3 months, 3 weeks ago
Correct!
upvoted 1 times
...
Panda01
1 year, 4 months ago
given answer is correct same example given in this link https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-astype-istype#example
upvoted 4 times
mattymecubic
8 months, 3 weeks ago
code from the link: If( IsBlank( ThisItem.'Company Name' ), "--", IsType( ThisItem.'Company Name', Accounts ), "Account: " & AsType( ThisItem.'Company Name', Accounts ).'Account Name', "Contact: " & AsType( ThisItem.'Company Name', Contacts ).'Full Name' )
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 ...