0 Replies Latest reply on Aug 10, 2012 4:40 AM by BenZahler

    Send parameters to JSON service from dialog.xml

    BenZahler Level 1

      Hi all,

      I have a custom component in CQ5.4.


      When an author adds the component to a page and sets the properties of the component, for one specific property, he should choose from a "select" dropdownbox. The options are retrieved from a JSON service.


      So far, it works nicely with the following dialog.xml configuration:



                          fieldLabel="Field name"






      Now my issue is, that options should not be fixed, but should depend on a property (name is processId) of a parent component.

      So the options URL should look something like


      where processId is different every time.


      Is there a way to do this?


      An alternative would be if I could pass the crx path of the current component, because that would enable me to reconstruct the parent component, but I do not see a way to achieve this.


      thanks for any hints or ideas!