It's all about the answers!

Ask a question

predefined directories on asset artifacts


Luis Bazo (6832019) | asked Mar 31 '10, 7:29 a.m.
JAZZ DEVELOPER
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!!!

4 answers



permanent link
Jonathan Stinton (11) | answered Mar 31 '10, 10:17 a.m.
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.

permanent link
Luis Bazo (6832019) | answered Mar 31 '10, 10:44 a.m.
JAZZ DEVELOPER
@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!!!!!!!!!

permanent link
marcos fukaya (61) | answered Jul 05 '10, 9:05 a.m.
Hi fellows, how to download asset artifacts to a filesystem folder?
Any quick sample code?
Thanks!!

permanent link
Gili Mendel (1.8k56) | answered Jul 07 '10, 6:36 p.m.
JAZZ DEVELOPER
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

Your answer


Register or to post your answer.