Is it possible to set long description of an asset via the RAM java API?
Hello,
I need to migrate some data from an old RAM (7.1) instance into a new RAM (7.5.1.2)instance via the Java API.
RAMAsset asset;
asset.setDescription("This is the short description");
I can see that it is possible to set the short description as per the method above, however I also need to migrate the long description (HTML formatted).
Can you please advise if this is possible to get this information from the old RAM and to upload via the API to the new RAM?
AssetAttribute attribute = newAsset.getAssetAttribute("Description");
attribute.setValues(new String[]{"----HTML GOES IN HERE------"});
session.put(newAsset, new NullProgressMonitor());
Thanks!
-Angela