Advertisement
Using PowerShell we can get the field guid easily in our SharePoint.
# to get the site that you want to hide the column
$Web = Get-SPWeb http://dotnetsharepoint.com/sites/sharepoint/
#Get the list you want to access
$listname = $web.Lists["YourListName"]
#Get the field that you want to get guid
$ListCol = $listname.Fields["YourFieldName"]
Write-host "List column GUID is:"$ListCol.id
Run the Power shell script in the Management Console, Hit
Enter we can easily get the output.
0 comments:
Post a Comment