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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.