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.
Cheers,
Nicolas

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.

Thanks.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

38 views 0 3
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