cancel
Showing results for 
Search instead for 
Did you mean: 

Change Form Upload

diegoalexander9
Champ in-the-making
Champ in-the-making
Hi,

I need your help, i need change aspect form upload files and addv chooser type and upload file.

I use this guide  http://www.iptech-group.com/blog/alfresco-share-tip-content-type-selection-when-uploading-a-document... and this guide http://customizealfresco.blogspot.com/2012/09/add-custom-content-type-in-add-content.html but is for alfresco 3.And i working alfresco 4.2.c and doesn't wok on my alfresco version.

Anyone have any guide for this problem.

Thanks For your help.

10 REPLIES 10

mitpatoliya
Star Collaborator
Star Collaborator
You want to add the custom content type to upload dialog right?
Could you post your code files?

Hi mitpatoliya,

Yes, I need to add custom types when uploading a file to alfresco.

I created in this directory: alfresco-4.2.c/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/ a folder called model and in this site I added the model:

mitpatoliya
Star Collaborator
Star Collaborator
Your model looks fine but have you followed rest of the steps?

Hi, I'm following this tutorial to change the load menu.
"http://www.iptech-group.com/blog/alfresco-share-tip-content-type-selection-when-uploading-a-document..."
I modified two files:
flash-upload.get.js
flash-upload.get.properties

I want to add to the load menu type "doc", this exists in the content model but it does not work following the steps

Thanks

mitpatoliya
Star Collaborator
Star Collaborator
and I assume you have added context file which load your custom content model properly. have you done that?
Because looking at these files it should change the upload dialog. any error in the logs>?

Hi, I don't know how do it. Can you explain how I should do?

The log is this.
Is this enough?

Thanks

tytanix
Champ in-the-making
Champ in-the-making
Hi, i've the same problem!
I've deployed all files to include my model in alfresco share. I can assign my type to a document, i can search for metadata associated to my custom type. I can see and edit the property of my custom type correctly. I've followed the same guide mentioned by diego, i've edited flash-upload.get.js and flash-upload.get.html.ftl but nothing is changed in the upload form. I don't have any idea about why it doesn't work. After uploading a document the form disappear immediatly without allow me to change the type of the document. Any suggestions would be welcome!
Thank you very much!

henkiem
Champ in-the-making
Champ in-the-making
I also have the same problem. No log errors. It just does nothing. Any help with how to debug this?

vince20151
Champ in-the-making
Champ in-the-making
I have the same problem. After upload, the upload dialog closes right away. THis is version CE 4.2e. I have another server with version CE 4.2b and the dialog does not close but there is no drop down for changing content type. It just shows %complete, file name and a green check box.
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.