Quantcast
Channel: XWiki Forum - Latest topics
Viewing all articles
Browse latest Browse all 1375

File and PDF fields in the same page... but both try to show last uploaded file

$
0
0

I have this AWM page model, where there is a field to upload PDFs, with PDF macro and a field to upload files (usually XLSX or DOC files)

Objective is to upload original form models that can be modified if needed (the docx and xlsx files) and the pdf files that show how the form looks like and also for fast printing of the forms (no need to download the files and then print)

But if I upload the PDF file in the PDF field, and the XLSX file in the file field, when I save both fields try to show the XLSX file.

If I do the inverse, first XLSX and then PDF, both try to show PDF.

I can edit the page a second time and make the correct selection for each field, but that’s extra work, and somewhat nonsensical.

Also, if I upload ONLY a XLSX file, the PDF field tries to display the XLSX file (and gives an error) after I save. And worse, in this case, even if I edit, I can´t unselect the XLSX file from the PDF field so the error message won´t be shown

error message
image

I only uploaded the file to the File field, but it appeared in the PDF field too
image

and no way to unselect it
image

What am I doing wrong?

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1375

Trending Articles