0
votes
2answers
2k views

How to get document URL of a Document Library item given Item ID and URL - using javascript?

I have access to a document library item URL. E.g. /Documents/Forms/DispForm.aspx?ID=585 Based on this information, I would like to get the URL of the document associated with this item. E.g. ...
3
votes
1answer
155 views

SP2010 possible to create a text file in document library and fill with data from list using JSOM JavaScript/jquery

Is it possible to create a new item in a library and default that to a txt file or XML and using JavaScript or jquery insert data from a list into that file? For example from a page click a button ...
2
votes
1answer
396 views

Initialize word document content type properties using Javascript

I'm trying to create a new word document from a template using the following javascript code : var word = new ActiveXObject("Word.Application"); var doc = ...
1
vote
1answer
139 views

Document download keeps restarting automatically

The problem: I want to open an excel document automatically from a custom aspx page in the layouts folder (sharepoint 2010) which refers to a document in a document library. The "DocumentUrl" is ...
3
votes
2answers
491 views

Using javascript linking between issue list and document library

I'm making a issue list that should have link to a document library. After registrered I want the dispform.aspx to show a link to the library with filter on the ID from the issue list. I know ID ...
2
votes
3answers
4k views

Automatically fill in metadata on new document created from template

I have a custom button on my application page to open a new document from a document template, like you would do directly on a list. The code is similar to: <a href="http://Site/test/documents" ...