BI Publisher (MOSC)

MOSC Banner

Store value of xdofx:replace() in a variable

edited Dec 13, 2023 10:41AM in BI Publisher (MOSC) 1 commentAnswered

Hi

In BI Publisher .rtf template I want to print a QR code from an URL.

I Haven’t got any difficulties to print a data without space.

url:{concat("http://localhost:XXXXX/barcode4jqr/genbc?fmt=png&type=datamatrix&gray=true&mw=1&msg=",Data}

For data with space, I need to replace those space with the URL code %20

So, I try to:

url:{concat("http://localhost:XXXXX/barcode4jqr/genbc?fmt=png&type=datamatrix&gray=true&mw=1&msg=",xdofx:replace(data,’ ‘,’%20’)}

I have got an error message from BI Publisher.

To control the error message, I try to create a variable:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center