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
Francesco Corti Can you please provide your thoughts on this?
Thanks.
Hi Deepak,
I think you can reach the goal using the behaviours.
Behaviours / Policies | Alfresco Documentation
I hope this will help you.
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.
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.
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.?
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.