Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
While opening the NPrinting Designer or click Preview, Its show "A Task was Cancelled" after sometimes.
Can anyone tell what is the problem?
Hi,
Could you add some details, screenshots and log files? Your question is not clear to me.
Best Regards,
Ruggero
PFA of Error details
Im trying to open Nprinting Designer,
Im getting a error,
Hi,
This is a know limitation documented in the official release notes of your version. You can download the release notes from the same web site where you download the setups.
Too many users and filters leads to Qlik NPrinting Designer errors
Qlik NPrinting Designer may be unable to open a report template if there are too many filters associated with a connection in the report's app. The following error message displays: “A task was canceled”.
This typically happens when more than 4000 filters are using fields from a connection. Sometimes, higher numbers can work. For example, 7000 filters have worked in some situations.
The workarounds are:
Best Regards,
Ruggero
Hi @Ruggero_Piccoli.
Thanks for your answer.
I'd like to share how I approached a similar issue.
I was able to open the template editor, but when I tried to save changes or generate a preview, the error message "A task was cancelled" appeared.
In this case, the connections didn't have too many filters (< 200), but too many available objects (> 3900).
The workaround was quite simple, step by step:
Best regards,
LC
Hi @LeandroCapela, thanks for sharing that this can be also a reason for this error. I guess we never knew it could be a reason as I would find difficult to built a template which would require so many objects and I only add to my template objects i need.
as a good practice you should only keep in your template objects you use otherwise you will run into issues and troubles in the future when some of those not used objects will be deleted from source apps etc...
thanks for sharing
Lech
@Lech_Miszkiewicz thanks for the tip.
Actually, the 3900+ objects were available in the source documents, but only ~20% were required.
In this case, undoubtedly the best practice is to be aware of the requirements from the beginning and e.g. create a QVW/QVF exclusively for NPrinting.
However, if someone face the same situation I found in an inherited structure, there's a way to fix.
Cheers,
LC
right... this is different story then... I can easily imagine document with more than 3900 objects (especially with QlikView), and yes, your suggestion to have dedicated document is a way to go!
cheers
Lech