external help file | applicable | schema |
---|---|---|
SharePoint Online |
2.0.0 |
Adds a text element to a client-side page.
Add-PnPClientSideText -Text <String>
-Page <ClientSidePagePipeBind>
[-Order <Int>]
[-Web <WebPipeBind>]
[-Connection <SPOnlineConnection>]
Add-PnPClientSideText -Text <String>
-Section <Int>
-Column <Int>
-Page <ClientSidePagePipeBind>
[-Order <Int>]
[-Web <WebPipeBind>]
[-Connection <SPOnlineConnection>]
Adds a new text element to a section on a client-side page.
PS:> Add-PnPClientSideText -Page "MyPage" -Text "Hello World!"
Adds the text 'Hello World!' to the Client-Side Page 'MyPage'
Sets the column where to insert the text control.
Type: Int
Parameter Sets: Positioned
Required: True
Position: Named
Accept pipeline input: False
Sets the order of the text control. (Default = 1)
Type: Int
Parameter Sets: Default
Required: False
Position: Named
Accept pipeline input: False
The name of the page.
Type: ClientSidePagePipeBind
Parameter Sets: Default
Required: True
Position: 0
Accept pipeline input: True
Sets the section where to insert the text control.
Type: Int
Parameter Sets: Positioned
Required: True
Position: Named
Accept pipeline input: False
Specifies the text to display in the text area.
Type: String
Parameter Sets: Default
Required: True
Position: Named
Accept pipeline input: False
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: SPOnlineConnection
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
This parameter allows you to optionally apply the cmdlet action to a subweb within the current web. In most situations this parameter is not required and you can connect to the subweb using Connect-PnPOnline instead. Specify the GUID, server relative url (i.e. /sites/team1) or web instance of the web to apply the command to. Omit this parameter to use the current web.
Type: WebPipeBind
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False