Canvas Apps Flashcards
7 cards from real PL 400 practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Canvas Apps flashcards as text
A Canvas App uses a custom connector. The connector requires an API key passed as a header. Where is this configured?
Answer: In the custom connector's security definition and connection setup
Custom connector authentication, including API key headers, is configured in the connector's Security section and provided when creating a connection.
What does the ForAll() function do in Canvas Apps when used with Patch()?
Answer: Iterates over a table and performs Patch on each record in bulk
ForAll(collection, Patch(DataSource, {fields})) performs a bulk operation by running Patch for every row in the collection.
In Canvas Apps, which property of a Gallery control determines what record is passed to sub-screens when a gallery item is tapped?
Answer: Gallery.Selected
Gallery.Selected holds the currently selected record and is used to pass record context when navigating from a gallery to a detail screen.
When a Canvas App Form control's Mode is set to FormMode.New, what does SubmitForm() do?
Answer: Creates a new record in the connected data source
In New mode, SubmitForm() creates a new record in the data source using the values entered in the form's fields.
A Canvas App must display error messages from a failed SubmitForm() call. Which property contains the error details?
Answer: Form.Error
The Form control's Error property contains a human-readable error message from the last failed submit operation.
Which Canvas App function converts a UTC datetime value to the device's local time zone for display?
Answer: DateAdd(UTCValue, TimeZoneOffset(Now()), Minutes)
DateAdd() combined with TimeZoneOffset() adjusts a UTC datetime by the local offset in minutes to display local time.
In a Canvas App, you need to sort a gallery by a date column descending. Which Items formula is correct?
Answer: SortByColumns(DataSource, "DateColumn", SortOrder.Descending)
SortByColumns() accepts the column name as a string and a SortOrder enum value, making it the correct delegable sort function for Canvas Apps.