Can the PlaySQL plugin be configured to work more like a live search that searches a datasource?

I was wanting to be able to search an element (column) within a database. So instead of a user typing out a full select statement all they would need to do is enter an element(attribute) like Element_Name and it would query the element name from a database. This is so a none technical user would be able to search attributes in a database. Pretty much it would function similar to a live search but instead of searching within confluence it will search a connected oracle datasource.

3 answers

1 accepted

I've just released Play SQL 1.2.0 to make this feature available. I've designed it so you can ask users for a parameter:

User Parameters

There are more explanations available on the blog post: Dynamic User Parameters

Exciting suggestion! So you would want a field above the table, which you could use as query parameter. I can see how useful it could be. It's not yet possible in Play SQL but I'll see whether I can do something and I'll post the answer here.

This would complete the needs for management. We are moving our Wiki into confluence and in our previous Wiki environment we had an application called the Element Data Dictionary where users would query an element from a database to get its definition. The code for this application was written in ASP classic which is not compatable with confluence currently our only major road block.

Since the version 1.1.0, you can select "Generic Datasource" when your database is neither HSQL nor Postgres. Here is a blog post about How to Connect Play SQL with an Oracle Database. I've tried it and it works, but the following advanced functions will be disabled:

  • Table and Column name autocomplete in the SQL editor,
  • It could happen that I don't notice other minor bugs, so please send me a bug report when it happens.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


219 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you