I got tired of waiting for NetSuite to add auto-po...
# general
c
I got tired of waiting for NetSuite to add auto-portlet refreshing, so I built a Chrome extension that was released to the public by Google today. I know there are others similar in concept--this is just a slight improvement to those predecessors. It works on all
{youraccountid}.<http://app.netsuite.com|app.netsuite.com>
domained NetSuite accounts and it's free to use, no ads at all. It handles all NetSuite dashboard centers across your browser and targets every portlet, custom saved search, reminder and KPI chart. Intervals are 1 min, 2 min, 4 min and 8 min. https://chrome.google.com/webstore/detail/netsuite-portlet-refreshe/lfkblodbhmjgnbblmdbipdcggaaihbjc
❤️ 1
s
Does it refresh the page or just do a background refresh to keep the session alive? Either way, looks neat
c
I am utilizing Chrome's tab search function to search all active tabs for any that are a NetSuite Center containing elements by class ->
.ns-portlet-icon-refresh
. In other words, I am programmatically looking for the little refresh icon at each interval that you choose. Then I am having the script "click" refresh on each one.
To keep the user informed, I include a status bar that I inject into the page
s
Nice. Installed -- do you have to enable it on restart of chrome, or can I set and forget?
c
set and forget!
Note: when you clear your cookies, it will reset
s
Makes sense
💯 1
c
other than that it will stay on
r
Post saved! Thank you
c
Yay! Glad to be able to share the love (in the form of new tools, 😆)
s
I was wondering why this wasn't working, can you change the regex to just https:\/\/[^.]*\.app\.netsuite\.com ? The \d[...] Does not work for sandboxes or qa
c
As of now, correct it only works in production environment. Yep! Absolutely I’ll take a look
Thank you for the feedback
tested this in my account in sb
looks like your regex was a winner
s
excellent! 🙂
c
So, Google usually takes a few days to review and publish the updates
I am submitting now
it will be version 2023.05
s
Awesome, I'm in sandbox much more than prod, so that'll help a lot
c
sweet
what do you think about the intervals?
more, less.. longer?
s
They seem fine -- but I honestly haven't got any use yet to really know
c
okay got it
s
But, maybe you could add a "custom" option that asks for a integer? That can allow anything to work 🙂
c
hmm.. I will look into that
getting the first change sent for review now
are you a member of the NetSuite Users FB group? Trying to give you a nod in my post
I am adding that custom refresh interval you suggested
s
No, I don't social media 🤣 but thank you! Glad I could help
c
FYI, its live
Thanks again for the suggestions
s
Awesome. Can't wait to try it out. Will really help me out 😁