Importing Tables or Figures from excel to DNG via API #97
Answered
by
barny
ElectricalDepression
asked this question in
Q&A
|
So I (or mostly GPT) have managed to make a script that parses an excel file and imports all artifacts and attributes into DNG. I was wondering if anyone knew a good way to do this for images or tables that are in excel? When I tried importing tables I just got raw HTML in the Primary Text, and images I haven't had any luck with. |
Answered by
barny
Jul 7, 2025
Replies: 1 comment 7 replies
|
Hi Tables: never tried this, but I'd expect the PUT or POST to update the primary text to include the XHTML for the table as an XML literal. Try creating a table in DN then GET the artifact context and that's what you'll have to do with the table content you want to put into an artifact. Images: sorry don't know this is possible. Regards |
7 replies
Answer selected by
ElectricalDepression
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
Tables: never tried this, but I'd expect the PUT or POST to update the primary text to include the XHTML for the table as an XML literal. Try creating a table in DN then GET the artifact context and that's what you'll have to do with the table content you want to put into an artifact.
Images: sorry don't know this is possible.
Regards
Ian