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
[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
One answer
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.
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.