The CreatorCon Call for Content is officially open! Get started here.

Knowledge Article - Create New skip Interceptor page

litchick10
Tera Guru

When I create an article it goes to the Interceptor page to select the template. I only have one template. Is there a way to write the "Create New" button arguments to skip over the interceptor page and just open the template. I tried altering the arguments to include the link for the template but still goes to interceptor page.  Screenshot below shows original code. 

find_real_file.png

find_real_file.png

 

2 REPLIES 2

Cuong Phan
Kilo Sage

Hi Lit,

 

You can keep original code and build a onLoad Client Script on table knowledge

  • onLoad
  • with script

var de = sys_id_for_template;

applyTemplate(de);

Regards,
Cuong Phan
ServiceNow Technical Lead

litchick10
Tera Guru

I tried this and it is still defaulting to the interceptor page. Here are steps I took. Navigated to Knowledge templates, selected "Default" template and copied the sys Id from URL

find_real_file.png

I used it to a client on load script see below:

find_real_file.png