Question

  1. Quelle est la différence entre LISTDATA.SVC et Clients.svc dans SharePoint? Les deux sont desservices et peuvent être utilisés pour récupérer des articles de liste.

  2. J'ai lu que tout modèle d'objet serveride ou modèle d'objet client ou modèle JavaScript fait appel à des appels interne aux clients.SVC, est-ce vrai?

Était-ce utile?

La solution

SharePoint Client OM utilise le service WCF Client.SVC pour communiquer avec SharePoint Server.Service Client.SVC utilise le serveur OM selon la demande du client et le résultat de retour au client au format JSON.Votre 2e point est donc correct Modèle d'objet client ou JavaScript en interne appelle les appels aux clients.SVC.Le modèle d'objet côté SERVERSIDE n'utilise pas Client.SVC.

Bien que pour obtenir les données de la liste SharePoint via le repos, nous utilisons LISTDATA.SVC.

http://<sharepoint-server>/_vti_bin/ListData.svc/<ListName>

Pour plus de détails:

http://msdn.microsoft.com / fr-US / bibliothèque / bureau / jj164060 (v= bureau.15) .aspx

Autres conseils

ListData.svc - only if list data is needed
Client.svc - List data and oData operation

The "_api" is friendly name, since it's easier to read. The old SharePoint 2010 /_vti_bin/ListData.svc is still there in SharePoint 2013, and is handy if only List data is needed.

In SP2010 - /_vti_bin/ListData.svc
In SP2013 is replaced
From: /_vti_bin/Client.svc
To: /_api/

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top