Storefront Powershell SDK 2411

Set-STFWebReceiverPinnedLinks

Set the WebReceiver Pinned Links

Syntax

Set-STFWebReceiverPinnedLinks [-WebReceiverService] <WebReceiverService> [-PinnedLinks] <Collection`1> [-Enabled] <Boolean> [<CommonParameters>]
<!--NeedCopy-->

Detailed Description

Set the WebReceiver Pinned Links.

Parameters

Name Description Required? Pipeline Input Default Value
WebReceiverService The WebReceiver service. true true (ByValue)  
PinnedLinks The pinned links. true true (ByValue)  
Enabled Bool value to enable or disable pinned links true true (ByValue)  

Input Type

Citrix.StoreFront.Model.ReceiverForWeb.WebReceiverService

Parameter WebReceiverService: A .NET class representing the configuration of a StoreFront Web Receiver service

Parameter PinnedLinks: The .NET System.Collections.ObjectModel.Collection1[[Citrix.StoreFront.Model.ReceiverForWeb.Link, Citrix.StoreFront.Model, Version=3.30.0.0, Culture=neutral, PublicKeyToken=e8b77d454fa2a856]]` reference type

System.Boolean

Parameter Enabled: The .NET System.Boolean value type

Return Values

None

Examples

$receiver = Get-STFWebReceiverService

$newLink = New-Object Citrix.StoreFront.Model.ReceiverForWeb.Link
$newLink.DisplayText = "Support"
$newLink.Hyperlink = "https://supportorg"
$newLink.Icon = "C:\supportIcon.jpg"
$newLink.TooltipText = "The place for support"

$collection = @($newLink)
Set-STFWebReceiverPinnedLinks -WebReceiverService $receiver -PinnedLinks $collection -Enabled $true
<!--NeedCopy-->

REMARKS

Adds a new pinned link to the WebReceiver and enables displaying pinned likes in the Web UI

Set-STFWebReceiverPinnedLinks