Best Approach for this scenario | Community
Skip to main content
Level 4
August 22, 2020
Question

Best Approach for this scenario

  • August 22, 2020
  • 2 replies
  • 1104 views

I have an image and video dropdown based on which the following field for video or image link is displayed.. I have a requirement to save the value from the selected field to a single property in jcr.

 

i.e If the video was selected the link property should be video link and the next time when the image is selected the link should be updated to image link. 

I have a sling model using which this data is exposed as json and final json should have only one value for the link (image or video) . 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Level 8
August 23, 2020

Are you using adaptive forms?

AEMnewbieAuthor
Level 4
August 23, 2020

No i am not using adaptive forms !! I have a custom component dialog where these fields are entered

Level 8
August 23, 2020

You will probably get quicker responses if you move this query to AEM forums instead of AEM forms

AEMnewbieAuthor
Level 4
August 23, 2020
Sure Let me do that ! Thanks!