exam questions

Exam MB-400 All Questions

View all questions & answers for the MB-400 exam

Exam MB-400 topic 5 question 4 discussion

Actual exam question from Microsoft's MB-400
Question #: 4
Topic #: 5
[All MB-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 PowerApps 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 -
Specify the implemented class.

Box 2: DateandTime, DateOnly -
The custom component must allow entry of a date of birth and validate that the applicant is not a minor.
DateOnly is enough.

Box 3: input -
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/component-framework/implementing-controls-using-typescript

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
hdjd333
Highly Voted 4 years, 10 months ago
The requirement is "You need to define the component to be available only for relevant fields and its properties when used in a form", than means it shouldn't allow a static value to be entered, so usage should be "bound".
upvoted 9 times
mgharably
4 years, 9 months ago
I guess the answer is bound check property element part in this: https://d365spartan.wordpress.com/2019/08/07/pcf-exploring-controlmanifest-file-in-detail/
upvoted 1 times
...
...
wwaki
Most Recent 4 years, 4 months ago
Is should be usage = bound, input is for read only
upvoted 2 times
...
jkaur
4 years, 4 months ago
The given answer is correct
upvoted 2 times
...
Karlomanio
4 years, 5 months ago
I agree. It needs to be bound, not read-only. This site explained it well to me: https://bguidinger.com/blog/custom-controls-framework-part-2
upvoted 1 times
...
Sleipnir75
4 years, 6 months ago
According to https://docs.microsoft.com/en-us/powerapps/developer/component-framework/implementing-controls-using-typescript The attribute identifies if the property is meant to represent an entity attribute that the component can change (bound) or read-only values (input). If I understand well it means if the component can change or not the value. In this case the component should not be allowed to change the value, so I think that Input is correct.
upvoted 1 times
...
mgharably
4 years, 9 months ago
Microsoft documentation has two answers :\ here => read-only values (input) https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/property#available-for And here => "Input" are either bound to a field or allow a static value. https://docs.microsoft.com/en-us/powerapps/developer/component-framework/implementing-controls-using-typescript#implementing-manifest
upvoted 1 times
...
sanharshu7
4 years, 10 months ago
AdutDatepicker DateAndTime,DateOnly (time not requried here) bound (input is for read-only values) https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/control https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/property
upvoted 2 times
...
TaiH
4 years, 10 months ago
The last one should be bound.
upvoted 1 times
...
edy
4 years, 11 months ago
usage shd be 'bound' 'input' is read-only
upvoted 1 times
rafilks
4 years, 10 months ago
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. https://docs.microsoft.com/en-us/powerapps/developer/component-framework/implementing-controls-using-typescript So ... input is OK
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago