CSV Table Export Macro -- Specifing Export File Name

Is there any way to specify the name of the csv file that is created when exporting a table?  Currently it appears that the only name is "table.csv".  This causes problems in sql as "SELECT * FROM TABLE" (as table is a reserved word).  Additionally without any way for the user to specify a name, you wind up with table.csv, table(1).csv, table(2).csv, etc.

Using the id parameter would certainly be one way to handle this without needing to create additional parameters, although this doesn't address saving the table multiple times.  For example appending a timestamp.

Perhaps there is another macro that can surround the CSV Table Export macro.

Any help would be appreciated.

Thanks,

2 answers

Sorry I did not realise, I had to add this tag to my watchlist to get notified about questions.

I added a checkbox that enables you to select the table-id as filename. So check it out if you want and tell me if it works wink

And thank you very much for your feedback.

 

Ok it seems not to work on most instances. But I am working on it,

Should work now smile

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

176 views 0 4
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