Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
andrewmo
Creator
Creator

NPrinting April 2018 applying filters to wrong connection

Hello,

I have submitted a ticket to the support portal for the issues I'm about to describe, but figured I would start a discussion just in case anyone else has experienced the issue.

I have built a collection of reports for an nPrinting app.

This app has 5 different connections.

Those connections have different user filters applied.

I have run into an issue where a report generated from one connection tries to apply filters from a different connection causing the report to fail for those users with an active filter.

Has anyone else encountered this? If so, did you find a solution?

Thank you

15 Replies
andrewmo
Creator
Creator
Author

Thank you for the detailed explanation, helps a lot. In my case the "different times" scenario fits. So I will need to create a task to update the user filters prior to ANY reports being generated regardless of connection or else it will fail...correct?

Ruggero_Piccoli
Support
Support

Yes, you have to change the user filters for example via import task.



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
ngulliver
Partner - Specialist III
Partner - Specialist III

Hi, Andrew.

I think we are experiencing the same issue with the same version of NPrinting as yourself.

That is to say we have two dashboards with two different connections. A user has a filter for each connection but when the NPrinting task is run it picks up both filters, not just the filter associated with that connection/dashboard.

What was the response on your ticket ?

Regards,

Neil.

Ruggero_Piccoli
Support
Support

Hi,

Qlik NPrinting applies only the filters related to the connections used in the reports it is creating.

Best Regards,

Ruggero

---------------------------------------------

When applicable please mark the appropriate replies as CORRECT https://community.qlik.com/docs/DOC-14806. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
andrewcraven
Contributor II
Contributor II

Hi Guys,

Still struggling with a version of this problem (NPrinting 17.6):  one dashboard, one NPrinting App, one connection.  Want to distribute 3 emails to same individual over the span of a day that will use Import tasks to create/update/remove users, groups, and filters, then distribute reports based on those filters.  My filters are idiosyncratically named by user; examples:


Filter 1:  Name = "PM Distro Filter - johnsmith@somedomain.com"; Values = [field1]={"value1","value2"}

Filter 2:  Name = "CM Distro Filter - johnsmith@somedomain.com"; Values = [field2]={"value3","value4"}

Filter 3:  Name = "Hot Item Filter = johnsmith@somedomain.com"; Values = [field3]={"value5"}

I build these filters dynamically via Qlikview Charts, save them to a network drive, then use Import Task for the create, update, delete.  But what ends up happening is that a single NPrinting user ends up with three filters, and all three filters are applied for each task run, and since field1, field2, and field3 all exist I end up with the logical AND mentioned by Daniel Jenkins, so bad report.

This is my workaround, please tell me if there's a better way:

PM Distro at 10 AM:

-Run Publish Task "Delete My Filters" which saves an empty import file X.xlsx to the network.

-Run the Import Task X to ingest this empty file to delete all filters previously created by Import Task X.

-Run a Publish Task from the dashboard (to same file X.xlsx to the network), creating a single filter, idiosyncratically named by user: "Dashboard johnsmith@somedomain.com"; Values = whatever i want. 

-Run the Import Task X again, creating the filter.

-Run the Distro Publish Task that sends the emails.


CM Distro at 12 PM:

-[Repeat steps above, wiping and recreating the filter as needed]

Hot Item Distro at 2 PM:

-[same]

I tried to skip the Delete step, but then the values get appended to the filter--which was unexpected.  I thought it should just update.

andy

Ruggero_Piccoli
Support
Support

Hi,

Please open a new conversation for a new problem. Thanks.

Best Regards,

Ruggero

---------------------------------------------

When applicable please mark the appropriate replies as CORRECT https://community.qlik.com/docs/DOC-14806. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.