Skip to content

Commit 5d72383

Browse files
authored
Update logic-apps-using-sap-connector.md
Formatting
1 parent 17fa36d commit 5d72383

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

articles/logic-apps/logic-apps-using-sap-connector.md

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -360,33 +360,32 @@ Last, create new connections that use SNC in all your logic apps that use the SA
360360

361361
The connector detects the PSE change and updates its own copy during the next connection request.
362362

363-
> [!TIP]
364363
To convert a binary PSE file into base64-encoded format, follow these steps:
365364

366365
1. Use a PowerShell script, for example:
367366

368-
```powershell
369-
Param ([Parameter(Mandatory=$true)][string]$psePath, [string]$base64OutputPath)
370-
$base64String = [convert]::ToBase64String((Get-Content -path $psePath -Encoding byte))
371-
if ($base64OutputPath -eq $null)
372-
{
373-
Write-Output $base64String
374-
}
375-
else
376-
{
377-
Set-Content -Path $base64OutputPath -Value $base64String
378-
Write-Output "Output written to $base64OutputPath"
379-
}
380-
```
367+
```powershell
368+
Param ([Parameter(Mandatory=$true)][string]$psePath, [string]$base64OutputPath)
369+
$base64String = [convert]::ToBase64String((Get-Content -path $psePath -Encoding byte))
370+
if ($base64OutputPath -eq $null)
371+
{
372+
Write-Output $base64String
373+
}
374+
else
375+
{
376+
Set-Content -Path $base64OutputPath -Value $base64String
377+
Write-Output "Output written to $base64OutputPath"
378+
}
379+
```
381380
382-
Save this script as `pseConvert.ps1` and invoke it like this:
381+
1. Save this script as `pseConvert.ps1` and invoke it like this:
383382
384-
```Output
385-
.\pseConvert.ps1 -psePath "C:\Temp\SECUDIR\request.pse" -base64OutputPath "connectionInput.txt"
386-
Output written to connectionInput.txt
387-
```
383+
```output
384+
.\pseConvert.ps1 -psePath "C:\Temp\SECUDIR\request.pse" -base64OutputPath "connectionInput.txt"
385+
Output written to connectionInput.txt
386+
```
388387
389-
If the output path parameter is not provided the script's output to the console will have line breaks. Remove the line breaks of the base 64 encoded string for the connection input parameter.
388+
If the output path parameter is not provided the script's output to the console will have line breaks. Remove the line breaks of the base 64 encoded string for the connection input parameter.
390389
391390
> [!NOTE]
392391
> If you're using more than one SNC client certificate for your ISE, you must provide the same PSE for all connections.

0 commit comments

Comments
 (0)