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

This widget could not be displayed.

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

This widget could not be displayed.
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.

This widget could not be displayed.

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
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

525 views 3 19
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