No inputs shown for my transform resource
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2023 12:53 PM
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.
I was expecting the properties to appear as shown here:
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": ""
}]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 09:22 AM
@thomaskennedy , Can you open the macroponent definition of the page where you have added the transform data resource. Check the screenshot below.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 09:46 AM
It's there.
"inputValues" : {
"inputTable" : {
"type" : "CONTEXT_BINDING",
"binding" : {
"address" : [ "table" ],
"category" : "props"
}
},
I removed the readOnly property and all the params appeared. ((Shrug))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 08:40 PM - edited 12-11-2023 08:41 PM
@thomaskennedy Great!
Please mark my answer as helpful👍 if it helped you achieving your requirement.