UI policies/Client scripts too slow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2016 09:38 AM
Hi,
I am trying to use UI polices or client scripts to hide values on a catalog order guide. But when I go to the pages, and catalog items, it lags when the page loads, and I can see the values briefly before they hide. Is there a way to hide the items without causing this slowdown in loading the page? I don't want users to get confused when they see the fields before it hides, can I speed this up somehow so that page loads without anyone seeing the values before the UI policies/client scripts kick in? Same issue happens on the catalog order page as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2016 09:40 AM
Do you have many UI Policies or Client scripts that run when the form loads/load at the same order?
If so you can perhaps try to lower the order value of the ui policies that hide your fields to run before some of the other ones.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2016 09:47 AM
I have tried that. but it still is slow in loading the UI policies.
I also have 3 client scripts running on the same field. Maybe that is the issue?
They are for a list collector variable, and I am using 3 scripts to
filter the results in the list collector
change the headers of the list collector
and resize the width of it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2016 09:49 AM
Have you tried disabling those temporarily to see if you still have the slow loading issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2016 09:52 AM
Yes, and it seems the issue is better but not fully gone. Is there a way to set the page from not showing until all the items and policies have been rendered?