Obtain List of Placeholder within Template
Thursday, August 5, 2021 at 09:01amCan you point me to an example that takes an existing template and using the WS API I can get a list of place holder fields?
Thank you
OneSpan Introduces DigipassONE, Bringing a Unified Platform Approach to Authentication Modernization
A new authentication platform helps financial institutions support diverse customer authentication preferences while modernizing at their own pace Learn More
Can you point me to an example that takes an existing template and using the WS API I can get a list of place holder fields?
Thank you
Reply to: Obtain List of Placeholder within Template
Tuesday, October 4, 2022 at 02:02pmHi Richard,
If you are asking for a .NET SDK code, here you are:
EslClient eslClient = new EslClient(apiKey, apiUrl);
string templateId = "M-ITDWxHZwIM8N5prDkDOw4Bt2A=";
DocumentPackage pkg = eslClient.GetPackage(new PackageId(templateId));
foreach (Signer signer in pkg.Placeholders) {
Debug.WriteLine($"Placeholder name: {signer.PlaceholderName}");
}
Duo