cancel
Showing results for 
Search instead for 
Did you mean: 

Created aspect but not showing in share

JayQueue
Champ on-the-rise
Champ on-the-rise

Hello,

I get to work on an existing model, magda-model.xml

In magda-model.xml I created the aspect magda:test

<aspects>
<aspect name="magda:test">
            <title>Magda testing</title>
            <properties>
                <property name="magda:TestId">
                    <type>d:text</type>
                </property>
            </properties>
</aspect>
....
</aspects>

And set it mandatory with the type

<mandatory-aspects>
                <aspect>magda:test</aspect>
                <aspect>magda:customer</aspect>
                <aspect>magda:recipient</aspect>
                <aspect>magda:sender</aspect>
                <aspect>magda:payment</aspect>
                <aspect>magda:delivery</aspect>
</mandatory-aspects>

in share-config-custom.xml I add the <visible>

<config evaluator="string-compare" condition="DocumentLibrary">
        <aspects>
    <!-- Aspects that a user can see -->
            <visible>
                <aspect name="magda:test" />
            </visible>
        </aspects>
 </config>

In the <host>:8080/share I  see the Magda Testing in the list

image"Manage aspects"

But I can't see the properties with the file. All the other Magda aspects properties are visible. What am I missing here?

Thanks!

-Jonathan

1 REPLY 1

angelborroy
Community Manager Community Manager
Community Manager

You need to define the Share form:

https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html#configur...

It's the same thing for TYPES and ASPECTS

Hyland Developer Evangelist