Question 46
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 AuditDatePicker 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:
Correct Answer:
Box 1: AuditDatePicker –
Constructor: Constructor of the code component.
Box 2:DateandTime.DateOnly –
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