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

Not able to Update attribute in RAM

I am not able to update Attribute in RAM from Java API.

Foe ex : I have a attribute with valid values A and B.

Now when I am trying

RAMAssetAttribute assetAttribute = session.getAssetAttribute("Testing");
assetAttribute.setRestrictedSetting(true); //tried without this as well
assetAttribute.setSingleSetting(true); //tried without this as well
assetAttribute.setValidValues(new String[]{"D", "E", "F"}); //tried with A, B, D, E , F and other combination as well.

Now what this is doing is
>deleting A and B from valid values and adding nothing..
>setSingleSetting method is working fine.

Also is it possible to add valid values one by one?

0 votes



4 answers

Permanent link
What version of the server and client are you running?


I am not able to update Attribute in RAM from Java API.

Foe ex : I have a attribute with valid values A and B.

Now when I am trying

RAMAssetAttribute assetAttribute = session.getAssetAttribute("Testing");
assetAttribute.setRestrictedSetting(true); //tried without this as well
assetAttribute.setSingleSetting(true); //tried without this as well
assetAttribute.setValidValues(new String[]{"D", "E", "F"}); //tried with A, B, D, E , F and other combination as well.

Now what this is doing is
>deleting A and B from valid values and adding nothing..
>setSingleSetting method is working fine.

Also is it possible to add valid values one by one?

0 votes


Permanent link
Its RAM 7.2.

What version of the server and client are you running?


I am not able to update Attribute in RAM from Java API.

Foe ex : I have a attribute with valid values A and B.

Now when I am trying

RAMAssetAttribute assetAttribute = session.getAssetAttribute("Testing");
assetAttribute.setRestrictedSetting(true); //tried without this as well
assetAttribute.setSingleSetting(true); //tried without this as well
assetAttribute.setValidValues(new String[]{"D", "E", "F"}); //tried with A, B, D, E , F and other combination as well.

Now what this is doing is
>deleting A and B from valid values and adding nothing..
>setSingleSetting method is working fine.

Also is it possible to add valid values one by one?

0 votes


Permanent link
Anyone got solution for this? I am facing the same issue with v7.2, v7.2.0.1, v7.2.0.2 and v7.5.

0 votes


Permanent link
Any Solution for this yet.

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

Question asked: Oct 27 '10, 1:39 a.m.

Question was seen: 5,795 times

Last updated: Oct 27 '10, 1:39 a.m.

Confirmation Cancel Confirm