Errors Related to the Available Without Login URL
Depending on your Suitelet's use case, you'll use either the internal or external URL as the starting point. The following are some factors that determine whether a Suitelet will successfully run:
-
Dependencies between the type of URL you are referencing (internal or external)
-
The Suitelet deployment status (Testing or Released)
-
Whether the external role Online Form User is selected in the External Roles field on the Audience subtab of the Script Deployment page.
To give internal users access, check the Select All box next to Internal Roles. To let external users who aren't logged in access the Suitelet, make sure Online Form User is selected in External Roles. Leave the other Audience subtab fields blank.
To be able to select the Online Form User role in the External Roles field, the Online Forms feature must be enabled. To enable the feature, go to Setup > Company > Enable Features. Click the CRM subtab, and check the Online Forms box in the Marketing section. The role might not be available after you enable the feature. If this happens, log out of NetSuite and then log in again to see the updated roles list.
The following table summarizes these dependencies:
|
Suitelet URL Type |
Deployment Status |
Audience Configuration |
Result |
|---|---|---|---|
|
internal |
Testing |
The current user is included in the selected audience. |
Suitelet executes successfully. |
|
internal |
Testing |
The current user is not included the selected audience. |
Suitelet executes successfully. |
|
internal |
Released |
The current user is not included the selected audience. |
Error message: You do not have privileges to view this page. |
|
internal |
Released |
The current user is included in the selected audience. |
Suitelet executes successfully. |
|
external |
Testing |
The current user is not included the selected audience. |
Error message: You are not allowed to go directly to this page. |
|
external |
Testing |
The current user is included in the selected audience. |
Error message: You are not allowed to go directly to this page. |
|
external |
Released |
External role Online Form User is selected. |
Suitelet executes successfully. |
|
external |
Released |
External role Online Form User is not selected. |
Error message: You do not have privileges to view this page. |