on 03-28-2007 2:55 AM
hey experts,
This is very basic.
I want to update the description of a resource.
I can get the description by the following line
String desc = aResource.getDescription();
String newDesc = "new description";
Now how do I update the resource with this new description?
Thank you.
Try following snippet.
IPropertyName ipropDesc = new PropertyName "http://sapportals.com/xmlns/cm","description");
IProperty propDesc = new Property(ipropDesc,newDesc);
res.setProperty(propDesc);
reward points for answer if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.