PL-200 · Question #188
You create a new Power Apps portal Web template for the Account table. What tag do you use to query the table?
The correct answer is C. FetchXML. In Power Apps portals (now Power Pages), web templates use the Liquid templating language to render dynamic content. To query a Dataverse table from within a web template, you use the fetchxml Liquid tag (C), which accepts a FetchXML query string - the same XML-based query langua
Question
Exhibit
Options
- ASQL
- BWebAPI
- CFetchXML
- DRaw
- EOData
How the community answered
(49 responses)- A4% (2)
- B4% (2)
- C90% (44)
- D2% (1)
Explanation
In Power Apps portals (now Power Pages), web templates use the Liquid templating language to render dynamic content. To query a Dataverse table from within a web template, you use the fetchxml Liquid tag (C), which accepts a FetchXML query string - the same XML-based query language used throughout the Power Platform for Dataverse data retrieval. For example: {% fetchxml query %}...<fetch>...</fetch>{% endfetchxml %}. SQL (A) is not supported directly in portal templates. WebAPI (B) is used client-side via JavaScript, not in server-side Liquid templates. OData (E) is a protocol used via the Web API endpoint, not a Liquid tag. 'Raw' (D) is not a valid Liquid query tag for Dataverse.
Topics
Community Discussion
No community discussion yet for this question.
