Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Design dialog values not reflecting in edit dialog Core Image V2 component

Avatar

Avatar
Level 1
padmaja_seshadri
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
padmaja_seshadri
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
padmaja_seshadri
Level 1

17-09-2020

I am trying to extend core image v2 component with some additional properties in the edit dialog. Everything works fine. When we try to modify something in the design dialog ( for ex : Check "Get alt value from DAM" in the design dialog). The same property is not checked in the edit dialog in edit mode. 

Similary, i disabled "allowUpload" property in design mode, still I get the option to browse file from system.

How do I enable or disable these properties, in the template design so that it reflects the same in edit mode? 

P.S : We are using static temp

 

Below is the image in design mode 

image.png

 

Below is the image in edit mode 

image.pnglates.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 50
MVP
Vijayalakshmi_S
MVP

Likes

436 likes

Total Posts

574 posts

Correct Reply

191 solutions
Top badges earned
Give Back 50
Give Back 5
Ignite 10
Ignite 5
Ignite 3
View profile

Avatar
Give Back 50
MVP
Vijayalakshmi_S
MVP

Likes

436 likes

Total Posts

574 posts

Correct Reply

191 solutions
Top badges earned
Give Back 50
Give Back 5
Ignite 10
Ignite 5
Ignite 3
View profile
Vijayalakshmi_S
MVP

17-09-2020

Hi @padmaja_seshadri,

Regarding allowUpload, per core components version 2.8.0, allowUpload property is not set at first place on asset/fileupload resource (/apps/core/wcm/components/image/v2/image/cq:dialog/content/items/tabs/items/asset/items/columns/items/column/items/file). Design value of the same (using cqDesign) is not used and hence no effect. 

For the other field (Alternative text from DAM), can you confirm if the design values are persisted in /etc/designs/.. path (provided the design path is set so for your project in case of static template)

Also, share the core components version that you are using. 

 

Answers (0)