Service Portal - External Registration Widget

Vismit Ambre
Giga Guru

Hi Everyone,

I have a requirement to modify and utilize the OOB External User Registration widget behavior. As of now, I have cloned the Registration Request Widget. However, while testing - I always get an error message:

find_real_file.png

I noticed that there is a URL (endpoint) that is being accessed by the client controller when I click on Sign Up, which is as below (/api/now/externaluser/register) :

find_real_file.png

While I understand that this is the resource that I will have to modify/update if I need to have some customizations done to the registration functionality, I am not really sure about how to access this resource.

 

If anyone has had a similar functionality to implement and/or come across this error & had it fixed, please let me know.

 

Thanks in advance!

Vismit

 

 

1 ACCEPTED SOLUTION

Unfortunately, there was nothing available off hand, I had to build it completely custom and it's working as per our requirement.

Steps followed:

  1. Clone the registration widget
  2. When the user clicks on Register, insert a record in External User Registration Table, send a notification to the user containing a registration link
  3. When the user clicks on the registration link, create a record in the User table

 

Let me know if you have any questions.

 

Regards,

Vismit

 

View solution in original post

7 REPLIES 7

P-Rudenko-SN
ServiceNow Employee
ServiceNow Employee

Hello Vismit,

Have you went throught the configuration and fulfiled the form? https://docs.servicenow.com/bundle/paris-platform-administration/page/integrate/authentication/task/external-user-configuration.html

/Pavlo

Hi Pavlo,

 

I did have a look at the configuration, however the customizations I need to do aren't included in that. 

Regards,

Vismit

Jagadeesh1
Kilo Guru

Hi,

   The resource could be present in Scripted Rest APIs. You can check the same by filtering the API ID externaluser. I couldn't find the widget in my personal instance. Is there any plugin we have to install for the widget or registration process?

If you had found the resource in the instance. You can create a new API and call the same in the cloned widget after making changes

Thanks,

Jagadeesh

Hi Jagadeesh,

Like I mentioned above, this is the widget 'Registration Request'. I have not done any modifications to the OOB widget & just cloned it.

Also, the API is not available in Scripted REST APIs or even in Processor Script.

 

Thanks for your response!

 

Regards,

Vismit