Content Fragment - set the input fields through ajax call

Avatar

Avatar
Level 1
ajayk62689618
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
ajayk62689618
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
ajayk62689618
Level 1

26-08-2020

Hi,

 

I have few input fields and created button(converted single line text to button) on content fragment.

When i click button on content fragment, the input fields are updated through ajax call response data, But when i am trying to save the updated values that is present in the input fields via default save button on the TOP is not updating to Content fragment.

 

If i edit any input fields in content fragment, then newly updated values are saved to content fragment via SAVE button on top.

 

Is there a way to customize the save action ?

 

Thank you.

Accepted Solutions (0)

Answers (4)

Answers (4)

Avatar

Avatar
Seeker
MVP
Suraj_Kamdi
MVP

Likes

152 likes

Total Posts

164 posts

Correct reply

44 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Springboard
Validate 1
View profile

Avatar
Seeker
MVP
Suraj_Kamdi
MVP

Likes

152 likes

Total Posts

164 posts

Correct reply

44 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Springboard
Validate 1
View profile
Suraj_Kamdi
MVP

27-08-2020

@ajayk62689618 Can you please provide a sample code snippet or any screenshot related to your issue ? 

It will be really helpful to understand the issue.

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,205 likes

Total Posts

6,410 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,205 likes

Total Posts

6,410 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

27-08-2020

@Suraj_Kamdi @surabhikatiyar @nidhip010816  request your assists to this question.

Avatar

Avatar
Ignite 1
Level 2
NehaCMS
Level 2

Likes

19 likes

Total Posts

40 posts

Correct reply

2 solutions
Top badges earned
Ignite 1
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Ignite 1
Level 2
NehaCMS
Level 2

Likes

19 likes

Total Posts

40 posts

Correct reply

2 solutions
Top badges earned
Ignite 1
Validate 1
Boost 5
Boost 3
Boost 10
View profile
NehaCMS
Level 2

30-01-2021

Thanks @Suraj_Kamdi for update above. As this is not available OOTB , can similar be customized. Any event that can be referred while opening content fragment and prepopulatingvalue.

cc:- @ajayk62689618 @kautuk_sahni 

Avatar

Avatar
Ignite 1
Level 2
NehaCMS
Level 2

Likes

19 likes

Total Posts

40 posts

Correct reply

2 solutions
Top badges earned
Ignite 1
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Ignite 1
Level 2
NehaCMS
Level 2

Likes

19 likes

Total Posts

40 posts

Correct reply

2 solutions
Top badges earned
Ignite 1
Validate 1
Boost 5
Boost 3
Boost 10
View profile
NehaCMS
Level 2

29-01-2021

Hi @ajayk62689618 @Suraj_Kamdi @kautuk_sahni - Wanted to check if it is possible to prepopulate a text field as readonly while creating a content fragment. For example Content Fragment A when I create should have value in field A as S1 and next content fragment i create should read already save content fragment property field A value and prepopulate content fragment B field A value as S2.