exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 5 question 12 discussion

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

HOTSPOT -
A company has a model-driven app that captures applications from prospective students.
You are asked to create a new re-usable custom component using the Power Apps component framework (PCF).
The custom component must allow entry of a date of birth and validate that the applicant is not a minor.
You create the class AdultDatePicker in the TypeScript file Index.ts and the style sheet DatePicker.css.
You need to define the component to be available only for relevant fields and its properties when used in a form.
How should you complete the manifest? 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: AdultDatePicker -
Constructor: Constructor of the code component.

Box 2: DateandTime.DateOnly -
Date Only - No Time zone conversion.
The time portion of the value is always 12:00AM.
The date portion of the value is stored and retrieved as specified in the UI and Web services.

Box 3: bound -
usage: Has two properties, bound and input. Bound properties are bound only to the value of the field. Input properties are either bound to a field or allow a static value.
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/manifest https://docs.microsoft.com/en-us/powerapps/developer/component-framework/implementing-controls-using-typescript https://docs.microsoft.com/en-us/power-apps/maker/data-platform/behavior-format-date-time-field

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
Juan0414
3 months, 3 weeks ago
Correct! AdultDatePicker (Class name) DateandTime.DateOnly (Only date is needed for birthdate) Bound (The property should be bound to a field - date of birth)
upvoted 1 times
...
sjd1
8 months ago
correct , was in exam 04/2024
upvoted 2 times
...
Jett27
1 year, 7 months ago
The usage property identifies if the property is meant to represent a column that the component can change (bound) or read-only values (input)
upvoted 3 times
...
RexinCP
2 years ago
I think this is correct?
upvoted 1 times
Imagar
2 years ago
seems like yes
upvoted 1 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 ...