Webform for external users

Arnab2
Kilo Contributor

Hi guys,

I have a custom table where users can log their tickets. Now, our customer needs external users(not SNow users) to be able to log in a ticket on the table and also be able to attach some files while entering the record.

How can I achieve this? So far I have heard about taking inbound email route.

I am looking forward to a UI based solution wherein a user can fill a webform up that is public and enter the record. Is this feasible? Please help with any suggestions.

Thanks,

Arnab

26 REPLIES 26

Chuck Tomasi
Tera Patron

HI Arnab,



Take a look at public pages (using the sys_public table.) You may also need to update your ACLs to contain the 'public' role.



Making a Page Public - ServiceNow Wiki


Docs: Access control rules


Docs: Contextual security  


Security Best Practices - ServiceNow Wiki


Hi Chuck,


Thank you so much for the info.



I have tried a simple code on my UI Page making it public. The code is on client script of the UI Page. It inserts a record into the table.


Record is getting created when I am running the UI Page being logged into the system. The same isn't happening when I access the public UI Page after logging off.



What can I do to make this work?



Thanks,


Arnab


Does the page display?



Have you checked for any errors in the log that might indicate an issue?



Are you able to share the code of your UI page (HTML, client script, and processing script)?


Hi Chuck,



Below is screenshot of the HTML and Client Script



find_real_file.png



When I enter data from within the system via the UI Page, data gets inserted.



find_real_file.pngfind_real_file.png




But after logging off and submitting the same from browser, the record is not created.



find_real_file.png



There are no error or warning logs.



Thanks,


Arnab