Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upload to SharePoint
Message
 
À
11/05/2011 02:14:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01510281
Message ID:
01510282
Vues:
67
>I need to be able to upload a file to a SharePoint document folder, I have found .Net examples but they use a SharePoint framework object so I can't see what is happening "under the hood".
>
>I Could write a .Net DLL and call from VFP but I really want to use pure VFP, anyone done this or come accross sample code?
>
>Gary.


The answer from here (http://stackoverflow.com/questions/2781341/upload-a-pdf-file-to-a-sharepoint-document-library-using-access-vba):

Microsoft did some magic in SharePoint to make the libraries appear as Windows network shares to the clients. So, your program can just save the file to the UNC path.

So if you are logged on as a user with permissions to the library and the URL to the library is http://SHAREPOINT/Department/Files/ (for example), you can just save or copy the PDF files to \\SHAREPOINT\Department\Files\.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform