08-01-2018 03:30 PM
Hi All,
I'm looking for approaches or Code Samples to customize Edit Properties Form behavior based on a property change.
Consider Aspect A has Property A1 (Dropdown type), and this is shown under Edit Properties Form by default.
When the value of Property A1 is set to 'Charges', then this would drive Aspect C to dynamically appear for additional Properties related to Charges.
And, if the value of A1 is changed from 'Charges' to 'Payments', then Aspect C would be removed and instead Aspect P would appear. So, in other words, the value of a Property under one Aspect drives the dynamic display of one-to-many other Aspects on the Edit Properties form.
Please provide your thoughts on this with Code Samples if possible.
Thanks.
Deepak
08-08-2018 01:44 PM
Francesco Corti Can you please provide your thoughts on this?
Thanks.
08-09-2018 04:08 AM
Hi Deepak,
I think you can reach the goal using the behaviours.
Behaviours / Policies | Alfresco Documentation
I hope this will help you.
08-10-2018 07:20 AM
Francesco Corti: Thanks for your reply.
I'm looking for the dynamic rendering of Aspect properties and it's value based on a property change. With Behaviour, the properties need to be applied on the node first then only it will render the aspect props but I'm looking for this rendering before it's saved on the node.
Thanks.
08-10-2018 07:34 AM
I'm not aware about and easy way to do it.
The only way I have in mind is to develop something on the client side, but I discourage from doing this.
If someone else has any other suggestion... please share it here.
05-07-2019 03:55 AM
Hi all,
Alfresco linked form fields - YouTube
Can anybody give their suggestion in implementing this customisation to display different number of fields based on selected value of a drop-down.?
Explore our Alfresco products with the links below. Use labels to filter content by product module.