Integrate Software AG Products Using Digital Event Services : MashZone NextGen Help : Appendix : Legacy Presto components : Mashables and Mashups : Mashups in EMML : Advanced Mashup Techniques : Using the Built-in Mashup Query Web Service : User Metadata Queries
User Metadata Queries
There are two user metadata queries you can make:
*Query for all <user-meta> commands in a specific mashup. You supply the mashup name as a parameter.
*Query for all<user-meta> commands that match a condition (an XPath expression) in a specific mashup. You supply the mashup name and the XPath expression.
Find All User Metadata Requests
Service Name
JEMSServiceHelper
Operation Name
getUserMetadata
Parameters
A single string parameter that is the name of the mashup for the query.
Find Specific User Metadata
Service Name
JEMSServiceHelper
Operation Name
getUserMetadata
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 <user-meta>, with the condition to select specific user metadata. Typically, this condition matches the <user-meta> name. For example:
@name ="myMeta"
User Metadata Query Results
The default JSON response for user metatdata queries is in this form:
"response":"{
"serviceMetadata": {
"user-metas":[
{"myMeta":"some value"},
...
]
}
}
In XML format, the result is a document in this form:
<serviceMetadata>
<user-metas>
<!-- list of all matching commands -->
<user-meta name="myMeta">some value</user-meta>
...
</user-metas>
</serviceMetadata>
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback