‎14-09-2015 01:44 PM
Hello,
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 ......"]
or
<script> var dQuery = "Select [Business Process] Inherited Where [Organizational Process].[Short Name] = " + [Property=ShortName/];
[Collection=dQuery]
..........
Any other suggestions are appreciated.
Thanks in advance.
Solved! Go to Solution.
‎28-09-2015 11:27 AM
Hi Sajam,
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:
[Collection="Business Process"]
or the entire query - if you should use some additional filtering
[Collection="Select [Business Process] Where [Organizational Process] in &name And ..."]
‎14-09-2015 03:27 PM