ProfileData in Connect
As already mentioned in Connect Arguments – ProfileId, primedocs uses the current profile if nothing is specified. The profile could be explicitly named via the profile id or profile name. For all options, profile fields can be overridden via this function. This will merge the fields with the selected profile. Images can also be passed base64-encoded.
NOTE
Signers: For all profiles, only those signers are available that are contained in the signature profile of the respective profile. For an anonymous profile, 10 empty signers are automatically generated.
Example 1: Current profile, with fields overwritten
Without specifying an explicit profile, the current profile from the primedocs Client is used. Additionally, individual profile fields can be overwritten for this purpose.
<?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="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>
Profile selection via profile id or profile name
A profile can also be selected via id. This is possible with or without overwritten fields.
<?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>
<ProfileId>25558547-a6fb-4fad-908b-63118dcee5c9</ProfileId>
<LanguageLcid>2055</LanguageLcid>
</Arguments>
<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>
Instead of the id, the profile name can be specified in as well. If such a profile exists and is recognized, it can also be used.
PrimeSoft AG, Bahnhofstrasse 4, 8360 Eschlikon, Switzerland