Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
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: 
qliktime
Partner - Contributor III
Partner - Contributor III

Can't use Sharepoint folder as report destination

I have a Qlik Sense deployment with an Nprinting server, and some tasks that stores reports to destination folders,

It works well to store Nprinting reports into

\\qliksenseserver\Share\Nprinting,

which confirms that the Nprinting service account can write to shared network folders.

However, I'm now trying to store reports into a Sharepoint document folder. I can myself access the sharepoint folder in windows explorer by using a path like:

\\sharepoint-server\sites\k00000123\SharedDocuments\Nprinting

I'm the owner of the sharepoint site and I've added the Nprinting domain account as contributor to the sharepoint site. 
I'm still getting 
Error trying to save report in folder '\\sharepoint-server\sites\k00000123\SharedDocuments\Nprinting'. ERROR: Access to the path '\\sharepoint-server\sites\k00000123\SharedDocuments\Nprinting' is denied.

when I'm running the Nprinting task.

Any ideas?

 

Labels (2)
11 Replies
andregas
Partner - Creator II
Partner - Creator II

Hi @qliktime,

I also tried to save reports from NPrinting to SharePoint but it failed.
I confirm that SharePoint uses WebDav to access the folder as if it were a network path. I also managed to configure the user to manage the login and NPrinting was able to write.
However, NPrinting often ran into an error: when it generates the file, it first writes a temporary file and then renames it with the real final name, this operation was often blocked (especially for large files) because SharePoint was still synchronizing the file when NPrinting tried to rename it.

I solved it by having NPrinting write to a local temporary path and then a batch moves the files from one path to another. To synchronize the activities, so that they seem automatic, I used the NPrinting REST API to launch the task.

qliktime
Partner - Contributor III
Partner - Contributor III
Author

Ok seems good to know.

I think I will trigger the Nprinting tasks from QlikSense and then use "External program task" with powershell to move the files.