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

cesarista
World-Class Innovator
World-Class Innovator

Hi:

As a walkaround, you can define a custom type that include the corresponding aspect as mandatory.

Regards.

--C.

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.

douglascrp
World-Class Innovator
World-Class Innovator

Using Model Manager you won't be able to define aspects as mandatory for the custom type.

For that, follow ‌'s recommendation and define your model using xml.

‌ Let me know if I am missing something or if you were suggesting something else