ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 1 - PL-100 discussion

Report
Export

You need to set the value for a global variable named RunningTotal to 5 and navigate to the previous screen named MainScreen. Which formula should you use?

A.

UpdateContext( { RunningTotal: 5 } ); Navigate( MainScreen,

ScreenTransition.Cover, RunningTotal );

Answers
A.

UpdateContext( { RunningTotal: 5 } ); Navigate( MainScreen,

ScreenTransition.Cover, RunningTotal );

B.

If( Value(TextBox1.Text) >= 0, (Set( RunningTotal, 5);

Back();), Color.Green )

Answers
B.

If( Value(TextBox1.Text) >= 0, (Set( RunningTotal, 5);

Back();), Color.Green )

C.

UpdateContext( { RunningTotal:5 } ); Back()

Answers
C.

UpdateContext( { RunningTotal:5 } ); Back()

D.

Set( RunningTotal, 5 ); Back();

Answers
D.

Set( RunningTotal, 5 ); Back();

Suggested answer: D

Explanation:

You set the value of the global variable with the Set function. Set( MyVar, 1 ) sets the global variable MyVar to a value of 1.

Use the Back and Navigate function to change which screen is displayed.

Reference:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/working-with-variables

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-navigate

asked 05/10/2024
Clive Roberts
47 questions
NextNext
User
Your answer:
0 comments
Sorted by

Leave a comment first