Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Project Workspace status report - add custom field to the "Status History" dynamic content

Attila Beregvar
Kilo Sage

Hello Community,

 

On the new project workspace, Status Reports are built on doc templates, utilizing dynamic contents. I would like to add a custom field to the Status History block of the status report, but only the ootb fields are showing up while inserting the dynamic content:

AttilaBeregvar_0-1748434381222.png

Custom fields are generally available at other parts of the report, I can select them as a dynamic content, but not available in the Status History block - I assume there is a script/API that builds this Status History block somewhere in the background, but I couldn't find anything related yet.

Does anyone have an idea how to make other fields available in the Status History?

Thanks!

1 ACCEPTED SOLUTION

Govardhan7
ServiceNow Employee
ServiceNow Employee

StatusReportDynamicTemplateDataProviderSNC is a read-only Script Include designed to prevent direct customization. To support extensibility, we’ve provided an extension Script Include named StatusReportDynamicTemplateDataProvider, which allows you to override functions from the SNC version.

You can override the fetchStatusDataRecords function in the extension script to incorporate your custom logic.

View solution in original post

5 REPLIES 5

mev
Tera Contributor

Hey @SravyaPangu were you able to get your override working?

 

Thanks,

Patrick