Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Document templates for VRM tables

Viji Rohan
Tera Contributor

Hello all,

 

We are trying to use document templates (sn_doc_template) to generate PDF document from Application vulnerable item (AVIT).

looks like OOTB it is not available for this table (sn_vul_app_vulnerable_item). We are not using Remediation tasks for AVITs. Has anyone come across this or know if it is a product limitation as confirmed by ServiceNow?

(I am in the right scope with required access and still do not see table in the list while creating document templates)

 

Regards,

Viji

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@Viji Rohan 

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-1769746297982.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

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@Viji Rohan 

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-1769746297982.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

Hi  @Ankur Bawiskar when i update that and i use sn_ohs_im_injury_illness table which is completly standalone table it does not show me participant tab and cannot create participant for that document template. how can i resolve that  ?

@Kachu 

Not very sure on that part as I haven't explored it

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

Viji Rohan
Tera Contributor

Thanks @Ankur Bawiskar 

it worked