cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Content Type and WebDAV

vikas
Champ in-the-making
Champ in-the-making
Hi,

I have created a new content type (SUBTITLE) with set of custom metadata and I am using WebDAV for batch upload.

When i drop the file into WebDAV folder, i am able to see only default metadata (corresponding to Type=Content) after the file is uploaded.

Is it possible to apply content rule to the space, so that while uploading the file using WebDAV, type is automatically set to SUBTITLE.

In that case i can update the custom meta-data from web client once the file in uploaded.

Thanks,
Vikas
5 REPLIES 5

jpfi
Champ in-the-making
Champ in-the-making
Hi,
yub, you could create a rule for this purpose:
condition: All Items
action : Specialise the type of an item (select your type in next window)
details: type = inbound
That's it.
Have you configured the webclient to show your custom properties?
Cheers, Jan

mabayona
Champ on-the-rise
Champ on-the-rise
Yes, just have a look to the menu option "Run Action" > "specialise the type of an item".

This is available as an action that can by fired via a simple workflow. Just what you need.

drunyan
Champ in-the-making
Champ in-the-making
I've tried to create a rule using the advice in this thread, however, when I attempt to create a new rule, there’s an issue.  First I Select a Condition (All Items), then I Select an Action (Specialize the type of an item), I should be able to select the custom content type from the drop down menu, however, the list is empty.

Is there any reason as to why this would be?

protenus
Champ in-the-making
Champ in-the-making
you need to make sure your custom type is defined in web-config-custom in your extensions folder, there are plenty of posts


try
http://wiki.alfresco.com/wiki/Displaying_Custom_Metadata
and
http://wiki.alfresco.com/wiki/Web_Client_Configuration_Guide

djpme
Champ in-the-making
Champ in-the-making
I've tried to create a rule using the advice in this thread, however, when I attempt to create a new rule, there’s an issue.  First I Select a Condition (All Items), then I Select an Action (Specialize the type of an item), I should be able to select the custom content type from the drop down menu, however, the list is empty.

Is there any reason as to why this would be?

drunyan, add the <specialise-types> tags to the "Action Wizards" config evaulator in your web-client-config-custom.xml file like below and that will list your subtitle type in the drop down: 

<config evaluator="string-compare" condition="Action Wizards">
<specialise-types>
<type name="custom:subtitle"/>
</specialise-types>
</config>