nerdexam
Microsoft

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…

Create business solutions

Question

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? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

Options

  • ACollect
  • BPatch
  • CNavigate
  • DSet
  • EUpdateContext

How the community answered

(34 responses)
  • A
    9% (3)
  • B
    71% (24)
  • D
    21% (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

#Power Apps#Canvas Apps#Variables#Screen Scope

Community Discussion

No community discussion yet for this question.

Full PL-100 Practice