It's all about the answers!

Ask a question

Client extension API for RM: Possible to access embedded and wrapped resources?


Andreas Hensel (514) | asked Sep 29 '14, 9:38 a.m.
Artifacts of type XHTML may contain references to resources, e.g. the preview image of an OLE object and the OLE file itself. The documentation of the client extension API contains information about access and creation of artifacts in general, but upload and download of resources is not covered.

Comments
Ralph Earle commented Oct 15 '14, 4:14 p.m.
FORUM ADMINISTRATOR / JAZZ DEVELOPER

Andreas, can you say more about what you are trying to achieve? Where are the resources stored? To what purpose are they being put?  


Andreas Hensel commented Oct 16 '14, 10:43 a.m.

Ralph, I want to find out if it is possible to create custom scripts for file-based data export and import.

One answer



permanent link
Dominic Tulley (38114) | answered Oct 17 '14, 4:16 a.m.
Hi Andreas,
the extension API does not provide access to wrapped resources today so it is not possible for you to upload a data file such as spreadsheet or word document.  If that is your end goal (it's not quite clear from your last reply if this is the case) then the extension API can't help you just now.
On the other hand, if you are trying to import your data into DNG specific form (e.g. importing into requirements in a module) then there is something you can do.   HTML 5 allows you to access the contents of a file so you can write an extension that loads the file contents, analyses it and then generates requirements in a module from it.  You could, for instance, create a drop target in your extension and when the user drops a file on it, trigger the analysis.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.