02-13-2018 04:50 PM
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
02-22-2018 02:42 PM
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.
02-13-2018 05:21 PM
Hi:
As a walkaround, you can define a custom type that include the corresponding aspect as mandatory.
Regards.
--C.
02-13-2018 05:40 PM
are you suggesting to create model using Model Manager.?
I created a new model abc:model1 through Model Manger in Admin tools. Inside that I created Aspect and selected my aspect which has the metadata that I want. Dragged metadata one by one in Layout designer of the Aspect. This model showed up in Allowed Types of Uploader Plus. But my metadata didn't show up as expected.
02-14-2018 06:45 AM
02-13-2018 06:46 PM
02-14-2018 02:29 AM
In that case, it is preferable doing it via bootstrap, where you can define different forms for Share view. Probably if you export the content model created in model manager, you only can see one of the forms. Check the following link:
Working with custom content types · softwareloop/uploader-plus Wiki · GitHub
Regards.
--C.
02-15-2018 05:02 PM
02-16-2018 07:07 AM
Hi:
Please, provide the corresponding alfresco and share logs for futher details.
Regards.
--C.
02-16-2018 07:53 AM
The Change Type action has nothing to do with Uploader Plus.
You have to understand you can not change type freely. There are rules that are enforced by Alfresco, like, once you change from cm:content to your, lets say, custom:type, there is no way to change back to the original type.
Another one is that you can not change types between sibling types. The only way you can go is from parent to child.
I imagine, by the thread contenxt, that you uploaded a document, using Uploader Plus to set the type, and then you are trying to use the Change Type action to do another change.
If that is the case, my previous explanation would explain why it is not working.
I hope that is clear enough.
02-16-2018 11:31 AM
Hi Douglas C. R. Paes,
I understand that we cannot go back to the parent in types. If I am in custom:type, I cannot go back to the parent or it's sibling since the option will not show up in the dropdown of Change Type.
But in my case, I am creating a plain text file, Change Type dropdown is showing my custom:type. And yet, it gives this message "Unable to change type of document"
Explore our Alfresco products with the links below. Use labels to filter content by product module.