AnsweredAssumed Answered

Form control for multiple association on aspect reference

Question asked by 4535992 on Apr 10, 2019
Latest reply on May 15, 2019 by 4535992

Hi i need to emulate the dialog show from the action "manage-aspects" , on a field form control on Alfresco Share.


My point is to make the user select a list of aspect and send that list to the java backend service code with the post of the from and in that moment i use the aspects selected from the user for making things on the java code.


I have tried to emulate the  Multiple association with person nodes

(you can find a example on this project GitHub - angelborroy/alfresco-controls: Samples for Alfresco Share controls )


This is a simple model:


<?xml version="1.0" encoding="UTF-8"?>
<model name="up:testModel" xmlns="">




         <!-- Import Alfresco Dictionary Definitions -->
         <import uri="" prefix="d"/>
         <!-- Import Alfresco Content Domain Model Definitions -->
         <import uri="" prefix="cm"/>
         <!-- Import Alfresco Data List Model Definitions -->
         <import uri="" prefix="dl"/>


        <namespace uri="extension" prefix="up"/>
        <aspect name="up:test">
                <property name="up:testMultipleText">
                  <index enabled="true">
                <association name="up:testMultipleAssociation">




I need to save  a list of name of the aspects or a list of associations to the aspects on the post of the form.


Anyone have already done this?