Quantcast
Channel: SCN : Popular Discussions - SAP Enterprise Portal: Content Management and Collaboration
Viewing all articles
Browse latest Browse all 1826

Update state of a resource

$
0
0

Hi KM Experts,

 

I would like to update the status of a KM Resource, currently approval flow is activeted un the directory containing the resource and the status is "to be released".

 

The following code should put the ressource state back to "in progress" but it doesn't ... what is missing ?

 

 

IResource myResource = ...

IPropertyName propName = (IPropertyName) new PropertyName("http://sapportals.com/xmlns/cm", "state");

IProperty prop = myResource.getProperty(propName);

IMutableProperty mutableProp = prop.getMutable();

mutableProp.setStringValue("in progress");

 

Thanks in advance

 

Laurent B.


Viewing all articles
Browse latest Browse all 1826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>