REST web service support for SharePoint 2010 - rest

I am trying perform operation on a SharePoint document library using REST on SharePoint 2010. Things i wish to achieve are
1) Query items from the library
2) Download/Upload Document from Library
3) Check out/ Check in items from Library
I have to do it all using REST service (for 2010 it is /_vti_bin/listdata.svc/). I am making all REST calls from javascript which will be finally on an ASP Web Site built on MVC.
I am able to get the list and single items using REST. Download URL is /_vti_bin/listdata.svc/myStore(id) or _vti_bin/listdata.svc/myStore?$filter= etc
My question is on how to download and upload documents to the list using REST on 2010. What would be the url link. Can this be done? I cant seem to find details about REST support for 2010.
Also hints on doing Check out Checkin using the REST API in 2010.
I am able to all this using Client Side Object Model in a c# windows app.
Any help is appreciated.

At the link below, I was told to consider SharePoint 2010 REST services "as an experiment". For language agnostic applications, it was suggested I use SharePoint Web Services (SOAP). However, it is worth noting that I have successfully used SharePoint 2013 REST services for everything I need to access. 2013 seems to have fully exposed the Object Model through REST and the option for JSON responses, filtering data with $select, and expanding results with $expand is great. If you have to support SharePoint 2010, it looks like you're stuck with the SOAP solution. I'm finding that may be a bit limited as well but it's much richer what what the 2010 REST services provides.
http://social.msdn.microsoft.com/Forums/office/en-US/adf00d9c-5041-4bd7-9b36-9b86ecbce143/sharepoint-2010-rest-api-to-get-entry-permissions?forum=sharepointdevelopmentprevious

Related

Use Office.js APIs from outside an Office Add in

In the Office.js docs one reads the following about the new ExecuteAsync() method/pattern:
"This also allows us to use the same APIs even outside of an Excel add-
in. Imagine, for example, that you wanted to call Excel APIs against an > Excel workbook stored in OneDrive, but you wanted to do so from a stand-> alone web application, rather than one running inside Office 2016 for
Windows or Office Online. This async model lends itself well to that
capability."
Nevertheless, I wasn't able to find any explanation on how to implement such functionality in a standalone web application. Does anyone know how to do that?
This is referring to the new Excel REST API. Please see the documentation here: http://graph.microsoft.io/en-us/docs/api-reference/v1.0/resources/excel
Excel is so far the only Office host to support REST APIs, with the exception of OneNote's REST APIs which are independent from the Office.js effort.

MS Dynamics: retrieve the schema of entities to use it in SOAP?

I'm trying to add some entities via a SOAP client, to MS Dynamics (online). My client is not a Microsoft client.
Do you know a way to retrieve the schema of Entities like Account, Prospect etc... I would like to know how . I really need to know it , for integration with different installations of Dynamics.
I'd like to know the fields and when to put a String a Boolean etc.
I use a Demo instance of MS CRM online, from scratch, I did not change anything
Thanks!!
You can get metadata about an entity or just one attribute on an entity by using a request. Here is a link to an example
http://msdn.microsoft.com/en-us/library/gg594428.aspx
If you are looking to retrieve this information programmatically then follow Kevin Ross's answer above.
If you want to browse this information you can use the SDK Metadata Browser solution.
The Dynamics CRM Metadata Browser is in the SDK (SDK\Tools\MetadataBrowser). You can download the SDK from http://www.microsoft.com/en-us/download/details.aspx?id=40321.
Follow the README.DOCX that is in the SDK\Tools\MetadaraBrowser and you'll be able to see all the information necessary for manually building your SOAP calls.
Here is what it looks like:

What are the ways available to connect iOS app to fetch data from or via microsoft dynamics crm 2011? [duplicate]

I'm looking to interact with my Microsoft Dynamics CRM system from my iPhone, performing tasks such as pulling down, updating, creating and deleting records.
Is this possible? If so, can anyone link me to any good resources on the matter or provide me with any information you feel would be relevant?
Many thanks,
Jack
Yes this will be possible and there are at least some relevant pointers in the CRM SDK (Development from Non-.NET Clients in Microsoft Dynamics CRM) however general support and anecdotal information is sparse (in fact the referenced topic and it's links are all that exist in an official sense).
You will be accessing via the SOAP endpoint and the link to the WSDL for that is exposed via the CRM UI (Settings > Customizations > Developer Resources).
I'd start with downloading the CRM SDK and reading the topics I linked to.
Caveat - I know nothing of Objective-C or IOS
I don't know anything about this, but maybe that'll help: http://www.cwrmobility.com/
If your looking to develop something yourlself, this might help: http://www.microsoft.com/en-us/download/details.aspx?id=13621
It is possible, you'll need to use the web services API.
MSDN web services API docs
It uses JScript, so on the iPhone, you should use NSURLRequest and NSURLConnection to retrieve the data coming back.
Here is another link for using JSON, as iOS has a JSON parser built in now
MS CRM using JSON

Objective-C & Interacting with Microsoft Dynamics CRM

I'm looking to interact with my Microsoft Dynamics CRM system from my iPhone, performing tasks such as pulling down, updating, creating and deleting records.
Is this possible? If so, can anyone link me to any good resources on the matter or provide me with any information you feel would be relevant?
Many thanks,
Jack
Yes this will be possible and there are at least some relevant pointers in the CRM SDK (Development from Non-.NET Clients in Microsoft Dynamics CRM) however general support and anecdotal information is sparse (in fact the referenced topic and it's links are all that exist in an official sense).
You will be accessing via the SOAP endpoint and the link to the WSDL for that is exposed via the CRM UI (Settings > Customizations > Developer Resources).
I'd start with downloading the CRM SDK and reading the topics I linked to.
Caveat - I know nothing of Objective-C or IOS
I don't know anything about this, but maybe that'll help: http://www.cwrmobility.com/
If your looking to develop something yourlself, this might help: http://www.microsoft.com/en-us/download/details.aspx?id=13621
It is possible, you'll need to use the web services API.
MSDN web services API docs
It uses JScript, so on the iPhone, you should use NSURLRequest and NSURLConnection to retrieve the data coming back.
Here is another link for using JSON, as iOS has a JSON parser built in now
MS CRM using JSON

Web-based document merge solution?

We are looking for a web-based document merge solution.
Our application is a web-based project management tool built using Xataface - PHP on Windows IIS + mySQL. We have a function that allows the user to generate a status report in Microsoft Word format based on data in the tool.
Currently this function is implemented using LiveDocX. We have a status report template, and LiveDocX performs the merge into the template using data from our project management tool.
The main drawback is LiveDocx is web-service based. We are looking to replace LiveDocX in order to reduce our dependence on the up-time of a third-party web-service that we cannot control.
Does anyone have any suggestions on a web-based document merge solution that I can install on my IIS or PHP based server?
In reading your question, I'm not sure if what you're after is actual mail merge or just simply populating a single Word template server-side. In either case, here are some things to get your started:
For mail merge (multiple document
results based on multiple records,
say, from a database), you can use
either the Open XML SDK for a VS
solution or access the Open XML
directly. In that case, these are
good articles to start with:
Mail Merge in WordProcessingML
Mail Merging with a Custom Client
Using the Open XML SDK 2.0
For direct single-document
population with data, these are good
libraries that use PHP:
PHP Word
PHP OpenXML API (not incredibly
mature, but a starting point)
If you are still looking for solution then you can try Aspose.Words for .NET
it is a commercial component (not free).