Open LucasOvejero opened 6 years ago
I Have the same problem, even if i add Viewable="TRUE" in the XML it doesnt appear on the default view.
Example: $FieldXML = '<Field Type="DateTime" DisplayName="Expected order date" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" Format="DateOnly" Group="Custom Columns" FriendlyDisplayFormat="Disabled" ID="{' + $uniqueID + '}" StaticName="ExpectedOrdeDate" Name="ExpectedOrdeDate" Viewable="TRUE" ></Field>'
Which version of the PnP-PowerShell Cmdlets are you using?
[ ] PnP PowerShell for SharePoint 2013
[X] PnP PowerShell for SharePoint 2016
[X] PnP PowerShell for SharePoint Online
How did you install the PnP-PowerShell Cmdlets?
[X] MSI Installed downloaded from GitHub
[ ] Installed through the PowerShell Gallery with Install-Module
Hello, i had problem using the command Add-PnPFieldFromXml, the field was created, but don't appear on the default view. i don't know if i'm missing something or i'm doing something wrong xml field:
call: Add-PnPFieldFromXml -FieldXml $campo.OuterXml -List $list.Name