Questions tagged [document-library]
170 questions
2
votes
4 answers
Drag and Drop files into a SharePoint webpart to upload into DocLibrary
Is it possible to create a SharePoint (wss3 or MOSS 2007) webpart, to allow files to be dragged and dropped onto it, which would then upload the files into a predefined document library ?
I imagine that this would require some form of client side…

Nick Haslam
- 1,512
- 1
- 24
- 47
2
votes
1 answer
Copy File From Teams to File Server Using Powershell
I am trying to copy a xlsx file from my Teams channel to a location on a file server.
I've seen various articles on line that suggest Invoke-WebRequest "https://teams.microsoft.com/l/file/rest of URL here" -OutFile C:\Test\CricketQuiz.xlsx. While…

SSingh
- 153
- 3
- 13
2
votes
1 answer
How to add file with additional properties into Liferay's Document Library
I'm trying to figure this out, I was asking this question in Liferay's forum here - the last entry.
And only thing I'm able to come up with is creating an Expando for FileEntry, which seems very complicated. Who knows if it makes sense. I don't like…

lisak
- 21,611
- 40
- 152
- 243
2
votes
1 answer
How to get the File Type of a File in Sharepoint
I'm trying to load in documents from the Documents library in SharePoint and I want to be able to filter them by file type (Word Doc, Excel Sheet, etc.) from my application. I've figured out how to get the icon for the file type using mapToIcon, but…

Matt L.
- 748
- 5
- 20
2
votes
3 answers
How to create a shared document library in SharePoint that can be used in subsites?
We want to create a common document library on a certain site level and then create views on that document library in the different sub sites?
Is that possible in SharePoint?
Can it be done declaratively?
Rine

Rine le Comte
- 312
- 3
- 11
2
votes
1 answer
The default value for a column in not set when copy file using rest api (SharePoint 2013 standalone)
I am trying to copy files from one folder to another folder using SharePoint REST API. Some columns inside the destination folder have defined a default value. Even though the files are copied successfully, some files do not get the default value…

Puneet
- 117
- 11
2
votes
1 answer
SharePoint 2013 dragdrop.js throws refused to set unsafe header content-length error
I have a document library where I have put code in content editor web part. The issue is, when I drag and drop any document in this library, I am getting below error in browser console:
refused to set unsafe header content-length error
This issue…

love thakker
- 460
- 2
- 13
- 29
2
votes
1 answer
How do I distinguish a SharePoint file update as being from a file upload?
In SharePoint, when an item is first added to a document library, it fires the ItemAdded and ItemAdding events as expected. And if you upload the same filename to update the existing file, it will fire off ItemUpdated and ItemUpdating events,…

Grace Note
- 3,205
- 4
- 35
- 55
2
votes
1 answer
Negative ItemCount in SharePoint Document Library
What can be done about negative numbers in library item counts? ItemCount is a read-only property, what are you supposed to do when it is drastically incorrect?
Earlier last week, I was doing some testing involving the copying and moving of files…

Grace Note
- 3,205
- 4
- 35
- 55
2
votes
1 answer
How to show metadata of a document in liferay
I have a custom document library portlet, where I have to show metadata of attached document in another page, can anyone suggest how can I show these fields?

Akash
- 816
- 3
- 13
- 38
2
votes
1 answer
Duplicating Document Libraries
Is there a way to do this in MOSS 2007?
Instead of manually creating the same type of document library with a different name, I'd like to use a shortcut -if exists- to achieve this.
Thanks.

frbry
- 499
- 2
- 12
- 25
2
votes
1 answer
Why is SPList's LastItemModifiedDate not the same as the modified date shown in the list?
I have a document library that I am accessing programmatically as an SPList. When I use the LastItemModifiedDate property of the list, the DateTime returned is {1/7/2010 1:37:41 AM} but when I browse to the document library (with my web browser) I…

kristian
- 22,731
- 8
- 50
- 78
2
votes
3 answers
MOSS 2007 Document Library - choice column not displaying selected value
I have something funky going on with MOSS & was wondering if anyone out there has seen anything like it:
I have a document library in MOSS that has several custom columns added to it. I have a column of type choice. For one document in the library…

Kwirk
- 964
- 15
- 25
2
votes
2 answers
Liferay Document Library: execute method on document download
I've asked the same question in Liferay community but with no answers so I try here :)
I need to perform an action/call a method everytime a user download a file from the document library, for simplicity I'd say a System.out.println("a file has…

lou
- 183
- 1
- 10
2
votes
1 answer
NullreferenceException when opening SharePoint Document Library
After running the Configuration Wizard in SharePoint 2010 (had to do this because of permission issues) I cannot open any Document Library like "Pages". I receive the following Error:
[NullReferenceException: Object reference not set to an instance…

Ole Albers
- 8,715
- 10
- 73
- 166