Stored procedures serve as functions that encapsulate and manage operations while accepting input parameters and returning results. Sometimes, when executing these procedures using our drivers, such as 'DownloadAttachment' or 'DownloadPDF ', specific parameters like 'DownloadPath' or ‘DownloadFolder’ are required. It's important to note that 'DownloadPath' and ‘DownloadFolder’ may sometimes contain backslashes (\).
However, since this is a function, the presence of backslashes (\) can occasionally disrupt the stored procedure's proper functionality.
On occasion, when initiating the execution of such a stored procedure below, it executes successfully but fails to generate any output results.
EXEC DownloadPDF ObjectId='The id of the item, DownloadPath='..'\Desktop\User\Users\C:
To address this, there are two options: you can either employ double backslashes (\\) or use forward slashes (/) as alternatives. Consequently, the revised 'DownloadPath' parameter should appear as follows: C:\\Users\\User\\Desktop\\..or C:/Users/User/Desktop/...
Please reach out to [email protected] if this does not solve your issue!
