What do you mean by easy accesses, <@U0107BW2DK4>?...
# general
n
What do you mean by easy accesses, @Dowen Robinson? You can make a suitelet external, so that you don't need to be logged in, in order to use it. You can also make the Suitelet Execute under any role you like, such as administrator. That way, any one can run the suitelet and execute all functionalities. Are either of these, what you are asking about?
d
Thanks for the quick reply @nzaleski I really appreciate it. I don't want to make it external. Due to certain limitations in Netsuite, we've opted to recreate a record form using a suitelet. This allows us to do certain things that a normal form doesn't. The problem I'm facing now is I would like the user to be able to access our suitelet form the same way they did the default form Netsuite provides. Does that make sense? If anything is unclear, I'd be happy to clarify.
n
Sounds like maybe you would like to create a link so that when people click like "Create Sales Order" in the menu, it would take them to the Suitelet?
Or if that is not correct, how would you like the user to navigate to the Suitelet form?
d
You have the right idea but I wouldn't call it a link. When creating a record the tradition way, a user would click a button similar the one shown in the photo below. I would like the user to go through the same process.
n
So when you click button you just have it redirect to the internal suitelet url. You can open a new tab or window or redirect the current page to that
d
Would this be possible with a beforeLoad event?
Sorry if that seems like a basic suitescript question.
n
So I think usually it would be a before load that creates the button and loads a client script. the when they click the button (from the before load) it calls client side script. the client side suitescript then opens the url for the suitelet