Need category to contain slashes (/)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2007 10:31 AM
Hi there,
I have some metadata I need to tag to all documents in a space. I was planning on using categories, but one of my values is a URL which contains slashes, and slashes aren't accepted in categories.
So I need a way to assign a category (or maybe a property) to all documents when they land in a space, and this value must be able to contain slashes. Then I'll grab this value from a custom action and write it to a db.
Any ideas are welcome!
Thanks!
I have some metadata I need to tag to all documents in a space. I was planning on using categories, but one of my values is a URL which contains slashes, and slashes aren't accepted in categories.
So I need a way to assign a category (or maybe a property) to all documents when they land in a space, and this value must be able to contain slashes. Then I'll grab this value from a custom action and write it to a db.
Any ideas are welcome!
Thanks!
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2007 10:40 AM
You can create a new aspect with your meta-data (see http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Step_3:_Create_a_new_Aspect) and a content rule in your space to use by default your new aspect.
I hope that will help you.
Christophe
I hope that will help you.
Christophe

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2007 11:54 AM
Hi Christophe,
I appreciate your response. I have some custom aspects, but this is more of an admin configurable property that we're going to have many different values for. So I'm not sure that a custom aspect is the best bet in this case.
I also have some custom properties that I can set on a document level on the "Modify Content Properties" screen. But ideally I'd like to have that custom property automatically applied to all items as they go into a space.
Thanks,
Sean
I appreciate your response. I have some custom aspects, but this is more of an admin configurable property that we're going to have many different values for. So I'm not sure that a custom aspect is the best bet in this case.
I also have some custom properties that I can set on a document level on the "Modify Content Properties" screen. But ideally I'd like to have that custom property automatically applied to all items as they go into a space.
Thanks,
Sean

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2007 03:56 AM
Hi
If this does not work then it is a bug.
Categories use the name to create a path - this should be ISO9075 encoded.
It is is not then there is a problem somewhere.
Are you just going throught the UI or doing something else?
See http://issues.alfresco.com/browse/AR-1286
Andy
If this does not work then it is a bug.
Categories use the name to create a path - this should be ISO9075 encoded.
It is is not then there is a problem somewhere.
Are you just going throught the UI or doing something else?
See http://issues.alfresco.com/browse/AR-1286
Andy

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2007 01:35 PM
You can add special characters in categories, including slashes and backslashes, if you change the regular expression in contentModel.xml and validation.js, as outlined in this post:
http://forums.alfresco.com/viewtopic.php?t=3508
http://forums.alfresco.com/viewtopic.php?t=3508
