Skip to main content
gautams4173
September 17, 2024
Question

PDF from Docx Error

  • September 17, 2024
  • 9 replies
  • 0 views

Hi 

I have a requirement where in I am creating a word document from a template using the DOCX From Dynamic Template smart service

And then convert this word doc to a pdf doc using the PDF from DOCX smart service

The thing is the first smart service works, i.e. I am able to successfully generate the word doc. But then when I feed this word doc to the next smartservice to convert to pdf I am getting this error: org.apache.xmlbeans.impl.values.XmlValueNotSupportedException: Could not get a Java numeric type from a Schema string type

Can anyone help me with this ?

9 replies

somasundaram.d
September 17, 2024

Can you provide more details.

Like what is the content in DOCX file?

Are you able to open the generated DOCX, and do you see any corrupted content?

Also can you try converting the DOCX file using an online converter.

If you do not need the DOCX, you can also try using "PDF from XSL FO Transformation" smart service for more control.

gautams4173
September 18, 2024

Hi [mention:57fc948ec4c44d7fbda6e5509555d197:e9ed411860ed4f2ba0265705b8793d05] 

1. The contents are basically free text with table data .. the tables are not dynamic and all have fixed rows

2. Yes, I am able to download the generated docx file and view the contents .. none of it is corrupted

3. I tried using an online converter and it converts fine

4. Which plugin is this ?

somasundaram.d
September 18, 2024

Both of the plugins mentioned by Stefan and myself are part of Dynamic Document Generator

community.appian.com/.../dynamic-document-generator

stefanhelzle0001
Brainy
September 17, 2024

Did you consider switching to HTML to generate PDFs? Not an answer to your question, but maybe a great alternative.

My blog post: appian.rocks/.../

gautams4173
September 18, 2024

Sure ... let me have a look 

October 4, 2024

How is everything going? As a college student, I often find myself overwhelmed with assignments. A friend suggested domypaper.com domypaper, and I decided to give it a try. I was impressed by their prompt service and the quality of my paper. The writer clearly understood my topic and delivered exactly what I needed. I will definitely use their services again in the future!