Configuration changes in fragment not reflecting on the form | Community
Skip to main content
Level 2
January 17, 2023
Solved

Configuration changes in fragment not reflecting on the form

  • January 17, 2023
  • 2 replies
  • 1031 views

Hi Team,

 

I am using AEM forms to capture user inputs. I am deploying the configuration updates on the fragment like the pattern (regular expression), max length, css changes on the fields. I can see that configuration changes which i did are present when viewed via CRX,  but it does not reflect on the page where the fragment is added.

 

It would be great if someone can share the resolution for the same.

 

Thanks,

Raghu 

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

@raghud1980 

The adaptive form fragment is inserted by reference in the adaptive form and is synchronized with the standalone adaptive form fragment. So when you're updating the adaptive form fragment configuration, the changes should reflect in all adaptive forms where the fragment is used, more info[0].

Can you check the following:

  • Are the changes reflected in the standalone fragment?
  • If a Publish instance, please republish the updated adaptive form fragment.

[0] - https://experienceleague.adobe.com/docs/experience-manager-64/forms/adaptive-forms-basic-authoring/adaptive-form-fragments.html?lang=en 

2 replies

Vijay_Katoch
Community Advisor
Community Advisor
January 17, 2023

A quick check, to see if the fragments are not embedded in the Form.

Pulkit_Jain_
Adobe Employee
Pulkit_Jain_Adobe EmployeeAccepted solution
Adobe Employee
January 17, 2023

@raghud1980 

The adaptive form fragment is inserted by reference in the adaptive form and is synchronized with the standalone adaptive form fragment. So when you're updating the adaptive form fragment configuration, the changes should reflect in all adaptive forms where the fragment is used, more info[0].

Can you check the following:

  • Are the changes reflected in the standalone fragment?
  • If a Publish instance, please republish the updated adaptive form fragment.

[0] - https://experienceleague.adobe.com/docs/experience-manager-64/forms/adaptive-forms-basic-authoring/adaptive-form-fragments.html?lang=en 

Level 2
January 19, 2023

Re-publishing the adaptive form fragment helped resolve the issue. But do you know if there is any specific reason why it does not reflect, even though configuration is already present on both author and publish instance. I mean this should start reflecting once the latest configuration is deployed right. Please share your thoughts 

Pulkit_Jain_
Adobe Employee
Adobe Employee
January 19, 2023

Haven't tried deploying the configuration changes as such, but it seems the properties were present in the repo but not published for this fragment. 

BTW, how are you making the configuration changes to a fragment?