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

unable to update description in DM and unable to add staisfy link from DM to RM

Hi,

Please refer the below code snippet and let me know where I am making mistake.

{
DmResource dmResource= dmClient.getResource("https://rb-alm-11-p.de.bosch.com/dm/models/218", dmConfiguration);
        
            if( dmResource != null ) {
                
                dmResource.setResourceProperty(DCTerms.description, "newly updated description");
                dmResource.addResourceProperty("j.1:satisfy", "https://rb-alm-11-p.de.bosch.com/rm/resources/_D3p88KDDEeSFs7oa7nEWgQ");
      
                DmEditingSession editingSession = dmClient.createEditingSession(dmConfiguration);
                
                dmClient.putResource(dmResource, editingSession);
                
                dmClient.commitEditingSession(editingSession);
                
                System.out.println(dmResource.getDescription());
}

0 votes


Be the first one to answer this question!

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
× 1,221

Question asked: Mar 23 '17, 6:35 a.m.

Question was seen: 1,579 times

Last updated: Mar 23 '17, 6:35 a.m.

Confirmation Cancel Confirm