Welcome to the Alloy Ideas Portal đź‘‹ Here, you'll be able to browse improvement ideas raised by our community, vote on ideas you agree with or even raise your own ideas. We review all ideas raised and we endeavour to respond to all raised ideas.
Any ideas submitted will be immediately visible on the portal for others to vote on, please do not include anything in your ideas you do not wish to be shared with others.
Hi Jonathan
I have just tried this and this exactly what I needed. Now I can build full data explorer queries within a stencil.
Thanks
Paul
Hi Paul,
While we will look at changing the behaviour of the AQS Query Stencil Control to help this, I have a workaround that can help you with this in the meantime.
There are two different types of AQS query, a
Query
and aJoin
. The AQS builder behaves slightly differently depending on which is selected. Queries tend to focus just on a single Design or Design Interface. In contrast, Joins let you, as the name would suggest, join multiple Designs or Design Interfaces together in the resulting dataset. In most cases, these two different Query types are interchangeable.In the scenario you are describing, the AQS builder is defining a
Query
and therefore only allowing you to add attributes that are present on your target Design or Design Interface, but by changing this to aJoin
will allow you to define linked attributes to display. You can achieve this by changing the AQS itself:In the AQS builder, click the code button to bring up the Advanced Query Editor
Change the value next to
"type":
to"Join"
Click Done then when you click the root node in the AQS builder and select Attributes, you'll be presented with the Path Finder instead of just a pick list.
Hope this helps until we can make the change to this behaviour. Do let me know if you have any questions.