cancel
Showing results for 
Search instead for 
Did you mean: 

Categories

tiofelix
Champ in-the-making
Champ in-the-making
Hi,

    I think i found a bug. I define in my model a property like this one:

<property …>
     <type>d:category</type>
       …
</property>

  That gave my to understand that a document will be categorized with this property, but it was wrong. The wizard let you select a category and finilize the wizard. When you see the document details, you could see that no category is assigned.

   Thanks.
9 REPLIES 9

paulhh
Champ in-the-making
Champ in-the-making
Hi

I've raised this in JIRA: http://issues.alfresco.com/browse/AWC-919

You don't say what version you're on, so it may well be fixed if you're not on 1.4 preview.

Cheers
Paul.

tiofelix
Champ in-the-making
Champ in-the-making
Sorry, I'm using Alfresco 1.4. But i think it works wrong in 1.3 too.

tiofelix
Champ in-the-making
Champ in-the-making
is there some other way to set categorised a new document?? I only know the way that let you set a document categorised on document details…

gavinc
Champ in-the-making
Champ in-the-making
Hi,

You could setup a rule in a space to apply a certain category to any new documents (or space) added to that space.

tiofelix
Champ in-the-making
Champ in-the-making
Hi Gavin,

   that is true, but i would like assign different categories to each document, so with the property "d:category" i thought it would be possible…but i couldn't… is this a bug, no?? if yes.. do you know if it will be fixed in next release?? Thanks.

   Regards,

gavinc
Champ in-the-making
Champ in-the-making
Hi,

I'm just wanting to get some clarification from you about categories and your use of them.

Going back to the first post of this thread you mention adding a d:category custom property to your custom type and then after choosing a category in the create process it did not show up. Did you mean that it did not show up in the Categories panel in the document details page?

If you configure the property sheet to show your custom d:category property it should be visible in the Properties panel, is that the case?

For categories to show in the Categories panel the cm:generalclassifiable aspect has to be added, this is not done if you assign a custom d:category property to your type. This aspect exposes a property on your node called "cm:categories" which allows multiple values i.e. many categories.

This brings me to your last post, yes, you certainly can assign different categories to different documents, you'll just need to have separate rules for each category i.e. have a different condition for each type of document you want to assign a particular category to.

Could you let me know if my presumptions are correct, if not, please correct me.

tiofelix
Champ in-the-making
Champ in-the-making
Hi Gavin,

    You have been very helpful again, yours presumptions were correct Smiley Happy. I wanted the document to be categorised when users cumpliment document details after adding the new document, and adding cm:generalclassifiable aspect to my new type in my new model and the defined the property cm:categories..exactly like you said… it works!! Thanks a lot Gavin.

    Regards,

justin
Champ in-the-making
Champ in-the-making
Hi there,

I would like to have category selection as part of the adding/creating content flow in Alfresco.  So for example, someone who is uploading/creating a file will, during the process, be able to select a category for that particular file.  How may I do this?  Is there already a mechanism for this?

Thanks,

Justin

gavinc
Champ in-the-making
Champ in-the-making
There isn't already a mechanism or example of this but should be fairly easy to do.

You'll need to customise the appropriate wizard i.e. create content wizard and use the categorySelector component to allow the user to select the category and then in the managed bean for the dialog apply the cm:generalclassifiable aspect and assign the selected category to the cm:categories property.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.