Unable to read librarian files using PrintScheduler API. [Bartender 2022 v11.3]]
We are in the process of migrating to the new Bartender 2022 v11.3 using .NET SDK. A sample code to access a Librarian bartender template file (.btw) using the PrintScheduler API is picked from the help files. However, it is returning a message "BarTender document lib://BT-xyz-524R1.btw does not exist. Please verify the document exists and that a correct path has been provided." when using QueryDocumentAction and a "Document file name does not exist" when using ExportDocumentToImageAction. However, it works fine when the .btw files are available in local file system. This issue doesn't arise when using the legacy Bartender.Print.dll.
The code snippet to access the file is shown below:
var queryDocumentAction = new QueryDocumentAction
{
DocumentName = @"lib://BT-xyz-524R1.btw"
};
Are we missing any configuration or is there any additional setting to access the librarian files in the new PrintScheduler API?
Thanks!
请先登录再写评论。
评论
0 条评论