Hi,
In a resource list filter I want to filter resources based on their publishing state.
To do this I use the following code to check the value of the property cm_state:
...
IPropertyName pn_state=new PropertyName("http://sappportals.com/xmlns/cm","state");
IProperty prop_state=resource.getProperty(pn_state);
String state=prop_state.getStringValue();
...
What I expect to get is the value for the cm_state property. However, it seems that I am getting the label for this value, because the returned value differs according to portal language (e.g. "Released" for english and "Vrijgegeven" for dutch). Other metadata properties I tried with the above code do return the value for the property.
How can I get the value for this property, instead of the label?
Thanks,
Johan