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

predefined directories on asset artifacts

Hi folks,

Is there any way to force from the WEB UI that for a certain type of active when an asset is being created a set of predefined directories is shown in the contents of the asset? Ej. root> predefinedfolder1, root > predefinedfolder2, etc ......

We are allowed to force this when asset is submitted through the API but I'm not sure if is possible to do from the Web UI.

Thanks a lot!!!

0 votes



4 answers

Permanent link
It sounds like you are talking about pre-filling the submit wizard for a brand new asset with some predefined folders. Currently, there is no way to do this. On an asset type you can specify constraints (must have 1 artifact named foo), but we don't pre-fill the wizard with any content based on these constraints.

There is a policy (Append Artifact Policy) that can be run on submit to copy the contents of a template asset into a new asset. It would also be possible to write a policy to do something similar. The API for this is not fully approved/supported, however.

0 votes


Permanent link
@Author Message
jstinton

Thanks for the information provided we'll explore the policy Append Artifact Policy you mentioned. It seems very interesting for our purposes.

Thanks!!!!!!!!!

0 votes


Permanent link
Hi fellows, how to download asset artifacts to a filesystem folder?
Any quick sample code?
Thanks!!

0 votes


Permanent link
Hi fellows, how to download asset artifacts to a filesystem folder?
Any quick sample code?
Thanks!!


You can use the Rest API (https://jazz.net/wiki/bin/view/Main/RamRestApiMain) or just do a HTTP GET on
http://<server>/<contect>/artifact/<guid>/<version>/<artifact>

e.g. http://server:9080/artifact/%7BCE8474E4-8D69-4D8F-F44D-708F876CFC18%7D/7.2/movie.png

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

Question asked: Mar 31 '10, 7:29 a.m.

Question was seen: 8,005 times

Last updated: Mar 31 '10, 7:29 a.m.

Confirmation Cancel Confirm