Cascading Dropdown Issue

ashitasaxena
Champ on-the-rise
Champ on-the-rise

Hi everyone,

I am working on cascading dropdown.There are two dependent dropdowns in my form and  for first dropdown i have a constraint that is loading the values dynamically from database  and on selecting  a value from ist dropdown  second dropdown is to be populated  For that i have written a ftl that is calling a java backed webscript.Everything is working fine .

The main issue i am facing is that  second dropdown shown on the form is configured through ftl .It is not a model  property/metadata,corresponding metadata/field is hidden so I am getting second dropdown(shown through ftl) empty  when Edit properties  form /Edit properties popup is opened .For that also  on loading of window I have set the value . But  on folder details page in metadata section the field is not visible. Waiting  for immediate reply . If anyone has ever implemented  the solution for it  Please discuss how to resolve the issue of getting saved value from repository on Edit properties popup/page and on folder details page.

2 REPLIES 2

douglascrp
World-Class Innovator
World-Class Innovator

I have this addon that I'm using for quite some time already

GitHub - douglascrp/alfresco-value-assistance: Configurable value assistance module for Alfresco Sha... 

It is not database driven, but it can be used to give you some ideas.

Hi 

I have'nt used addon before .Could you please elaborate how using this addon can resolve the problem. Because the issue is on Edit edit properties popup 

Is there any help that I could get in the above problem or someone who has ever implemented cascading dropdown with the same method so that i could continue with the same  solution ?

Thanks in advance