How to create a new record in Service Portal

RichardSaunders
Tera Guru

I'm trying to create a new record for a custom table (u_qsse_query) from an 'Icon Link' Widget. If i set the URL to u_qsse_query.do it opens a record but not in the portal (as expected). I have tried linking it to a new page (qsse_log_query) but when i click on Log a Query all i get it 'record not found'. How can i link it to create a new record within the portal view.

find_real_file.png

find_real_file.png

I'm sure i'm missing something very simple here, help greatly appreciated!

1 ACCEPTED SOLUTION

Hi Richard,



You should use below link



/sp?id=form&table=u_qsse_query&sys_id=-1



form is the Service portal widget. You need to pass sys_id as -1, so that it creates a new record.



Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

8 REPLIES 8

Michael Fry1
Kilo Patron

In the HREF/URL, you can add what you want to append to the URL to get to the page you want. In this case, we're pointing to a Catalog Item.



Screen Shot 2018-01-11 at 1.04.58 PM.png


Thanks for the response Michael.Fry



I have tried QSSE?id=u_qsse_query.do in the URL but i get the 404 page.


.do is going to access the form in Desktop view (like someone with an ITIL role). So you shouldn't use that on your portal as ess users won't have access to that view.


I would build a record producer and use that for your URL.


Hi Richard,



You should use below link



/sp?id=form&table=u_qsse_query&sys_id=-1



form is the Service portal widget. You need to pass sys_id as -1, so that it creates a new record.



Please mark this response as correct or helpful if it assisted you with your question.