MB-500 · Question #335
MB-500 Question #335: Real Exam Question with Answer & Explanation
The correct answer is C. UIBuilder. To achieve this behavior, you need a custom UIBuilder class associated with your SysOperation batch class. In the UIBuilder's build() method, you can add custom logic to set the date picker to today's date when the checkbox is selected and make the date field dependent on the che
Question
Options
- AService
- BController
- CUIBuilder
- DContract
Explanation
To achieve this behavior, you need a custom UIBuilder class associated with your SysOperation batch class. In the UIBuilder's build() method, you can add custom logic to set the date picker to today's date when the checkbox is selected and make the date field dependent on the checkbox's 1. Create a UIBuilder Class: Create a class that extends SysOperationUIBuilder and associate it with your data contract class using the SysOperationContractProcessing attribute. 2. Override the build() Method: In your UIBuilder class, override the build() method. 3. Add Logic to Set Date: Inside the build() method, add code to interact with the controls on the Get a reference to the dialog form control for the date field. Get a reference to the dialog form control for the checkbox. Use the addBefore or addAfter methods to add a new control or modify an existing one. Implement logic that, when the checkbox's value changes, sets the date field to today's date if the checkbox is checked, or clears it otherwise. https://download.microsoft.com/download/A/1/E/A1EC8BED-1187-4F9C-8C84- 02431316F458/Introduction%20to%20the%20SysOperation%20Framework.pdf
Community Discussion
No community discussion yet for this question.