Topic
8 replies Latest Post - ‏2013-10-27T06:12:53Z by SandipPradhan
BharatKumarBabariya
BharatKumarBabariya
20 Posts
ACCEPTED ANSWER

Pinned topic Dynamic windows Titel

‏2013-10-21T06:28:24Z |

Dear all,

I have a issue with cognos reports windows titel , 

here is my question,

when i run my reports it show me windows titel which i have given. now what i want is when i run my report it should be name of reports and Current Date. so that at the time of saving the reports its easy to identify the reports ,

so ,can you please help me out in this

Thanks & Regards

Bharatkumar.

  • Ba-al
    Ba-al
    51 Posts
    ACCEPTED ANSWER

    Re: Dynamic windows Titel

    ‏2013-10-21T11:27:06Z  in response to BharatKumarBabariya

    Try to use JavaScript for it.

  • BharatKumarBabariya
    BharatKumarBabariya
    20 Posts
    ACCEPTED ANSWER

    Re: Dynamic windows Titel

    ‏2013-10-21T11:47:53Z  in response to BharatKumarBabariya

    Thank you Ba-AL ,

    i have try this java script and its working fine on promt page only but in report page its not affecting so ,if you any idea the nplease share...


    <script>
    var today = new Date()

    var dd = today.getDate();
    var mm = today.getMonth()+1; //January is 0!

    var yyyy = today.getFullYear();
    if(dd<10){dd='0'+dd} if(mm<10){mm='0'+mm}
    today = dd+'/'+mm+'/'+yyyy;

    window.document.title = 'Assumption_Reports' + today ;
    </script>

    Updated on 2013-10-21T11:58:23Z at 2013-10-21T11:58:23Z by BharatKumarBabariya