Timeline for Uploading a file using powershell and updating column values
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 3, 2015 at 23:26 | history | tweeted | twitter.com/#!/StackSharePoint/status/639580352575602688 | ||
Mar 16, 2013 at 2:44 | comment | added | Josh Jones | $spFile.Item["Title"] = "Reference Document" $SiteUrl = "dhaval-pc:2011" UploadFile $Web "Proposal" "C:\test.pdf" | |
Mar 16, 2013 at 2:43 | comment | added | Josh Jones | These are the fields I updated with my own: | |
Mar 16, 2013 at 2:42 | comment | added | Josh Jones | I did, due to space limitations I did not include my script | |
Mar 15, 2013 at 14:57 | comment | added | Josh Jones | THank you, I get the following error: > Exception calling "GetFile" with "1" argument(s): "Value does not fall > within t he expected range." At line:9 char:53 > + [Microsoft.SharePoint.SPFile]$spFile = $Web.GetFile <<<< ("/" + $folder.Url > + "/" + $File.Name) > + CategoryInfo : NotSpecified: (:) [], MethodInvocationException > + FullyQualifiedErrorId : DotNetMethodException update file properties ... > Cannot index into a null array. At line:22 char:15 > + $spFile.Item[ <<<< "Title"] = "Reference Document" > + CategoryInfo : InvalidOperation: (Title:String) [], RuntimeExce ption > + FullyQua | |
Mar 15, 2013 at 9:05 | answer | added | Jignesh Rajput | timeline score: 5 | |
S Mar 15, 2013 at 8:48 | history | suggested | Jignesh Rajput | CC BY-SA 3.0 |
code formatting
|
Mar 15, 2013 at 4:18 | review | Suggested edits | |||
S Mar 15, 2013 at 8:48 | |||||
Mar 15, 2013 at 3:41 | review | First posts | |||
Mar 15, 2013 at 11:24 | |||||
Mar 15, 2013 at 3:22 | history | asked | Josh | CC BY-SA 3.0 |