on 08-08-2006 8:17 AM
Hello,
I've got files created automaticaly by Java code and having special properties added in the "Miscellaneous" list.
The problem is that those properties are not added in the properties list of the portal (<i>System Administration/System Configuration/Knowledge Management/Content Management/Global Services/Property Metadata/Properties</i>).
So, I'm not able to add those properties in the list of predifined properties of my search screen.
I've tried to add in the list a property having exactly the same name than one of the properties from the automaticaly created files but I've got 2 twice the same property displayed in the "Miscellaneous" list.
Does anyone has an idea to search on those automaticaly generated properties?
Thanks in advance!
Hi Bogdan,
What the navigation UI shows in <i>details -> properties -> miscellaneous</i> is not the complete property name. In fact the properties are identified by a key that consists of two parts: a namespace string and a local name string.
In the resource details view you'll only find the local name of the properties of this resource.
That's why you found "the same" property listed twice there. In fact it were different properties having different namespaces but same local names.
If you add a property to the Property Metadata Service manually, then you'll also have to specify a namespace with your property name.
So the first thing about your unknown property is to find out it's namespace. Hm, perhaps there's an easier possibility, but anyway you'll succeed with the <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/75336f09-0801-0010-4ea6-90ca92e98b28">RF explorer</a>.
Then you can add this property to the metadata service.
Best regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Michael,
Thanks for your help. I think I've found the namespace because now I only have one property in the "Miscellaneous" list.
But now I've got an other issue!
The values of those properties added in the Property Metadata Service are still blank.
Even when I generate a new file the data related to those properties are not displayed anymore, the fields are blank!!!
Hi Bogdan
If you take your mouse over the property under the Miscellaneous tab ,
the tool tip will show you the unique property id Eg: http://customer.com/xmlns/cm/customproperty.
In your code you should check if you are the setting this property .
The java object representation would be
IPropertyName urPropertyName =
new IPropertyName ("http://customer.com/xmlns/cm","customproperty");
Property urProperty = new Property (urPropertyName,value);
After this of course , add it to the MutableMap of Properties and
resource.setProperties(<mutable map of Properties>);
Regards
Pran
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.