Hey All. I have a general question about how every...
# suiteql
j
Hey All. I have a general question about how everyone here saves and accesses queries they write for suiteQL. I'm using Tim's suiteQL Query Tool and would like to access my queries in an easy way, such as his "remote library". I see that he's pulling them from AWS. Is anyone doing something similar? It would be nice to same my queries in file cabinet, but i'm up for any solution that makes sense. Thanks!
e
You can save them to the FileCabinet, then access the queries from the "Local Library" button. I think you need to set the folder internal id in the suitelet to be available.
👍 1
w
I usually create queries to be used in scripts. So when I'm done, they are stored in the scripts themselves. However, I also created this https://github.com/watzen/NS-SuiteQL-Reporter if one needs to run a query often.
💪 1
1
n
https://chromewebstore.google.com/detail/suiteadvanced-for-netsuit/eambkjlkacecjilgcdmicbpnhkfhdiee?pli=1 You could also look into getting the SuiteAdvanced plugin. Burkybang (the dev) recently added a way to run SuiteQL in the browser and save commonly used queries amongst hundreds of other features that make using NetSuite better. Bonus: Dark mode
suiteadvanced 1
this 1
🤘 1
j
I wrote my own Query Runner tool, and it by default saves your query (in a custom record). You can untick saving it.
allows you to quickly run a previous query
j
wow, interesting comments so far! everyone has a different, yet intriguing solution.
j
my tool looks like this
apartyblob 1
j
Nice Jen!
@Watz Looks like a nice tool you created. I assume it creates custom records for your sql code. Is there an easy way to load existing saved queries? I'm heading out for the day, but will check this out. Cheers!
w
Each query is it's own custom record instance that is globally searchable. Editing the record allows you to update the query. Viewing the record shows the result of the query.
d
I really liked that approach Watz (editing and running the query via the same custom record. As opposed to doing something like a custom record for editing, and a suitelet for running)