No inputs shown for my transform resource

thomaskennedy
Tera Guru

I've added a transform data resource in my UI Builder page, and that works fine, but now I want to bind it to some client state params, and I find that the inputs are not shown on the Config panel.

 

thomaskennedy_0-1702068180606.png

I was expecting the properties to appear as shown here:

 

thomaskennedy_1-1702068599527.png

My properties are:

[
{
"name": "hint_index",
"label": "Index (hint)",
"description": "User can jump to a row #",
"readOnly": true,
"fieldType": "number",
"mandatory": false,
"defaultValue": null
},
{
"name": "hint_serial_id",
"label": "Serial id (hint)",
"description": "User can search by Serial ID",
"readOnly": true,
"fieldType": "string",
"mandatory": false,
"defaultValue": ""
},
{
"name": "hint_part_id",
"label": "Part id (hint)",
"description": "User can search by Part ID",
"readOnly": true,
"fieldType": "string",
"mandatory": false,
"defaultValue": ""
},
{
"name": "hint_part_group",
"label": "Part group (hint)",
"description": "User can search by Part Group",
"readOnly": true,
"fieldType": "string",
"mandatory": false,
"defaultValue": ""
},
{
"name": "page",
"label": "Page number",
"description": "",
"readOnly": true,
"fieldType": "number",
"mandatory": false,
"defaultValue": ""
}
]

I also tried reducing that to:

[
    {
        "name": "hint_serial_id",
        "label": "Serial id (hint)",
        "description": "User can search by Serial ID",
        "readOnly": true,
        "fieldType": "string",
        "mandatory": false,
        "defaultValue": ""
    }]

 

 

 

 

3 REPLIES 3

Dibyaratnam
Tera Sage

@thomaskennedy , Can you open the macroponent definition of the page where you have added the transform data resource. Check the screenshot below.

DSam1_0-1702315022734.png

On your UIB page, navigate as shown in screenshot & click on open page definition. Go to Data and search for your data broker and check if there is any inputvalue key mapping present or not. If it's there then you should clear your cache and check. It should come up.Find the below reference image.

DSam1_1-1702315347374.png

 

 

It's there.

  "inputValues" : {
    "inputTable" : {
      "type" : "CONTEXT_BINDING",
      "binding" : {
        "address" : [ "table" ],
        "category" : "props"
      }
    },

I removed the readOnly property and all the params appeared. ((Shrug))

@thomaskennedy Great!

 

Please mark my answer as helpful👍 if it helped you achieving your requirement.