Page History
...
- In the Output type field, specify the format in which the query results should be presented. You can select XML, JSON or RDF. We will use XML for this tutorial.
- In the Grouped by element field, specify a grouping for all the output mappings. This will be the XML element that will group the query result. Enter Movies in this field.
- In the Row Name field, specify the XML element that should group each individual result. Enter Movie in this field.
- Click Add New Output Mapping to start creating the output mapping for the title column. Enter values as shown below:
- Click Add to save the output mapping. You will now have one output mapping listed for the GetMoviesbyGenre query as shown below.
Now, add the following output mappings:
Mapping Type Element Name Datasource Type Datasource Column Name Parameter Type Schema Type Element title Column title SCALAR string Element director Column director SCALAR string Element year Column year SCALAR string Element genre Column genre SCALAR string Element actor Column actor SCALAR string
...
Overview
Content Tools
Activity