on 12-02-2005 3:39 PM - last edited on 02-04-2024 1:20 AM by postmig_api_4
Hi all,
I just created a predefined property Zvalidto( type date).
a) How can I set up the
default vale = today+360 days?
b) Also how to define a query (in taxonomy)
Zvalidto >= today
Many thanks
Vasso
Hi Vasso,
a) You cannot, at least not via the property defintion settings. What you could do would be to implement a repository service which sets the property to the desired value (programtically, so you would have every possibility) at document/folder creation, as you want.
Another question would be, if you shouldn't use the creation time as comparator within your logic which uses the Zvalidto value. Example: The Zvalidto turns into "ValidDays" and now you can set the default value to 360.
b) You cannot. But you could think of implementing a KM report to show all valid/invalid documents referring to your predefined property.
In addition, did you check time-based publishing service if that could fulfill your needs?!
Hope it helps
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vasso,
Can you pls tell me how to create a Predefined Property Type..
My actual problem is:
I have been using the Advanced Search facility in KM.
When we create a document or upload a document, it is possible to set Custom Properties for the doc which inturn helps in customized search.
However, allowing every user to set their own Custom Property Type and values for the documents would lead to inefficient search results and confusion.
Is it possible to set some predefined Custom Property Types for documents, so that the user can enter the value alone and not the type while setting the custom property.
Kindly help..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi venkat,
I can give you some hints, but I dont have an url of full documentation concerning the predefined properties.
System Adminstration-> System Configuration-> Knowledge management -> content Management -> Global Services -> Property Metadata -> Properties
You can create an new property there, with the follwoing characteristics as an example.
<i>Description:</i> News
<i>ID:</i> News
<i>Namespace:</i> JnJ_NS (you defined it in namespaces)
<i>Type:</i> String
<i>Group:</i> JnJ_Group ( you defined it in groups)
<i>Mandatory:</i> yes
<i>Maintainable:</i> Yes (user can select values)
<i>Indexable:</i> Yes (enabled for indexing)
<i>Default Value:</i> Company
<i>Allowed Values (csv):</i> Company,Product,Business
<i>Key for Label:</i> News
<i>Meta Data Extension:</i> Not set
<i>Folder Validity Patterns (csv):</i> nothing
<i>Document Validity Patterns (csv):</i> /documents/News/**
Then in
Global Services-> Property Structures->Property Groups
you create a property group as below
<i>Description:</i> JnJProperties
<i>Group Items:</i> JnJ_NS:News,JnJ_NS:anotherproperty
<i>Key for Label:</i> JnJProperties
Next, in order to see the new predefined property in the document detail screen, you need to add the previous property group(JnJProperties) in the "all_groups".
So, edit the property group "all_groups" and add the JnJProperties in the Group Items, using the comma to separate the values.
I hope this can you give an idea about predefined properties. I am sure there is documentation available, step by step, in the help.
Have a nice new year.
Vasso
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.