I have a requirement to show a text webitem for one query and not for any others in bex web. The simple solution would be to create a new web template for this query. But the option i am looking into is if there is a way to show this web item in 0ANALYSIS_PATTERN web template only when this query is selected after the user clicks the new anaylsis button and query is selected from the dialog window.
In theory i think this should work using javascript if / else but the issue im running into is try to find how the query name is being transfered from that selection dialog to the empty data provider in the web template. Then i could say if queryXXX then show webitem else hide.
Any help would be great.