This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
When creating a Basic view or Form with the SaveAsPDF Control, and then executing the control on a Rule, it fails with the error:
"The PDF could not be saved.
•Message: Failed to execute the SmartObject. Authorization Failed"
Users are not able to generate PDFs
as expected and it causes failure on Smartforms level.
Verify that the correct permissions are added to the SmartBox Method Permissions on the PDF File which is in Categories > System > Controls > SaveAsPDF.
Note that on the SmartBox Method Permissions if there are users or group specified, only the users and groups will be able to utilize the create, delete and Get list methods. If there are no users or groups specified meaning that the permissions are 'blank,' this will allow everyone to execute the creation of the PDF file SmartObject.