Expand my Community achievements bar.

overflowLeader on second page

Avatar

Level 1

Hello Experts,

 

I have issue with overflowLeader processing in pages other than first one. In my logic I am dynamically hiding some columns based on the data (zero columns are hidden). This is implemented and works very well but only on 1st page. Required columns are hidden in overflowLeader and data rows:

FilipSt4_0-1748269659998.png

I even changed the label of one of the columns from the code to check if specific data can be accessed. It looks good.

But on the second page everything falls apart:

FilipSt4_1-1748269728182.png

Font sizes, .presence = "hidden" settings, even the simplest .rawValue = "TEST"; setting is not applied. Similar setting (font sizes, hiding of columns works fine for data rows - that is why the layout is broken on second page).

I am looking for your kind support to help find a way of accessing overflowLeader properties on the second (and subsequent) pages as it seems that my: data.Body.Table.IM_TAB.overflowLeader::initialize is working for 1st page only. I tried all the events under it ... no luck All hints are appreciated!

Thank you in advance,

F

 

 

6 Replies

Avatar

Employee

Hi @FilipSt4,

 

From the initial looks it looks like the scripts that you might be using to show and hide are only getting applicable for the first page. Can you please let me know if you are trying to achive the usecase on a PDF form or a HTML5 form. Lastly can you please share a sample XDP and XML which can be used to test the issue and I can try to replicate the problem and help you find a solution.

Thanks
Pranay

Avatar

Level 1

Hello @Pranay_M 

Thank you for your message. I am preparing the form in SAP (S4HANA) with Adobe LiveCycle Designer / Adobe Document Services. I am attaching XML/XDP/XSD files (ziped) for your kind validation.

Please bear in mind that with these settings report does not work because "Include Header Row in Subsequent Pages" option in ON, changing it to OFF generates the form properly but w/o header line in on the second page which is a "must-have" for me.

I am very looking forward to your kind support.

Best regards,

Filip

Avatar

Level 1

Just to add some context - I would like the overflowLeader to look exaclty the same on first page (it looks good, relevant columns are hidden) and 2nd, 3rd and so on ... and this does not work.

Avatar

Level 1

Hi @Pranay_M ,

please let me know if you need anything else from my side to check the issue. I am here to support you with whatever you need.

/Filip

Avatar

Community Advisor

You need to make the header and data row, columns field to make hidden and along with that you need to adjust the table column width. There is property columnWidths.

 

You need to adjust the column width as per your requirement.

eg: this.columnWidths = "10mm 11mm, 12mm, ....."; like this.

 

For the column you want to hide, give them "0.001mm" width.

 

Hope this will help.

Avatar

Level 1

Thank your for your hint @Vijay_Katoch ,

It could work but there is another challenge, once the with is set to 0.001mm, height of the column is increased:

FilipSt4_0-1749571822411.png

Is there anything I can do to switch off the "Auto-fit" for overflowLeader? Is seems to be inactive on this and all of the higher levels of my form:

FilipSt4_1-1749571883897.png

Thank you in advance for your help.

Filip