Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interactive report dynamically setting filename for download coming with html entity

sahil kansraNov 8 2024

I am encountering an issue with downloading an Excel file from an interactive report via the action menu in Oracle APEX.

The filename is set in the report attribute and stored in an APEX item, for example, &p 102_filename.

Issue Details:

When I download the Excel file, the filename contains HTML entities.

For eg, if the filename is "KYL & MASXYZ,

the ampersand (&) is displayed as &•

I have tried various methods to resolve this, including:

Setting the escape special character properties.

Using regular expressions (regex).

Despite these attempts, the issue persists. The session state shows the correct filename as "KYL & MASKXYZ"

without &, but the downloaded file still has the HTML entity.

Steps to Reproduce:

Set the filename in the report attribute using an APEX item (e.g., &p 102_filename.).

Download the Excel file from the interactive report via the action

Observe the filename in the downloaded file.

Expected Behavior.

The filename should be "KYL & MASKXYZ"

without any HTML entities.

Actual Behavior.

The filename appears as "KYL & MASKXYZ" with the HTML entity for the ampersand.

Comments
Post Details
Added on Nov 8 2024
7 comments
509 views