Export Custom Report File Name

Which IIQ version are you inquiring about?

IdentityIQ 8.4

Share all details about your problem, including any error messages you may have received.

We have a requirement to rename the exported custom report file name. Currently the Task Definition name is “ABC - Details Report”.
This is what we currently see “abc-DetailsReport” but what we would like to achieve is “ABC-DetailsReport”. Any methods to customise the name of the file to be exported?

Hi @shijingg,

simply, the name of the object will be the name of the downloaded file. You must to change the name of the taskDefinition from debug.

Also, in this topic you can find some ideas for modify the name or add other info>
Modifying the title of a custom generated report with current timestamp - IdentityIQ (IIQ) - SailPoint Developer Community

1 Like

Hi @enistri_devo understand your point however, I need the first word to be CAPS as in the taskDefinition, however it is getting automatically converted to lower case.

Task Definition: ABC - Details Report
Reality: abc-DetailsReport
Expected: ABC-DetailsReport

Hi,

Would you like to rename the report result name (highlighted in the screenshot)? If so, you can change the name by selecting the report from the report tab and entering the desired name. The new name will then appear on the report result page.

regards,
Arun

Hi @Arun-Kumar I would like to actually change the name of the file which is downloaded upon clicking Download PDF/Download CSV button

Please follow the step to change the file name.

Go to Intelligence—>Report—>MyReport---->select the report you want to change the name(abc-DetailsReport)---->change the name as you want(ABC-DetailsReport)---->save and execute.

Now, you will see the Expected name in your PDF/CSV.

Regards,
Arun

1 Like

Hi @shijingg,

I hope, you are able to change the name of the report file.

Regards,
Arun

Internally sailpoint is using toCamelCase from Util class to converting the filename UTF-8

String encodedFilename ="";
encodedFilename = Util.*toCamelCase*(URLEncoder.*encode*(" ABC - Details Report", "UTF-8"), '+');
System.out.println(encodedFilename);

You can try this code by running from rule . Means you can’t rename these files , rather you can give your task name in camel case encoded in UTF-8.

Hi @vishal_kejriwal1 can I check where in the task definition can I include these codes?

Hi @Arun-Kumar followed these steps to edit but it is still converting the file name to lower case for the word before the -

shared code is internally used by sailpoint to covert the file name , this code cannot be overridden .
I have shared just for refrence .

Hi @shijingg,

Starting with IIQ 8.3, the export report name format has been updated. Please see the screenshot for details.

Regards,
Arun

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.