Tagged Questions
1
vote
1answer
19 views
An event to be fired on editing a file
As title says, I need an event to fire when a listitems file has been edited.
I appreciate this isn't as simple as it having it's own event, which is why I've tried to make use of the itemupdating ...
0
votes
2answers
36 views
Add document to document library with more fields
My question is regarind adding a new item to document library programmatically.
Basically, when I add an item to document library it goes as follows:
In a document library i click add new and i ...
1
vote
2answers
82 views
Uploading xml to document library won't start workflow
When I upload an xml document to a document library, the workflow associated with that document library won't start. Here is my the code I use to upload:
using (SPSite site = new ...
0
votes
2answers
41 views
The impact of BreakRoleInheritance()
I call BreakRoleInheritance on a document (the actual list item) in order to assign someone of less permissions the 'contribute' rights to that particular item. In doing that, have I 'broke' the ...
0
votes
1answer
53 views
Item-level permissions on document library
I ultimately want to grant users edit permission only on the items they created.
According to this article:
http://www.hersheytech.com/Blog/SharePoint/tabid/197/entryid/28/Default.aspx
I can do ...
0
votes
0answers
26 views
Hiding Custom Action for Just one document library
I have a custom action deployed for a site collection, now if I want to hide it for a custom document library is it possible.
Also this is what I am doing actually, can you think a better way of ...
0
votes
1answer
32 views
Force Download pdf in document library programatically
I have document library with name "magazines".
containing several pdfs, I'm using caml to view these items on one page pdfs.
Added 2 links on this page to the user view pdf online, and to download.
...
2
votes
2answers
51 views
File size limit for a document in SharePoint is actual file size or file size on disk
The file size upload limit for a document is 50mb by default but is it file size of the document or file size of document on disk.
0
votes
1answer
37 views
Custom Actions all document libraries
I want to develop a "Custom Action" for all of document libraries in a site collection, I tried looking on Google but couldn't find any relevent tutorial.
Custom action has to be in "Actions" and ...
0
votes
1answer
25 views
uploading a document to one location and have it replicated on other sites document library
What would be the best way of uploading a docuemnt to one location and have it replicated on other sites document library.
I know I can use workflow, event receivers but then there will be ...
0
votes
1answer
24 views
removing or hiding option “Add new document” for a custom document library
I have a custom document library that "should only allow one user" to upload/Edit documents but let everyone else to download/View it.
At the moment I got two events that are checking who is ...
0
votes
1answer
96 views
What is a good way to modify the upload link in a document library in 2010?
I have a custom upload form that I want to incorporate with new document libraries. Ideally, user will be able to add document libraries with this updated link to their site on their own without ...
2
votes
2answers
327 views
How to upload/download document to Document Library via WEBSERVICES? Also set metadata
I want to retrieve a template document from a Document Libraries, in order to allow a user to edit it, and then upload it back again to the Document Library. I'll probably need to set some metadata ...
1
vote
2answers
171 views
How to add check-in comments to Alert Email?
Ok so I want to customize the email alerts that are sent out when a document is modified so that besides the information that is already there, it also shows the comment that the editor typed in when ...
1
vote
1answer
108 views
How to grab InfoPath form's FormState contents from the document library?
Is there a way to grab the contents of an InfoPath's FormState object? I have access to the SPListItem in the document library it resides in, the xml of the item, the document library it lives in, but ...