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

Hi 

That link shows everything. It's about adding title only. I hope you have gone through it well.

Akhilkumar2
Mega Contributor

hi

I created the ui page and ui widget.

after that what to do..

how can I add dynamic title.

I didn't understand more form the link.

could you help me'

Hi

in UI Page have you written Client Script?

Akhilkumar2
Mega Contributor

yes !!!

var myIframe = document.getElementById('frame1');


myIframe.addEventListener("load", function() {


   this.contentWindow.document.getElementById("reportform_control").style.display='none';   // hide report controls from users


});

 

 

function setframe (url, title) {


   var x1 = document.getElementById('mytitle');


       x1.innerHTML = "Change Calendar Report for "+title;


   var x2 = document.getElementById('frame1');


   x2.setAttribute('src', url);


   }

this is the script