I am trying to wirte a dynamic query inside an HTML descriptor using [Collection].
My old code is:
[Collection = MyQuery]
I am looking to have something like the following:
[Collection = "Select [Business Process] where ......"]
<script> var dQuery = "Select [Business Process] Inherited Where [Organizational Process].[Short Name] = " + [Property=ShortName/];
Any other suggestions are appreciated.
Thanks in advance.
Solved! Go to Solution.
Asuming that you are developing for the static website - the query becomes 'dynamic' based on the object that you have selected.
You can use either the MetaAssociationEnd name to make the reference for example:
or the entire query - if you should use some additional filtering
[Collection="Select [Business Process] Where [Organizational Process] in &name And ..."]