Question 43 of 130 from exam PL-400: Microsoft Power Platform Developer

Question 43 of 130 from exam PL-400: Microsoft Power Platform Developer

Question

You create a canvas mobile app using a SharePoint list as a data source.

The name of the list is Equipment.

You add offline capabilities to App's OnStart code:

If (STO. connected,

ClearCollect(LocalEquipment, Equipment);
Set(statusText, "Online"),
TS (LocalEquipment, "LocalEquipment", true);
Set(statusText, "Local")
3
Storm LocalEquipment, "LocalEquipment") ;

Please select the correct statement for the SLOT1, SLOT2, and SLOT3.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E. F. G.

Correct Answer: F

The OnStart formula statement defines the following app's behavior.

When the app is connected (Connection.Connected is True), it clears the LocalEquipment Collection and loads the data from the Equipment SharePoint list.

If there is no connection, the app loads the data (LoadData) from the LocalEquipment Collection.

And then, the app refreshes the data (SaveData) in the LocalEquipment Collection.

$$ Power Apps

File Home _ Insert View

[| New screen v 4a Theme v Open Sans 21
OnStart Vv = fey If( Connection.Connected,
ClearCollect(LocalEquipment, Equipment);
= ‘Tree view x Set(statusText, "Online"),
LoadData(LocalEquipment, “LocalEquipment", true);
iE Screens Components Set(statusText, "Local")
| D Search i
aL SaveData(LocalEquipment, "LocalEquipment");
il
tr App
ae) © BrowseScreen1 a =

= Format text Remove formatting

poy

All other options are incorrect.

For more information about the offline capabilities of the canvas apps, please visit the below URLs: