Skip to content

Commit

Permalink
Various updates
Browse files Browse the repository at this point in the history
  • Loading branch information
InbarGazit committed May 15, 2024
1 parent 0001dbe commit 788cc16
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 35 deletions.
7 changes: 3 additions & 4 deletions JWT-Console/JWT-Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="DocuSign.Admin" Version="1.4.0" />
<PackageReference Include="DocuSign.eSign.dll" Version="6.6.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" />
<PackageReference Include="System.Runtime.Caching" Version="4.7.0" />
<PackageReference Include="DocuSign.eSign.dll" Version="7.0.0-rc1" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="7.0.0" />
<PackageReference Include="System.Runtime.Caching" Version="7.0.0" />
</ItemGroup>

</Project>
12 changes: 6 additions & 6 deletions Quick_ACG/Quick_ACG.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="DocuSign.Admin" Version="1.4.0" />
<PackageReference Include="DocuSign.eSign.dll" Version="6.6.0" />
<PackageReference Include="DocuSign.Admin" Version="2.0.0-rc1" />
<PackageReference Include="DocuSign.eSign.dll" Version="7.0.0-rc1" />
<PackageReference Include="Microsoft.AspNetCore.Session" Version="2.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.0-preview1.19506.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.0-preview1.19506.2">
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.18" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.29">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="6.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.4" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.16" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="7.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
12 changes: 6 additions & 6 deletions launcher-csharp.Tests/launcher-csharp.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="DocuSign.Admin" Version="1.4.0" />
<PackageReference Include="FluentAssertions" Version="6.8.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="DocuSign.Admin" Version="2.0.0-rc1" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.7.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.2.0">
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion launcher-csharp/Views/Shared/_HomeLayout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="~/favicon.ico">
<link rel="icon" href="~/favicon.png">

<title>@ViewData["title"]</title>

Expand Down
2 changes: 1 addition & 1 deletion launcher-csharp/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="~/favicon.ico">
<link rel="icon" href="~/favicon.png">

<title>@ViewData["title"]</title>

Expand Down
52 changes: 47 additions & 5 deletions launcher-csharp/eSignature/Examples/EmbeddedSending.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,12 @@ public static string SendEnvelopeUsingEmbeddedSending(string signerEmail, string
string envelopeId = results.EnvelopeId;
//ds-snippet-end:eSign11Step2

//ds-snippet-start:eSign11Step3
// Step 3. create the sender view
// Call the CreateSenderView API
// Exceptions will be caught by the calling function
ReturnUrlRequest viewRequest = new ReturnUrlRequest
{
ReturnUrl = returnUrl,
};
//ds-snippet-start:eSign11Step3
EnvelopeViewRequest viewRequest = PrepareViewRequest(startingView, returnUrl);

ViewUrl result1 = envelopesApi.CreateSenderView(accountId, envelopeId, viewRequest);

// Switch to Recipient and Documents view if requested by the user
Expand All @@ -64,6 +62,50 @@ public static string SendEnvelopeUsingEmbeddedSending(string signerEmail, string
return redirectUrl;
}

//ds-snippet-start:eSign11Step3
private static EnvelopeViewRequest PrepareViewRequest(string startingView, string returnUrl)
{
EnvelopeViewSettings viewSettings = new EnvelopeViewSettings
{
StartingScreen = startingView,
SendButtonAction = "send",
ShowBackButton = "false",
BackButtonAction = "previousPage",
ShowHeaderActions = "false",
ShowDiscardAction = "false",
LockToken = string.Empty,
RecipientSettings = new EnvelopeViewRecipientSettings
{
ShowEditRecipients = "false",
ShowContactsList = "false",
},
DocumentSettings = new EnvelopeViewDocumentSettings
{
ShowEditDocuments = "false",
ShowEditDocumentVisibility = "false",
ShowEditPages = "false",
},
TaggerSettings = new EnvelopeViewTaggerSettings
{
PaletteSections = "default",
PaletteDefault = "custom",
},
TemplateSettings = new EnvelopeViewTemplateSettings
{
ShowMatchingTemplatesPrompt = "true",
},
};

EnvelopeViewRequest viewRequest = new EnvelopeViewRequest
{
ReturnUrl = returnUrl,
ViewAccess = "envelope",
Settings = viewSettings,
};
return viewRequest;
}

Check failure on line 106 in launcher-csharp/eSignature/Examples/EmbeddedSending.cs

View workflow job for this annotation

GitHub Actions / build

Closing brace should be followed by blank line

Check failure on line 106 in launcher-csharp/eSignature/Examples/EmbeddedSending.cs

View workflow job for this annotation

GitHub Actions / build

Closing brace should be followed by blank line
//ds-snippet-end:eSign11Step3

//ds-snippet-start:eSign11Step2
private static EnvelopeDefinition MakeEnvelope(string signerEmail, string signerName, string ccEmail, string ccName, string docDocx, string docPdf, string envStatus)
{
Expand Down
4 changes: 2 additions & 2 deletions launcher-csharp/eSignature/Views/EmbeddedSending/eg011.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
</label>

<select id="startingView" name="startingView" class="form-control">
<option value="tagging" selected>Tagging view</option>
<option value="recipient">Recipient &amp; Documents view</option>
<option value="Tagger" selected>Tagging view</option>
<option value="Prepare">Prepare view</option>
</select>
</div>
<div class="form-group">
Expand Down
20 changes: 10 additions & 10 deletions launcher-csharp/launcher-csharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,26 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="DocuSign.Admin" Version="1.4.0" />
<PackageReference Include="DocuSign.Click" Version="1.2.2" />
<PackageReference Include="DocuSign.eSign.dll" Version="6.9.0-rc1" />
<PackageReference Include="DocuSign.Monitor" Version="1.1.1" />
<PackageReference Include="DocuSign.Admin" Version="2.0.0-rc1" />
<PackageReference Include="DocuSign.Click" Version="2.0.0-rc1" />
<PackageReference Include="DocuSign.eSign.dll" Version="7.0.0-rc2" />
<PackageReference Include="DocuSign.Monitor" Version="2.0.0-rc1" />
<PackageReference Include="DocuSign.Maestro" Version="1.0.0-rc1" />
<PackageReference Include="DocuSign.Rooms" Version="1.3.0" />
<PackageReference Include="DocuSign.WebForms" Version="1.0.1-rc10" />
<PackageReference Include="DocuSign.Rooms" Version="2.0.0-rc1" />
<PackageReference Include="DocuSign.WebForms" Version="2.0.0-rc1" />
<PackageReference Include="Microsoft.AspNetCore.Session" Version="2.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.0-preview1.19506.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.0-preview1.19506.2">
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.18" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.29">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="6.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.4" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.16" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="7.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Binary file added launcher-csharp/wwwroot/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 788cc16

Please sign in to comment.