PDF Fields Not Mapping

46 views
Skip to first unread message

Nick Tates

unread,
Jun 9, 2023, 4:46:25 PM6/9/23
to Orbeon Forms
Hi,

We're running into two issues with mapping fields from Orbeon to a PDF.

1. We have a PDF with a text box using the name from Orbeon's "Name of the PDF field". For some fields it works, and for others it is not working. We verified the names and visibility of the PDF fields. Is there anything else we might be overlooking? In the image below, most of the fields map, except some. I highlighted some in the image below so you can see the difference between the user entering the form and the populated PDF.

PDF_Mapping_Sample.PNG

2. When trying to debug this from form builder, when we try to Test using the uploaded PDF Template, we get the attached error. However, if we do not use the uploaded PDF template, the Test works find. 


Thanks,
Orbeon_Error_Using_Test_20230609.log

Alessandro Vernet

unread,
Jun 12, 2023, 7:31:42 PM6/12/23
to orb...@googlegroups.com
Hi Nick,

1. You are saying that the table on the right side of the image you have attached is a screenshot of your PDF, and that some values were correctly populated, while others, specifically those you highlighted, were not. Would you be able to attach the original PDF template you used to a reply on this thread?

2. Thank you for the log with the exception. So I can look at the correct source, what version of Orbeon Forms are you using?

-Alex

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orbeon+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/d1c4dd9b-aca6-4160-8525-d0c6c897c186n%40googlegroups.com.

Mark Kurley

unread,
Jun 13, 2023, 10:28:47 AM6/13/23
to orb...@googlegroups.com
Alex,  Nick is out of the office here is the information you requested.

1) Yes the table on the right side is the pdf.  I'm attaching the PDF to this reply.
2) Orbeon Forms 2022.1.202212310402 PE

Thanks

Mark Kurley
Director of Development, EVO




Springhouse Exterior BPO.pdf

Alessandro Vernet

unread,
Jun 14, 2023, 9:34:58 PM6/14/23
to orb...@googlegroups.com
Got it Mark, thank you for the PDF; I am not seeing anything wrong with the PDF. Could you also attach the source of the form (which you can get from Edit Source, in Form Builder)?

-Alex

Mark Kurley

unread,
Jun 15, 2023, 7:22:44 AM6/15/23
to orb...@googlegroups.com
I sent the form as a private message.  Let me know if you didn't get it. Thanks

Mark Kurley
Director of Development, EVO



Nick Tates

unread,
Jun 20, 2023, 3:30:32 PM6/20/23
to Orbeon Forms
Alex:

I just got back in the office today, did you get the form that Mark sent over? Just following up to see based on the messages in the chain.

Thanks,

Alessandro Vernet

unread,
Jun 21, 2023, 1:16:06 AM6/21/23
to orb...@googlegroups.com
Hi Nick, Mark,

Yes, I did receive the form source, thank you. I had looked into it, but didn't see anything different between the two following fields, showing on the same line, with one of the values showing in the PDF, and the other not. The fields show on page 5 of the PDF.

- Date shows in the PDF
    - `ComparableListings$OriginalCLListDate-Subject` name in the form
    - `ComparableListings$OriginalCLListDate-Subject` name in the PDF
- Date does not show in the PDF
    - `ComparableListings$OriginalListDate-CL1` name in the form
    - `ComparableListings$OriginalListDate-CL1` name in the PDF

The only thing that comes to mind is the `1` in the name of the field. Could you try to rename it to `CLA` instead of `CL1`, and see if that makes a difference?

Also, the PDF I am looking at does not seem to correspond to your screenshot. I've included below the screenshot of your PDF, and the line after Original List Date is Last List Price, while in the PDF you sent me it is Current List Price. Was there may have been a mixup between files?

unnamed.pngScreenshot 2023-06-20 at 10.09.11 PM.png

-Alex

Nick Tates

unread,
Jun 21, 2023, 9:32:47 AM6/21/23
to orb...@googlegroups.com
Alex:

Surprisingly those are two different sections that look similar. There are Comparable Sales and Comparable Listing sections. Can you review the Comparables Sales section and the mappings there? Other fields with CS1 and CL1 in the name seem to map over without issue. The fields to review specifically Original List Date and Original List Price in the Comparable Sales section in that grid.

Thanks,
_________________________________

Nicholas Tates: Software Architect

Global DMS

P:   267-498-7277

E:   nick....@globaldms.com

W:  globaldms.com





Alessandro Vernet

unread,
Jun 22, 2023, 1:39:09 AM6/22/23
to orb...@googlegroups.com
Hi Nick,

Ah, you're right: the problem is in the Comparable Sales section. So the fields are:

- `ComparableSales$OriginalListDate-Subject` is filled
- `ComparableSales$OriginalListDate-CS1` not filled

The binds are:

    <xf:bind id="OriginalListDate-Subject-bind" ref="OriginalListDate-Subject"
         name="OriginalListDate-Subject"
         type="xf:date"/>
    <xf:bind id="OriginalListDate-CS1-bind" ref="OriginalListDate-CS1"
         name="OriginalListDate-CS1"
         type="xf:date"/>

I am not seeing any difference that would explain this, either at the form or PDF level. I suggest you do the following to determine if the problem is with the form or the PDF.

Create a new form in Form Builder with just one section named `ComparableSales` and two date fields named `OriginalListDate-Subject` and `OriginalListDate-CS1`. Attach your PDF to that form, put some dates in the fields, generate the PDF, and see if both show up in the generated PDF.

- If the date for `OriginalListDate-CS1` shows in the PDF, then the problem is most likely with the form.
- If the date for `OriginalListDate-CS1` does not show in the PDF, but the other does, then the problem is most likely with the PDF.

Please let me know what your findings are.

-Alex

Nick Tates

unread,
Jun 22, 2023, 5:45:23 PM6/22/23
to orb...@googlegroups.com
Alex:

I’ll get on that test first thing tomorrow and let you know what I find. 

Thanks!

--

Alessandro Vernet

unread,
Jun 22, 2023, 8:17:37 PM6/22/23
to orb...@googlegroups.com
Got it Nick, please let me know what you find out.

-Alex

Reply all
Reply to author
Forward
0 new messages