Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have several issues related to scalability. In my app, I have a banner that contains various filters. On virtually all pages in the application I have the same filter pane (Criteria01, Criteria02, Criteria03). The application is 25 pages, so I have added a filter pane 25 times. Because the implementation of 25 separate instances of what should be the “same object”, minor inconsistencies inadvertently occur. For example, the sort order is ascending in one filter pane field and descending in another. Ensuring consistency has proven to be very time consuming. Additionally, after presenting the application to the end users it was determined that we need a new dimension for “Criteria04”. Consequently I need to modify 25 different filter pane objects for even the most minor modifications. This method is not easily scalable. I would much prefer a methodology which promotes object reusability, something similar to CSS. This would allow me to create one filter pane class that can be inherited. How do I implement basic Object Oriented Programming techniques when building Qlik Sense applications?
You will want to use Master Items.
1. Create the Filter Pane on one sheet.
2. In edit mode, right-click and select "Add to master items". Assign a proper name,
3. For the other sheets, drag the filter from the Masters Items asset panel on to the canvas.
-Rob
BTW, you posted this question in QlikView Forum, which is why I needed to ask for clarification. You might want to move it to the Qlik Sense forum. There is a "move" in the upper right of the screen.
Is this Qlik Sense or QlikView? If QlikView, you should be using Linked Objects.
-Rob
How do I implement basic Object Oriented Programming techniques when building Qlik Sense applications?
Thanks for your response.
You will want to use Master Items.
1. Create the Filter Pane on one sheet.
2. In edit mode, right-click and select "Add to master items". Assign a proper name,
3. For the other sheets, drag the filter from the Masters Items asset panel on to the canvas.
-Rob
BTW, you posted this question in QlikView Forum, which is why I needed to ask for clarification. You might want to move it to the Qlik Sense forum. There is a "move" in the upper right of the screen.
Hi R0b,
Your recommendation is a significant improvement on the method I am currently using! Thanks for that. I do have a follow up question. How can this approach be scaled to function across multiple applications? For example, I would like to include a company logo on all of my apps in the bottom left hand corner and a legal statement regarding terms of use and security requirements at the bottom right hand corner. Though these objects are updated infrequently, I would like to be able to roll these changes out at an enterprise level and not an application level. Is there a global master items or a page template object which could cascade changes to multiple applications?
You may be able to create a standard imprint like that using the new QS Themes
More Qlik Sense Themes (updated with 3.2)
You may also want to look at the "Architeqt" project on Qlik Branch
-Rob