Skip to main content

Questions tagged [spfile]

A class of the Microsoft.SharePoint namespace that represents a file in a SharePoint Web site that can be a Web Parts page, an item in a document library, or a file in a folder.

1 vote
0 answers
130 views

I have a document approval system that works something like this: User uploads a document to one library, fills out metadata. Approval process begins, workflows are fired to send out notification ...
Dylan Cristy's user avatar
  • 12.9k
3 votes
1 answer
179 views

In sharepoint from Document library i was read the file and Download the file using FileStream object. Sometime it was downloading. Sometime i will receive the following error. The process cannot ...
elina's user avatar
  • 441
0 votes
1 answer
1k views

In Powershell i get all checked out file from a library with foreach($f in $lib.CheckedOutFiles){ //I tried to retrieve item with $item = $lib.GetItemById($f.ListItemID)//exception item not ...
user1898765's user avatar
1 vote
0 answers
54 views

I've uploaded some files from a local server to the Office 365 sharepoint cloud using spfilezilla. However I notice the times are different by the same offset of a few hours. Would this be a timezone ...
Darryn Brisdaz's user avatar
1 vote
1 answer
304 views

I have a library, that have items and each item has additional File field. I can upload them programmicaly - firsly file is uploaded, then empty item is updated with other info. Example of filled ...
Alex Zhukovskiy's user avatar
1 vote
1 answer
77 views

Currently I'm looping through all the files in a collection, which is every single document in the library. Once I find the unique document name, I move it. I'm trying to getting away from looping ...
jpollar's user avatar
  • 1,107
6 votes
2 answers
2k views

We are using SP2013 with OWA installed. Users often complain about a file stored in SharePiont being locked by another user not in office. Error is "The file "xxxx" is locked for exclusive use by ...
Mark L's user avatar
  • 4,075
1 vote
1 answer
44 views

I'm trying to update some fields on SPListItem but i want to prevent Modified Date/ModifiedBy fields also don't want new version. So SystemUpdate(false) is used for my case but it can not prevent that ...
Onur Tolgahan Pamuk's user avatar

15 30 50 per page