Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

patrik_seger
Contributor

Nprinting file name seperator...

Hi

I would like to use space as separator in the file name of a report with dynamic names, but it does not seem to work.

Anyone who knows if you need to use some special code to get this to work?

Br Patrik

1 Solution

Accepted Solutions
Employee
Employee

Re: Nprinting file name seperator...

Hi Patrik,

You can use space as the separator in the file name when using dynamic naming.

What am I missing here?

- Daniel.

8 Replies
Not applicable

Re: Nprinting file name seperator...

Patrick,

Spaces at the beginning or end of a string are not supported in dynamic naming.

You can use "     " which will be interpreted in the final name as _       _

Not ideal but perhaps this helps.

Best

Aran

patrik_seger
Contributor

Re: Nprinting file name seperator...

Ok, thanks

I guess I stick to the underscore then.

Br Patrik

Employee
Employee

Re: Nprinting file name seperator...

Hi Patrik,

You can use space as the separator in the file name when using dynamic naming.

What am I missing here?

- Daniel.

patrik_seger
Contributor

Re: Nprinting file name seperator...

Oups, thanks!

I looked at the preview and since the space did not show up as other characters did, I just assumed it didn't work.

Untitled.png

Thanks!

Not applicable

Re: Nprinting file name seperator...

That will only work in NP15.x and 16.x

In NPrinting 17, leading and following spaces and separators are not supported

Wasn't sure which version of NPrinting we were talking about...

patrik_seger
Contributor

Re: Nprinting file name seperator...

Yes, sorry, my bad, should have stated 16.x...

thomasbr
New Contributor

Re: Nprinting file name seperator...

Hi all,

I had to get this on 17 and found this trick to work. Create a variable in the source app, say v_space. Then give it the value

=chr(160)

and put this variable in dynamic naming to the place where you need the space. Char 160 is a non-breaking space.

-Thomas

priyasawant
Contributor

Re: Nprinting file name seperator...

Hello... can you please let me know how can I write the respective Branch Name in the subject of any report created in Nprinting, please find the below image of Nprint

Nprint.png

Community Browser