We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Custom table is not in the table field while creating a HTML Document Template.

adpani
Tera Contributor

I can’t see the custom table in the Custom Scope. I confirmed that the table’s Application Access is set to All application scopes, but it still doesn’t appear in the table dropdown when I create the HTML Document Template. Because of this, the fields aren’t populating and I’m unable to proceed.

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@adpani 

if you are in same scope as that of your table and your table is task extended then it should show in Table selection in document template

If that table is not task extended, then there is a workaround

You need to modify the dictionary of the Table field and remove "tableChoicesScript=DocumentTemplateTableChoiceScript" from the attribute to see all the tables

Then select your table and revert the dictionary entry and add that attribute again

Tables not available in HTML Document Template 

AnkurBawiskar_0-1772802354874.png

 

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@adpani 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Giga Sage

Hi @adpani 

 

Even with "All application scopes" access, explicit cross-scope access might be required for the Document Templates application to use your custom table.

 

To enable cross-scope access for the tables you need:

  1. Navigate to:
    System Definition → Application Cross-Scope Access

  2. Create a new record with the following details:

    • Source: Your current application scope
    • Target: The name of the table you want to access
    • Permissions: Read
  3. Save the record.

  4. Refresh the Document Template form. The table you configured should now appear in the dropdown and be selectable.

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

@Tanushree Maiti 

Could you please share screenshots for this if this approach worked for you?

This would help members.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader