PL-100 · Question #63
You are creating a canvas app. You plan to use variables that are scoped to a screen to store values. You need to create and update the value of the variables. Which three functions can you use?…
The correct answer is B. Patch C. Navigate E. UpdateContext. Both "Set" and "Collect" are for application scope, so they are no correct answers here. For context variables, you use "Update", "Navigate" or even "Patch" to create or update this type https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function- - To…
Question
Options
- ACollect
- BPatch
- CNavigate
- DSet
- EUpdateContext
How the community answered
(34 responses)- A9% (3)
- B71% (24)
- D21% (7)
Explanation
Both "Set" and "Collect" are for application scope, so they are no correct answers here. For context variables, you use "Update", "Navigate" or even "Patch" to create or update this type https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function- - To create or update a context variable, pass a single record to the UpdateContext function. - If you want to define a context variable on one screen and modify that variable from another screen, you must build a formula that's based on the Navigate function. - Works with the Patch function to update the Person context variable by setting the value of the Address column to 2 Main St.
Topics
Community Discussion
No community discussion yet for this question.