It's all about the answers!

Ask a question

Can RAM maintain the order of related assets?

John Rutherford (1323) | asked Mar 28 '14, 10:04 a.m.
We are using RAM's related assets to control the order in which assets get deployed. The order seems to be maintained in the database, but is being displayed in alphabetical order. Is there any way we can display the related assets in the order of which they were added?

One answer

permanent link
Lin Lu (3063) | answered Mar 31 '14, 10:10 p.m.
 Hi John,
I think JAVA API may meet you need, RAMAsset.getRelationships() could retrieve relations in a array.

However, there is no guarantee that asset relationship will always return in the order they are added, and we could no t make sure that this feature will not be affected in the future release, you may need a controllable way to manage relationship for your deploy.


Your answer

Register or to post your answer.