Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
curiousfellow
Specialist
Specialist

Set "preserve scroll position" by default

Is it possible to set "preserve scroll position" by default ?

Now I have to set it for every object. Searched for a setting but could not find it.

We are using Qlikview May 2021 SR 1

Labels (1)
1 Solution

Accepted Solutions
Stephen378Baker
Contributor
Contributor


@curiousfellow wrote: Dog Likes Best

Is it possible to set "preserve scroll position" by default ?

Now I have to set it for every object. Searched for a setting but could not find it.

We are using Qlikview May 2021 SR 1


Unfortunately, there is no global setting to set “preserve scroll position” by default for all objects in QlikView. You have to enable this option manually for each object that you want to preserve the scroll position.

However, there are some workarounds that you can try to make this process easier:

You can use a macro to set the “preserve scroll position” property for all objects in your document. You can run this macro once when you open the document or whenever you add a new object. You can find an example of such a macro in this forum post.
You can use a template document that has the “preserve scroll position” option enabled for all objects. You can copy and paste the objects from this template to your new document or use the binary load option to load the data and layout from the template. You can find more information about binary load in this help page.
You can use a script to loop through all objects in your document and set the “preserve scroll position” property using the SetProperties method. You can find more information about the SetProperties method in this help page.
I hope this helps you solve your problem.

View solution in original post

2 Replies
Stephen378Baker
Contributor
Contributor


@curiousfellow wrote: Dog Likes Best

Is it possible to set "preserve scroll position" by default ?

Now I have to set it for every object. Searched for a setting but could not find it.

We are using Qlikview May 2021 SR 1


Unfortunately, there is no global setting to set “preserve scroll position” by default for all objects in QlikView. You have to enable this option manually for each object that you want to preserve the scroll position.

However, there are some workarounds that you can try to make this process easier:

You can use a macro to set the “preserve scroll position” property for all objects in your document. You can run this macro once when you open the document or whenever you add a new object. You can find an example of such a macro in this forum post.
You can use a template document that has the “preserve scroll position” option enabled for all objects. You can copy and paste the objects from this template to your new document or use the binary load option to load the data and layout from the template. You can find more information about binary load in this help page.
You can use a script to loop through all objects in your document and set the “preserve scroll position” property using the SetProperties method. You can find more information about the SetProperties method in this help page.
I hope this helps you solve your problem.

curiousfellow
Specialist
Specialist
Author

Thank you for your answer, allthough I am not a fan of using macro's I will dive into this.
When I run it once for exististing qvw I have to remind myself to set it immediately for a new object 🙂