Hello,
i want to make a SQL query(with SQL Pro plugin) which depends on the site Title.
something like this:
select hostname, dbname from hosts where hostname like SiteTitle;
Is that possible?
Thanks in advance.
Hello @André Stefaniak,
You could be doing the following:
{run:autorun=true|hideParameters=true|hideRun=true|replace=first:$page_title}Where 'ConfluenceDS' is the name given to the DataSource configuration.
{sql:datasource=ConfluenceDS}
select hostname, dbname from hosts where hostname like '$first'
{sql}
{run}
Kind regards,
Rafael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.