Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Dynamic title for Reports

Akhilkumar2
Mega Contributor

Hi all,

 

How can we add dynamic title for reports .

I want the current month name and year in the report title.

next month it should automatically change.

any solution

?

 

15 REPLIES 15

Omkar Mone
Mega Sage

Hi Akhil,

 

When configuring a Scheduled Report, the Subject line now accepts JavaScript. e.g., the following in the Subject of a scheduled report will put the current date in the resultant email (e.g., for a report of today's problems):

javascript:"Problems created on " + gs.now();

 

Else PFB the link which may help you.

https://community.servicenow.com/community?id=community_question&sys_id=78625b61db101fc01dcaf3231f96...

 

Mark Correct Answer if it helps.

 

Warm Regards,

Omkar Mone


find_real_file.png

www.dxsherpa.com

hi Omkar,

I want dynamic titile for reports,,not subject line in scheduled reports.

its for normal reports.to show in dashboards.

Hi 

The link that i have send is the exact thing you require. Please check it 🙂

Akhilkumar2
Mega Contributor

Hi Omkar,

I have done the steps mentioned in the link.

what to do next

how can I add dynamic title