We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Using Repeater Component on Standard Record Page in Custom Workspace

deesbe
Tera Expert

Hello,

 

I am trying to setup read-only display of Record Producer questions and answers from question_answer table on my record page in custom built workspace.

 

I was able to create a API connection to fetch the records via REST. The Data Resource is populated correctly:

deesbe_0-1776231663958.png


However, when I try to use it on Repeater component it is always blank, even though it recognizes the correct size of array to be used. I tried to repeat the default value of Heading just to see if it well, repeats. No luck:

deesbe_1-1776232131942.png

 

I have tested this on a blank UI Builder page and all is working fine there.

What could be the issue here?

1 ACCEPTED SOLUTION

deesbe
Tera Expert

My custom GET method required two arguments: 'table_sys_id' and 'table_name' for querying 'question_answer' table.

The problem was that I binded those arguments to Record Form pills.

The GET method failed since pill contents ('table_sys_id' and 'table_name') were not ready during page load. After adding 'REFRESH - Data resource' handler to 'Record data fetch completed' event on my Record Data Resource the repeater populates correctly.

View solution in original post

1 REPLY 1

deesbe
Tera Expert

My custom GET method required two arguments: 'table_sys_id' and 'table_name' for querying 'question_answer' table.

The problem was that I binded those arguments to Record Form pills.

The GET method failed since pill contents ('table_sys_id' and 'table_name') were not ready during page load. After adding 'REFRESH - Data resource' handler to 'Record data fetch completed' event on my Record Data Resource the repeater populates correctly.