Changing List's Column type from Lookup in Sharepoint?

Ok I fixed this issue. The problem occurs if you run the PowerShell script before running the batch file (I was unaware that someone had run it before). So, you need to use the converse powershell script file ConvertLookupFieldWithPickerToLookup.

Ps1 and apply it against the columns. Once you are done, reapply the first file above and it should all work The code is as follows: iLoveSharePoint.com # by Christian Glessner param(string$webUrl=$(throw 'Parameter -webUrl is missing! '), string$listName=$(throw 'Parameter -listName is missing!'), string$fieldTitle=$(throw 'Parameter -fieldTitle is missing!

')) $ErrorActionPreference = "Stop"; $env:12vesDir = "$env:CommonProgramFiles\Microsoft Shared\web server extensions\12\"; $null = System.Reflection. Assembly::LoadFrom("$env:12SharePoint. Dll"); $site = New-Object -TypeName "Microsoft.SharePoint.

SPSite" -ArgumentList $webUrl; $web = $site.OpenWeb(); $list = $web. Lists$listName; $field = $list. Fields$fieldTitle; $schema = xml$field.

SchemaXml; if ($schema.Field. AllowMultipleValues -eq $true) { $schema.Field. Type = "LookupMulti" } else { $schema.Field.

Type = "Lookup" } $schema.Field. RemoveAttribute("SearchFields"); $schema.Field. RemoveAttribute("EntityEditorRows"); $schema.Field.

RemoveAttribute("MaxSearchResults"); $field. SchemaXml = $schema.PSBase. OuterXml; Write-Output "Done.

Ok I fixed this issue. The problem occurs if you run the PowerShell script before running the batch file (I was unaware that someone had run it before). So, you need to use the converse powershell script file ConvertLookupFieldWithPickerToLookup.

Ps1 and apply it against the columns. Once you are done, reapply the first file above and it should all work. The code is as follows: # iLoveSharePoint.com # by Christian Glessner param(string$webUrl=$(throw 'Parameter -webUrl is missing!'), string$listName=$(throw 'Parameter -listName is missing!

'), string$fieldTitle=$(throw 'Parameter -fieldTitle is missing! ')) $ErrorActionPreference = "Stop"; $env:12vesDir = "$env:CommonProgramFiles\Microsoft Shared\web server extensions\12\"; $null = System.Reflection. Assembly::LoadFrom("$env:12SharePoint.

Dll"); $site = New-Object -TypeName "Microsoft.SharePoint. SPSite" -ArgumentList $webUrl; $web = $site.OpenWeb(); $list = $web. Lists$listName; $field = $list.

Fields$fieldTitle; $schema = xml$field. SchemaXml; if ($schema.Field. AllowMultipleValues -eq $true) { $schema.Field.

Type = "LookupMulti" } else { $schema.Field. Type = "Lookup" } $schema.Field. RemoveAttribute("SearchFields"); $schema.Field.

RemoveAttribute("EntityEditorRows"); $schema.Field. RemoveAttribute("MaxSearchResults"); $field. SchemaXml = $schema.PSBase.

OuterXml; Write-Output "Done.

Ok I fixed this issue. The problem occurs if you run the PowerShell script before running the batch file (I was unaware that someone had run it before). So, you need to use the converse powershell script file ConvertLookupFieldWithPickerToLookup.

Ps1 and apply it against the columns. Once you are done, reapply the first file above and it should all work.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions