Image and XML datasource

0
adri.koopman posted this 29 May 2018

Hi to all,

I've just downloaded the trial version of Docentric and created my first template. The datasource is XML, because I'm building an application that retrieves data in XML format from a SQL database. Part of the data is an image, which is defined in the XSD as xs:base64Binary. I've already an XML that contains that image data, so I inserted an Image elemenent based on that data element. However, when I do a preview, I get the following error: Docentric.Documents.Reporting.Model.ImageElement element error: The element doesn't wrap an image object.

How can I insert an image object, based on XML data?

1 Posts
1 Points
1 Comments
Order By: Standard | Newest | Votes
0
jles posted this 29 May 2018

Hi Adri,

Thank you for reporting the issue on our support forum. Your error says that the Image tagging element needs a nested dummy picture. It seems like that after you have inserted the Image tagging element, you accidentally moved or deleted the picture from the Image placeholder (Content Control in MS Word's terminology). I suggest that you delete this Image element and simply insert another one.

Please let me know if this helped.

Thanks,

Jure Leskovec

155 Posts
295 Points

Our 228915 members have posted 344 times in 102 discussions