As previously mentioned, I’ve been consluting with a client on integrating and setting up some of the functionality they require with
their new NetSuite deployment. As with almost all SAAS solutions, NetSuite excels within it’s core competancy, but can cause issues
when trying to achieve functionality outside of this.
This is how we were able to implement browser automation to perform the automated setup of thousands of customer centers with which would
otherwise have taken weeks to do by hand and would have likely resulted in a higher rate of implementation errors.
The goal was to allow users to access account-specific information on my clients’s website using one login managed through NetSuite.
The best solution ended up using the built-in NetSuite outbound SSO to generate a unique link within NetSuite, and use that link to
authenticate against in our WordPress installation.
We setup a custom portlet within NetSuite that handled all of the link generation and display, and the logic within wordpress to accept
the verification data, and perform the handshake with NetSuite to pull the customer information.
Unfortunately, once this was done, we found out the only method to publish this portlet to the thousands of customer centers that the
users access, was to manually do it within a browser.
Below is the python script we wrote using the selenium library to automate a browser instance and do this for us.