1 Reply Latest reply: Jul 7, 2014 3:45 AM by Manikandan-S-Oracle RSS

    Like xdo_user_name parameter, is there any parameter for output type

    2657837

      Hi All,

       

      As we have xdo_user_name for finding out user name of the user who submitted report, is there any parameter for finding out the output type of the report(parameter that returns PDF,EXCEL,HTML etc).

       

      Any information on this will be greatly helpful.

       

      Best Regards

      gt1942

        • 1. Re: Like xdo_user_name parameter, is there any parameter for output type
          Manikandan-S-Oracle

          Yes you can, both the output format and the template being used are available.

           

          _xt - template name (not the file name)
          _xf - output format

           

          these have to be declared in your RTF template

           

          <?param@begin:_xt;''?>
          <?param@begin:_xf;''?>

           

          You can then reference the values in a template.

          <?$_xt?>
          <?$_xf?>

           

          Output format parameter will generate 'html', 'pdf','excel','rtf'  as a value all in lower case.

           

          You can also use this in IF statement, like <?if:$_xf='pdf'?> ..... <?end if?>