nerdexam
Microsoft

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

Create apps by using Microsoft Power Apps

Question

You create a new Power Apps portal Web template for the Account table. What tag do you use to query the table?

Exhibit

PL-200 question #188 exhibit

Options

  • ASQL
  • BWebAPI
  • CFetchXML
  • DRaw
  • EOData

How the community answered

(49 responses)
  • A
    4% (2)
  • B
    4% (2)
  • C
    90% (44)
  • D
    2% (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

#Power Pages#Liquid templates#FetchXML#Dataverse queries

Community Discussion

No community discussion yet for this question.

Full PL-200 Practice