I am using below script to create a folder:
$folder = $dList.AddItem("", [Microsoft.SharePoint.SPFileSystemObjectType]::Folder)
$folder["Title"] = "Test"
$folder.Update();
Error: Invalid item data - missing fileref
I am using below script to create a folder:
Error: Invalid item data - missing fileref |
|||
|
Try this PowerShell to get rid of missing FileRef issue:
This will create a folder with Name "Folder2" and Title as "Test" |
|||||
|