Remote Table use in Catalog Item Variable, inform about slow loading

Mikael Karlsson
Kilo Sage

Anyone got a good idea how to set the expectations of users when using Remote Table in a Catalog Item?

My query takes about 10 seconds to load, and if i have the variable without any other triggering field it tries to load when the user enters the item and the user only gets a white page until it's finished loading.

 

The other option is to have a message setting expectations in the form, and then trigger the loading of the next remote dropdown after a certain choice has been made.

 

Ideally i'd like the form to keep the variable read-only with a message saying (loading, please wait..) until it's populated. I know all of this can be accomplished using client script but i'd like to refrain from using those as far as possible. It would be great if there were some kind of hidden attribute for loading variable data in background while keeping the form visible.

1 ACCEPTED SOLUTION

Mark Manders
Mega Patron

Unfortunately, there is no such attribute. The client script really is your way to go. I understand you not wanting to use them unless it's absolutely necessary, but looking at your requirement it's either what you have now, without any explanation, or the client script.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

View solution in original post

1 REPLY 1

Mark Manders
Mega Patron

Unfortunately, there is no such attribute. The client script really is your way to go. I understand you not wanting to use them unless it's absolutely necessary, but looking at your requirement it's either what you have now, without any explanation, or the client script.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark