API to interact with SharePoint data remotely from script that executes in the browser
0
votes
0answers
18 views
Upload file with meta data and checkin to sharpoint folder using Client Object Model
Hi I'm trying to upload a file to sharepoint 2010 using the client api with meta data and also checkin the file after I'm done. Below is my code:
public void UploadDocument(SharePointFolder ...
0
votes
0answers
23 views
Sharepoint2013-adding ASP UserControl (having sp-client-object reference) in smartpart, says: Type or namespace 'ClientContext' could not be found
I am using Sharepoint 2013 and Visual Studio 2010
I have developed a user control in ASP.net 4.0 and after testing it in VS, I moved that user control to Sharepoint 2013 site using "smartpart" ...
4
votes
1answer
1k views
Programatically get ListItem by version using cleint object model Sharepoint 2010
I have a senario where i have to move all my datas in a sharepoint 2010 list (name= "VersionTestList") to SQL server database. Since versioning is enabled in the list i have to move the previous ...
0
votes
1answer
17 views
Retrieve explicit values from document library
I'm trying to pull some fields from my Document Library. Right now, I can retrieve these 2 fields to return the correct values, in my success function.
while (listItemEnumerator.moveNext()) {
var ...
0
votes
0answers
30 views
Failing to activate a feature using COM in SharePoint 2010
Guid featureId = new Guid("0af5989a-3aea-4519-8ab0-85d91abe39ff");
ClientContext clientContext = new ClientContext("http://mysite:786/");
Site clientSite = ...
3
votes
2answers
2k views
How to associate a SharePoint workflow using the Client Object Model?
Using the SharePoint Object Model (SP 2010), how can you associate a workflow with a given list?
I've been able to associate a workflow, but the configuration settings do not get saved back to ...
0
votes
1answer
492 views
How to get changes from sharepoint 2010 client object model?
Below is the code:
ClientContext context = new ClientContext("http://SPSite");
context.Credentials = new NetworkCredential("user", "pwd", "domain");
ChangeQuery cq = new ...
0
votes
1answer
177 views
How do I get the current web using SharePoint client object model?
I am using the SharePoint client object model to create a web part.
I have a list on the parent site. This list has a field that is a choice field, with choices for all the subsites under the parent ...
0
votes
0answers
46 views
ecmascript/javascript to check current status of timer job
I want to show sharepoint notification when user opens a list form using oob. I am basically doing some sync with external list and sharepoint using timer job.
For this i want to check if a specific ...
0
votes
1answer
156 views
Uploading sharepoint document exception using SaveBinaryDirect
I have a Windows Application that saves .pdfs to a SharePoint Document Library. It works fine except this one file. Whenever I use SaveBinaryDirect with this 10.1MB file I get the following ...
0
votes
0answers
88 views
How to pass label.text as returnValue in SP.UI.ModalDialog.commonModalDialogClose
Custom ribbon button on click will open an application page in SP.UI.ModalDialog.showModelDialog(options).
return value should be grabbed into CloseCallback function.
I have used these two buttons in ...
0
votes
1answer
39 views
Retriving the url of a Hyperlink column which is in a sharepoint list, using Client object model
function IfModuleSucceded(sender, args) {
var existingCount = existingItems.get_count();
var existEnumerator = existingItems.getEnumerator();
while ...
3
votes
3answers
1k views
SharePoint show Ribbon with multiple webparts on page
I've created a sharepoint page that has an xslt webpart and a 2nd webpart that is unrelated to the question
When we add this second webpart the ribbon bar is hidden and you have to click the webpart ...
1
vote
1answer
105 views
Client Object Model Sharepoint How to get the Instance ID
So In my sharepoint site contents page i have an application.
Can anyone tell me how to get the instance id of it.
so that i can invoke the link :
...
2
votes
1answer
8k views
Use credentials to interact with the Client Object Model of Sharepoint?
I need to write a small software which has to update some list on a Sharepoint 2010.
I found the "SPSite" which I can create with the url, but I can't figure out how to specify with which user I want ...