Can I save/export the pdf using windows service at the backed process
I'm trying to print the pdf using the windows service and having problem with it.
here is my code.
LayoutHelper.LayoutOpener.ExecutePrintDef("U0000080",true, LayoutHelper.LayoutOpener.OpenLayoutModes.PDF, "DocEntry", modSalesOrder.DocId);
I am not getting any error on in the code. However, In the coresuite log file I am getting below logs.
2022-11-20 20:13:14.4141 | DEBUG | DESIGNER | TID_20 | Handling unsupported fields.
2022-11-20 20:13:14.5811 | DEBUG | DESIGNER | TID_20 | Field is going to be visible now
-
Hi,
can you try to use the NameID instead of the Code "U0000080"
regards Lothar
0 -
Lothar Hasenkämper I am using as below
LayoutHelper.LayoutOpener.ExecutePrintDef("Kanon_U0000080", true, LayoutHelper.LayoutOpener.OpenLayoutModes.PDF, "DocEntry", modSalesOrder.DocId);In the windows service, but i cant get the pdf on my given path.
am i missing something? and is it possible to save the PDF using the windows service written in C#.
Thanks.0
Please sign in to leave a comment.
Comments
2 comments