C# - How to satisfy Sharepoint References - Guidance
-
30 Nisan 2012 Pazartesi 13:50
e.g. satisfy these references
using Microsoft.SharePoint;
using Microsoft.Office.DocumentManagement.DocumentSets;from
I have found references to sharepoint.dll which means that this code must be only possible on the server ?
So does this mean this code would not work client side ?
=> So as someone wanting to do thing client side (e.g. grab documents) how do you know what MSDN pages apply to you and not server side as there doesn't seem to be a consistent flagging of this within MSDN ?
Thanks
Tüm Yanıtlar
-
30 Nisan 2012 Pazartesi 14:18
What exactly do you mean by client side?
Are you wanting to create a client application? (e.g. Console, Forms, etc)
-
30 Nisan 2012 Pazartesi 23:58
Client side means code running not on the server. The server being sharepoint 2010.
If a assembly needs a "sharepoint.dll" reference, then this will not be available outside the server.
In this case it is a Windows Form App that is NOT displaying web parts, buts needs to keep track of file changes in a dicument set and extract the files locally.
Thanks
-
01 Mayıs 2012 Salı 08:04
microsoft.sharepoint.dll works only on server side.
Some functionality for client side can give you microsoft.sharepoint.client.dll.
Don't happy, be worry...
- Yanıt Olarak Öneren Margriet Bruggeman 01 Mayıs 2012 Salı 08:13
- Yanıt Önerisini Geri Alan Greg B Roberts 04 Mayıs 2012 Cuma 04:20
-
01 Mayıs 2012 Salı 13:30
Thanks
If you or Margriet could give me some pointers to the context of satisfying microsoft.sharepoint.client.dll we can conclude this post ?
I found no way to reference microsoft.sharepoint.client.dll
Is this a SDK thing and once built your app you need to install the SDK on clients using the app ?
Greg
-
01 Mayıs 2012 Salı 16:55
What king of application do you develop? And what is your task?
If it Windows Form you can just copy microsoft.sharepoint.client dll to your project and use it remotely from SharePoint Server (on client).
Don't happy, be worry...
- Yanıt Olarak İşaretleyen Greg B Roberts 01 Mayıs 2012 Salı 23:07
- Yanıt İşaretini Geri Alan Greg B Roberts 02 Mayıs 2012 Çarşamba 01:00
-
02 Mayıs 2012 Çarşamba 01:02
Hi
I am [hoping to] checking for changes to a document set (happy to poll) and then wanting to grab a fresh copy. This is being done on a PC other than the server.
Thanks
- Düzenleyen Greg B Roberts 02 Mayıs 2012 Çarşamba 06:00
- Düzenleyen Greg B Roberts 02 Mayıs 2012 Çarşamba 06:01