Form set via UI Builder’s viewport shows only the table name and no fields

Amane1
Giga Guru

Hi Community. 

 

I have been creating a page using UB and I have encountered this issue.

First, I have set viewport to show another form since using same form multiple times is not doable in UB.

In UXF Macroponent, I am passing sys_id to the viewport(subpage).

image (4).png

 

 

 

Then, in the viewport, set the value to sys_id in the form controller.

image (2).png

 

 

 

 

 

 

 

I have logged it on the browser console if the value is proper using console.log and it looks just fine which is sys_id.
image (1).png

image.png

 

 

 

 

 

 

However, the form only shows its table name but fields.

1 .png

 

 

 

 

 

If I set a static value (any value from the list shows when the magnifying glass mark is being clicked) to the sys_id  the form shows its fields properly.

image (3).pngimage (5).png

 

I could not find any sources about this issue which led me here. It seems nothing to do with neither ACLs nor UI policies.

1 ACCEPTED SOLUTION

Amane1
Giga Guru

The sys_id was incompatible with the table, so the table didn't display any fields.

View solution in original post

1 REPLY 1

Amane1
Giga Guru

The sys_id was incompatible with the table, so the table didn't display any fields.