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

Component copy paste values should not be saved

Avatar

Avatar
Validate 1
Level 1
yashaswidotiya
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
yashaswidotiya
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
yashaswidotiya
Level 1

28-04-2020

Hi All,

 

Is there a way to just copy the component and not its dialog element value ?

we have a textfield which we are populating with random number and it should be unique for each authored component. But when I copy paste component, the textfield value is also getting copied. I am trying to find a way if there can be a way to read this event and values are not copied.

 

Thanks in advannce !!!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,428 likes

Total Posts

3,300 posts

Correct Reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,428 likes

Total Posts

3,300 posts

Correct Reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

28-04-2020

Hi,

There is no way to avoid that until you write an explicit event listener on property added. But it will execute for all the time.

If this field is not mandatory then remove this property and if dialog open again, it will be pre-filled with random number and then you can save dialog again.

Answers (2)

Answers (2)

Avatar

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

131 likes

Total Posts

234 posts

Correct Reply

39 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

131 likes

Total Posts

234 posts

Correct Reply

39 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
Singaiah_Chintalapudi
MVP

28-04-2020

When you copy the component(s) then all of its properties would be carried over. There is no OOTB feature to exclude some.

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct Reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct Reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

28-04-2020

@yashaswidotiya Are you trying to copy the content node ? If I understand your question properly , I think you are copying the content node via back-end code and creating copies of the same . When you do copy of node, please be informed that values also will get copied. You can then replace the values in those nodes as required.