Creating dynamic forms for Views

I have a requirement to configure dynamic forms for a view,followed below steps but UI is not rendering. Did anyone implemented?

1. An assignment to collect info and for dynamic form.

2.Updated view rule to configure dynamic form entry

View MataData:

{

“children”: [{

"children": \[\],

"name": "Fields",

"type": "Region"

}],

“type”: “reference”,

“config”: {

"name": "@P .pyDynamicView",

"inheritedProps": \[\],

"type": "view"

},

“config”: {

"NumCols": "1",

"localeReference": "@LR ABC -ABCCare-Work-XYZ!VIEW!DynamicForm",

"ruleClass": "ABC -ABCCare-Work-XYZ",

"template": "DefaultForm"

},

“name”: “DynamicForm”,

“type”: “View”

}

Context MetaData:

{

“$classesmetadata”: [],

“$views”: [],

“$dynamicFields”: [

{

  "context": "",

  "metadata":".DynamicForm",     

  "preDatatransform": "RunDataTransform"

}\],

“$pagelists”: []

3. Data Transform Configuration

4.Capturing meta data into the DynamicForm property as JSON.

Creating dynamic forms for Views

This part should be present inside the root children array’s object. But from your code, it seems to be completely misplaced and placed directly in the root. Update the structure according to the documentation and try it again.

Hi @VVNagaSaiN Thanks for your response.

updated the code as per your request still it is not responsive.

Did you ever get any further with this? I would really like to use this.

The dynamic form was not rendering because the configuration was placed in the wrong part of the JSON structure. Instead of sitting inside the object within the “children” array, it was placed directly at the root level, which is incorrect. To fix this, move that configuration block so it is properly nested inside the children array, matching the structure shown in Pega’s official documentation for dynamic forms. Once the JSON is restructured correctly, save the view and test it again to confirm the form renders as expected.