Inhalt anzeigen / ausblenden

    Use cases

    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:

    • Create document
    • Define save location
    • Merge documents
    • Filter templates using tags
    • Update and/or add to existing document
    • Control follow-up processes via commands (print, PDF creation, …)
    • Processing Collections with Extended Binding
    • 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>#CopyTo1#</Line>
                <Line>#CopyTo2#</Line>
              </Value>
              <Value key="DocParam.Attachments">
                <Line>#Attachment1#</Line>
                <Line>#Attachment2#</Line>
              </Value>
            </Arguments>
          </Function>
          <Function name="ProfileData" id="5C8B5321-E02D-4A1C-80E3-627D40AEABAF">
            <Arguments>
              <Value key="Profile.User.FirstName">John</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.

    Back to top | Deutsch | English PrimeSoft AG   I   Bahnhofstrasse 4   I   8360 Eschlikon   I   Switzerland   I   Privacy   I   Legal notice