Get-KFUrl
Syntax
Get-KFUrl
-FileOrFolderUrl
[-Item <item>]
[-List <list>]
[-Web <web>]
[-ThrowErrors[:$true]]
Get-KFUrl
-GetItemNewUrl
[-Item <item>]
[-List <list>]
[-Web <web>]
[-ThrowErrors[:$true]]
Get-KFUrl
-GetListDefaultViewUrl
[-Item <item>]
[-List <list>]
[-Web <web>]
[-ThrowErrors[:$true]]
Get-KFUrl
-GetListUrl
[-Item <item>]
[-List <list>]
[-Web <web>]
[-ThrowErrors[:$true]]
Get-KFUrl
-GetWebUrl
[-Item <item>]
[-List <list>]
[-Web <web>]
[-ThrowErrors[:$true]]
Get-KFUrl
-GetItemDisplayUrl
[-Item <item>]
[-List <list>]
[-Web <web>]
[-ThrowErrors[:$true]]
Get-KFUrl
-GetItemEditUrl
[-Item <item>]
[-List <list>]
[-Web <web>]
[-ThrowErrors[:$true]]
Support
>= kenaflow 1.0.0
Return
String.
Description
This cmdlet is only available in SharePoint workflows.
This command can be used to output various URLs related to the current workflow, its web, list and currently processed item.
It's also possible to specify custom objects for the used SharePoint web, list or item.
Parameters
-FileOrFolderUrl
Gets the URL of a file or folder that is represented by the list item. (The current processed one or the on from parameter
-Item
.
-GetItemNewUrl
Gets the URL for the "new item" form of the SharePoint list (the workflows list or the one specified in parameter
-List
).
-GetListDefaultViewUrl
Gets the default view URL of the SharePoint list (the workflows list or the one specified in parameter
-List
).
-GetListUrl
Gets the URL of the SharePoint list (the workflows list or the one specified in parameter
-List
). If opened in browser the default view is shown.
-GetWebUrl
Gets the URL of the SharePoint web (the workflows web or the one specified in parameter
-Web
).
-GetItemDisplayUrl
Gets the display form URL of the list item. (The current processed one or the on from parameter
-Item
.
-GetItemEditUrl
Gets the edit form URL of the list item. (The current processed one or the on from parameter
-Item
.
[-Item <item>]
The item to be processed. If not specified the currently processed item is used.
[-List <list>]
The list to be processed. If not specified the workflows list item is used.
[-Web <web>]
The web to be processed. If not specified the workflows web item is used.
[-ThrowErrors[:$true]]
This is a default parameter for all kenaflow cmdlets. If set to
$true
(default!) the engine will pass exception within the cmdlet to the script for further handling.
Example
$item Get-PnPListItem -List "Custom List" -Id 1
Get-KFUrl -GetItemDisplayUrl -Item $item