Display Only Form: "Component is not configured"

nimetullahk
Tera Contributor

I have a Viewport Component and inside that a Display Only Form Component. I'm passing the sys_id of the record that I want to display in the Display Only Form Component via the required page parameters to the Viewport. But unfortunately the Display Only Form Component is at first displaying "Component is not configured" and only displaying the correct data after a couple of seconds.

 

Is there a way to hide the Display Only Form Component as long as it's fetching the data and isn't ready to display the form? I tried it with page events, but that did not work. 

 

My second idea was to hide the Display Only Form Component for a certain period of time and to replace it with a Loader Component until the data is fetched. But I don't know how I would implement this.

 

Any ideas?

13 REPLIES 13

VikramjeetS
Tera Contributor

Did you find the solution to this issue?

I also have a similar configuration setup where i have created a tab and a component “Display a form”. I am passing sysid of the record dynamically into Display a form component. When page is loaded, the component shows “component not configured” for first 2-3 seconds and then loads the data correctly.

 

i have also verified the dynamic sysid value using a label component and displaying the sysid on it. The sysid value appears on the label immediately as soon as page is loaded. But “Display a form” component takes couple of seconds to load.

Similar issue here, did anyone find a solution for this?

Fabio Fragapane
Tera Contributor

Hello, would be great if someone has a solution for this and can share it here!. Thanks!

BenSB
Tera Contributor

Hello everyone, ServiceNow Support provided me a solution for the Display Only Form Component:

On the UI Builder configuration page for the record, we have to select "Show loader on record changes" in the Advanced section. Now, when that page loads, it shows a loader instead of the "Component is not configured..." error on the page. 

This property was available in Yokohama. For some reasons is is not available for me anymore in Zurich.

 

However, I am still facing this issue also for other components like "Form" if I am not binding to the parent Form Controller, but to a new Data Resource.