Expand my Community achievements bar.

SOLVED

JSON Schema form Elements not updating values in Old Forms

Avatar

Level 4

Hi All,

 

We have created one JSON schema and we have created some forms using the form elements in the Schema.

 

For example :we have created a Text Box with Title "Name" and we have created some forms with that.

 

Now we have updated the Title of the text bold  in the JSON schema from "Name" to "Name Updated".

 

In old forms created the changes are not getting reflected.

 

Though in new forms once i add the form element the changes i can see.

 

Is this the expected behaviour.

 

What things needs to be done to update the value in Old forms .

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Yes, I tried this. Form is taking the updated node as new element.

I think, its behave like this only, even in LiveCycle designer if we update any node name in schema then we need to remap the field with new node. It will not understand if the node name updated.

View solution in original post

5 Replies

Avatar

Community Advisor

Try to refresh the schema in old forms.

Avatar

Level 4

What about the Form Elements we have Authored...

 

I have authored a Form with "Name" as title initially in the text box but once i update the schema the old forms with the textbox title as "Name" remains that only

 

Though in the same old form if i try to drag and drop same element i am getting values from the updated scheme.

 

But already authored form with existing form text box is not getting updated.

 

 

Avatar

Level 4

Sb2512_0-1672662675528.png

I have changed the title from "Name" to "Name Updated." in the JSON schema.

 

But in below first Text Box below for old forms value of the title remains "Name" only.

I have 100 such forms .I want to update the title from "Name" to Name Updated".

What is the correct process to do that.

 

If i add this updated form element newly by dragging and dropping then its gets updated value but not the existing form element.

 

Below is the screenshot for reference:

 

Screenshot 2023-01-02 at 6.02.22 PM.png

@Mayank_Gandhi @Vijay_Katoch ...any workaround for this.

Avatar

Correct answer by
Community Advisor

Yes, I tried this. Form is taking the updated node as new element.

I think, its behave like this only, even in LiveCycle designer if we update any node name in schema then we need to remap the field with new node. It will not understand if the node name updated.

Avatar

Employee Advisor

@Sb2512 you need to drag the element again to the form.