PdfLoadedXfaComboBoxField's Items property always seems to be empty

(This is with syncfusion.pdf.net.core/23.1.44)


I'm loading an XFA PDF like so:


    using var fs = System.IO.File.OpenRead(@"…");
var pdf = new Syncfusion.Pdf.Xfa.PdfLoadedXfaDocument(fs);


Syncfusion does seem to give me all the fields and their types. However, for combo boxes, the Items property always seems to be empty, even though Adobe Acrobat does show combo box items. Do I need to call a method to fetch the items?


4 Replies

RB Ravikumar Baladhandapani Syncfusion Team November 10, 2023 11:58 AM UTC

We tried to replicate the reported behavior with provided details on our end, but we are unable to reproduce this issue with our test documents. We suspect the reported issue occurs with a specific document. Could you please share the input pdf file or simple sample to reproduce the issue, it will be helpful for our further investigation.



SK Soeren Kuklau November 10, 2023 12:00 PM UTC



RB Ravikumar Baladhandapani Syncfusion Team November 14, 2023 11:00 AM UTC

We are currently analyzing the reported behavior with the provided details on our end, and we will provide further details on November 15th, 2023.



RB Ravikumar Baladhandapani Syncfusion Team November 16, 2023 06:28 AM UTC

Upon further analysis, we found that the reported document contains XFA fields. And the combo box fields items are added using the java scripts. As of now, we don't have support to retrieve the combo box values using JavaScript. So we could not proceed further on this.


Loader.
Up arrow icon