DocumentParameter in Connect
The data should be able to be projected into the document. For this case, the data is passed to a document function and the data is built into the document. Depending on the document function type, a different type can be used. For example, data from the document parameter is connected via CustomControls and CustomXML Parts.
Important
Due to a limitation by Microsoft Office the maximum length of the keys is limited to 64 characters.
Example with static data
<?xml version="1.0" encoding="UTF-8"?>
<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">#SubjectFromLotusNotes#</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>
<Value key="DocParam.Image">Base64 encoded image</Value>
</Arguments>
</Function>
</OneOffixxConnect>
</Entries>
</OneOffixxConnectBatch>