Basically, I'm looking to implement a 'call home' ...
# suitescript
d
Basically, I'm looking to implement a 'call home' system where the SuiteApp will call out to validate a license. Super light weight
r
you need to write a SS that checks a suitlet in your SND or HOME ACCOUNT. Normally check evey night. and if the lic has expired you disable your suiteapp on the account.
So you need to think the APP calls home and checks rathan than trying to disable it from outside
e
☝️This is what I did. I have a custom record that manages the licenses in my home account and my app calls home. Some functionality gets turned off if the license expires.
d
Yep. That's what I did too. Until the suiteapp was so popular it overran governance. Then, NetSuite sees the traffic and indicates we violated SDN agreements and asked us to change that model
r
maybe reduce the frequency of checking or pick a random hour to check,, yeah i guess if EVERY APP calls home and the same time.. it will look like a DOS attack or something.... #ETCALLHOME
d
That's an interesting concept to call home once a day, and set some hidden value on settings. At one point, I had a library that I dropped into multiple functions within the application to call home, but that caused some issues. It'd be interesting to have that library basically just point at the hidden value on settings to check, and the settings just get updated periodically.
e
@darrenhillconsulting I use WooCommerce subscriptions and their API manager for some of my non NS products, works well enough. Might be an option.
s
@darrenhillconsulting so netsuite doesn't have an offering to solve this after all?
j
I'm curious and I haven't done a SuiteApp personally but wouldn't the license check be from one Oracle network to another. It just seems odd for a cloud service company to want to encourage you to not hold information in their ecosystem.
s
I don't know for sure, but I don't think Oracle is that organized in regards to NetSuite (yet)
d
No, nothing from NetSuite to help this
s
bummer. This is something that should come from Oracle IMHO for a few reasons.
They have this for their own suiteapps