Use cases
- 1 Example
NOTE
For testing the interface the OneOffixx Connect Client (Windows) is available as well.
In the following, possible use cases are listed and the minimal XML configuration is shown as an example:
Control follow-up processes via commands (print, PDF creation, …)
Bring recipient-specific data into the document invisibly for users
For each use case, of course, the various connect functions can also be called.
Example
In the following example, a document is to be created based on the template id "6bb49520-1ebd-4f68-bb5f-02f46a9e1ec8" and with the LanguageLcid "2055". Additionally the two document functions Document Parameter and Profile data are parameterized with data.
<OneOffixxConnectBatch xmlns="http://schema.oneoffixx.com/OneOffixxConnectBatch/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Entries>
<OneOffixxConnect>
<Arguments>
<TemplateId>6bb49520-1ebd-4f68-bb5f-02f46a9e1ec8</TemplateId>
<LanguageLcid>2055</LanguageLcid>
</Arguments>
<Function name="DocumentParameter" id="2de8db66-f3d7-456d-bba3-6bb0f12c1fb6">
<Settings>
<Value key="ShowDialog">false</Value>
</Settings>
<Arguments>
<Value key="DocParam.Subject">#SubjectOfLotusNotes#</Value>
<Value key="DocParam.RefNr">M1456-22</Value>
<Value key="DocParam.CopyTo">
<Line>#KopieAn1#</Line>
<Line>#KopieAn2#</Line>
</Value>
<Value key="DocParam.Attachments">
<Line>#Beilage1#</Line>
<Line>#Beilage2#</Line>
</Value>
</Arguments>
</Function>
<Function name="ProfileData" id="5C8B5321-E02D-4A1C-80E3-627D40AEABAF">
<Arguments>
<Value key="Profile.User.FirstName">Jane</Value>
<Value key="Profile.User.LastName">Doe</Value>
</Arguments>
</Function>
</OneOffixxConnect>
</Entries>
</OneOffixxConnectBatch>
As a result, on the client side, the document is opened directly in Microsoft Word. In server-side processing, the created .dotx would be returned to the caller.
PrimeSoft AG, Bahnhofstrasse 4, 8360 Eschlikon, Switzerland