Define save location


The created document is saved to a defined location. The SaveAs command saves the document unchanged.

<OneOffixxConnectBatch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schema.oneoffixx.com/OneOffixxConnectBatch/1"> <Entries> <OneOffixxConnect> <Arguments> <TemplateId>6bb49520-1ebd-4f68-bb5f-02f46a9e1ec8</TemplateId> <LanguageLcid>2055</LanguageLcid> </Arguments> <Commands> <Command Name="SaveAs"> <Parameters> <Add key="Filename">\\e205\share\organization\...\documentxyz.dotx</Add> <Add key="Overwrite">true</Add> <Add key="CreateFolder">true</Add> </Parameters> </Command> <Command Name="DefaultProcess"> <Parameters> <Add key="Start">False</Add> </Parameters> </Command> </Commands> </OneOffixxConnect> </Entries> </OneOffixxConnectBatch>

 

If a document is to be created from it, the command ConvertToDocument must be called beforehand.

NOTE
The SaveAs command, which is disabled, causes the generated document not to be opened. So the document is generated, saved and afterwards not opened in Word.

 

<OneOffixxConnectBatch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schema.oneoffixx.com/OneOffixxConnectBatch/1"> <Entries> <OneOffixxConnect> <Arguments> <TemplateId>6bb49520-1ebd-4f68-bb5f-02f46a9e1ec8</TemplateId> <LanguageLcid>2055</LanguageLcid> </Arguments> <Commands> <Command Name="ConvertToDocument" /> <Command Name="SaveAs"> <Parameters> <Add key="Filename">\\e205\share\organization\...\documentxyz.docx</Add> <Add key="Overwrite">true</Add> <Add key="CreateFolder">true</Add> </Parameters> </Command> <Command Name="DefaultProcess"> <Parameters> <Add key="Start">False</Add> </Parameters> </Command> </Commands> </OneOffixxConnect> </Entries> </OneOffixxConnectBatch>

 

PrimeSoft AG, Bahnhofstrasse 4, 8360 Eschlikon, Switzerland