Restriction on Query within WebApp
Hi All,
I have created a WebApp, and need to know the folderName and folderId details, where the WebApp exist.
As those details are available in the nms:webApp schema, along with other linked schema, I am trying to query them in JS acitivity of our WebApp.
I tried hardcoding the formName value to the webapp internal name. In all the cases the query returns blank. Not even empty XML is returned. Are there any restrictions on query with WebApp
var formName = this.internalName;
var query = xtk.queryDef.create(
<queryDef schema="nms:webApp" operation="select">
<select>
<node expr="[folder/@id]" alias="@folderId" />
<node expr="[folder/@name]" alias="@folderName" />
</select>
<where>
<condition expr={"@internamName ='"+formName+"'"} />
</where>
</queryDef>).ExecuteQuery();
logInfo(query)
Regards,
DG

