Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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.

0 votes

Comments

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

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
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,952
× 24
× 7

Question asked: Sep 29 '14, 9:38 a.m.

Question was seen: 4,027 times

Last updated: Oct 17 '14, 4:16 a.m.

Confirmation Cancel Confirm