Skip to content

Commit 2c298df

Browse files
committed
Changing code to search for the web form we need
1 parent 1ea2ae2 commit 2c298df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

launcher-csharp/WebForms/Examples/CreateAndEmbedFormService.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ public static class CreateAndEmbedFormService
1818
public static WebFormSummaryList GetForms(Client.DocuSignClient docuSignClient, string accountId)
1919
{
2020
FormManagementApi formManagementApi = new FormManagementApi(docuSignClient);
21-
return formManagementApi.ListForms(accountId);
21+
FormManagementApi.ListFormsOptions listFormsOptions = new FormManagementApi.ListFormsOptions();
22+
listFormsOptions.search = "Web Form Example Template";
23+
return formManagementApi.ListForms(accountId, listFormsOptions);
2224
}
2325

2426
public static void AddTemplateIdToForm(string fileLocation, string templateId)

0 commit comments

Comments
 (0)