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

Is it possible to use the RAM CLI to update the "Name" value for an asset version?

I am trying to find a scripted way to update the Name: value for some of my assets.  When I try to use "ram set" it doesn't seem to think that Name is an attribute.

[chrisr@ratsy ~]$ ram set FEFB99F4-D24D-BB59-A4F3-DC80A301A451 1.1 -a Name=Testing_RAMCLI
No attribute constraint named Name exists for asset type Component.  A self defined attribute was created for this asset.
Package FEFB99F4-D24D-BB59-A4F3-DC80A301A451[1.1] has been updated.
The command completed successfully.

I also tried things like id and assetid, but none of those worked either, and they all created extra attributes for my asset.  Is there an an attribute that will allow me to update what is called the Name in the GUI?

Thanks,
Chris

0 votes



One answer

Permanent link
 Hi Chris,

You could not update the name just use CLI, but you can change the name to some other value in package.json and then republish the asset using publish command, and this will help you to update the name to the new value you set in the json file. Also you can try ram command --help for more information on the command you are using.

Thanks & regards...

Bryan

Ram development team.

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
× 12,020

Question asked: Apr 01 '14, 11:03 p.m.

Question was seen: 5,382 times

Last updated: Apr 02 '14, 2:22 a.m.

Confirmation Cancel Confirm