Support Required – Script Include Not Executing for External User Validation

Syed_Ahmed_636
Tera Contributor

Hello,

I have a scenario where external users are allowed to register through the portal. I’ve implemented a validation to check whether a user is attempting to register with an email ID that already exists in the system. If so, an error message should be displayed.

This logic is handled through a Script Include. However, since the Script Include requires a role to execute and external users don’t possess any roles, the script is not being triggered. We also attempted to assign the public role via a Script Include-level ACL, but it's still not functioning as expected.

Any guidance or support on how to enable execution of the Script Include for external users would be greatly appreciated.

Shruti
Giga Sage

Hi,

Can you please add below snippet in your script include and try again:

 

  isPublic: function() {

    return true;

  }, 

View solution in original post

Thanks @Shruti  for the support, Resolved the issue.