cancel
Showing results for 
Search instead for 
Did you mean: 

Bring aspects in uploader plus form

sakshik
Star Contributor
Star Contributor

Hello,

I have installed Uploader Plus

I have my custom metadata in the form of aspects:

I need to bring this up in uploader plus Allowed types which only shows up models and not aspects:

Is there a way metadata from my aspect can come in the uploader form of  uploader plus

1 ACCEPTED ANSWER

douglascrp
World-Class Innovator
World-Class Innovator

I believe I have just figured out what your problem is.

In your model, and in the screenshot with the document already set as the custom type, the name of the type is icfdoc:metadata, but in the screenshot showing the browser developer tools error, the type has a typo, it is like icfdoc:metdata.

So, in order to fix that, what you have to do is to fix the share-config-custom.xml, in the following section:

<types>
    <type name="cm:content">
        <subtype name="icfdoc:metdata" />
    </type>
</types>‍‍‍‍‍‍

Check that and tell us if that did the trick.

View answer in original post

28 REPLIES 28

douglascrp
World-Class Innovator
World-Class Innovator

In that case, the only way to identify what is wrong is by checking the log files, as ‌ already recommended.

Hi Douglas C. R. Paes

I am trying to log this by :

1) copying contents of alfresco.log and catalina.out into a new file

2) Changing Type in alfresco[which shows "Unable to change type of document"]

3) monitoring the difference between new file and log files

The difference shows empty as if nothing is logged by doing Change Type.

Is there any module I should turn on in log4j in order to capture this log?

douglascrp
World-Class Innovator
World-Class Innovator

Try your browser's Developer tools.

I guess you will be able to get useful information by checking the network tab and the console.

Hi

The network tab gives a 500 Internal server error:

Console:

douglascrp
World-Class Innovator
World-Class Innovator

Ok, so, please, copy that nodeRef value, the one starting with "workspace://".

Go to the Admin Tools, Node Browser, paste that value in the texto box, select NodeRef in the combo just after it, and then click the Search button.

After that, you should see a screen containing some internal information, like path, type, properties, aspects.

Share that image with us.

‌ here is the screen shot

douglascrp
World-Class Innovator
World-Class Innovator

Sorry. One more step.

Click on the name of the object, and then share THAT screen.

‌ this is the screenshot

douglascrp
World-Class Innovator
World-Class Innovator

Well, that is weird.

What I wanted to confirm is that you are dealing with a cm:content object.

Can you share you custom content model xml file?

Hi Douglas C. R. Paes‌.. thank you for your patience

I have created these three files for custom type in tomcat/shared/classes/alfresco/extension/company/model/

which I am attaching here. and the deployed the model using admin-repoconsole. Edited share-config-custom.xml to show the properties in share menus. Restarted alfresco.