Appendix : Legacy Presto components : Mashables and Mashups : Mashups in EMML : Advanced Mashup Techniques : Using the Built-in Mashup Query Web Service : Business Analytics Metadata Queries
Business Analytics Metadata Queries
There are two Business Analytics metadata queries you can make:
*Query for all <presto:presto-meta> statements in a specific mashup. You supply the mashup name as a parameter.
*Query for all <presto:presto-meta> statements that match a condition (an XPath expression) in a specific mashup. You supply the mashup name and the XPath expression.
Find All Business Analytics Metadata as a Mashup
Service Name
JEMSServiceHelper
Operation Name
getPrestoMetadata
Parameters
A single string parameter that is the name of the mashup for the query.
Find Specific Business Analytics Metadata with Business Analytics Connect APIs
Service Name
JEMSServiceHelper
Operation Name
getPrestoMetadata
Parameters
1. A string parameter that is the name of the mashup for the query.
2. A string parameter that is an XPath expression, relative to <presto:presto-meta>, with the condition to select specific Business Analytics metadata. Typically, this condition matches the <user-meta> name. For example:
@name ="cache"
Business Analytics Metadata Query Results
The default JSON response for Business Analytics metatdata queries is in this form:
"response":"{
"serviceMetadata": {
"presto-metas":[
{"cache":"true"},
...
]
}
}
In XML format, the result is a document in this form:
<serviceMetadata>
<presto-metas>
<!-- list of all matching commands -->
<presto-meta name="cache">true</presto-meta>
</presto-metas>
</serviceMetadata>
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback