Tables not available in HTML Document Template

Fabio Cresta
ServiceNow Employee
ServiceNow Employee

Hi All.

I need to define an HTML Document Template on the Business Application table, but I don't see it inthe table list. I only see the Business Application Requets table. Both are in the Global scope.

Any hint?

Thanks

Fabio

5 REPLIES 5

Joe S1
Kilo Sage

Hello @Fabio Cresta 

 

This script include "DocumentTemplateTableChoiceScriptSNC" is running and pulling a list of all tables that are extended from the "task" table. Since the Business Application table is extended from cmdb_ci it won't be listed in the dropdown choices.

Fabio Cresta
ServiceNow Employee
ServiceNow Employee

Thanks.

Any alternative to define a PDF (or Word) template to export from non task tables?

 

Any idea on how to create a document template on a custom base table?

Document Templates table list is derived based on the script "DocumentTemplateTableChoiceScript". So it shows only the task extended tables by default. You may need to modify the dictionary of the Table field and remove "tableChoicesScript=DocumentTemplateTableChoiceScript" from the attribute to see all the tables. But this is something that you are modifying the dictionary of the scoped application "Document Templates".