Expand my Community achievements bar.

Best Approach for this scenario

Avatar

Level 4

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) . 

 

 

4 Replies

Avatar

Level 4

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

Avatar

Level 9

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