Questions tagged [sharepoint-api]

Microsoft SharePoint API

Microsoft SharePoint can be used to provide intranet portals, document & file management, collaboration, social networks, extranets, websites, enterprise search, and business intelligence. It also has system integration, process integration, and workflow automation capabilities.[1]

Microsoft make available an API to interact with SharePoint servers, this API is accessible through a REST interface or a collection of .NET libraries, primarily the client library (can execute on a different machine to the SharePoint server) and the server library (must be executed on the same machine as the SharePoint server).

Both of these libraries can be obtained from the files installed by the SharePoint SDK. They contain the namespaces Microsoft.SharePoint.Client and Microsoft.SharePoint.Server respectivley.

Further functionality can be accessed through additional libraries, however these libraries are only available from the install path of the SharePoint server and they provide functionality (such as email) only available when executed on the same machine as the server.

355 questions
0
votes
2 answers

How do you create a new form for a custom Content Type

I am creating a new content type through an Elements.xml file in Visual Studio. I have reference a custom New form document in the XmlDocment node
terahex
  • 81
  • 1
  • 2
  • 14
0
votes
1 answer

Custom Sandboxed Workflow Activity Issues

I have a custom SharePoint sandboxed workflow activity that I am trying to pass an optional parameter to. However, ULS gives me the following exception message: "SJW.SPDActivities.SendEmailWithAttachment.SendEmailWithAttachmentActivity" of type…
0
votes
1 answer

Debugging a SharePoint 2010 Custom Activity

I'm trying to build a custom activity for SharePoint 2010 to be used in a work flow. In the designer, I can see the activity in Action drop down menu on the ribbon under "Custom Activities". However, the element never materializes in the designer…
0
votes
5 answers

What's wrong with this function. unable to return string value

public static string GetContentFromSPList(string cValueToFind) { string cValueFound = ""; try { SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite("http://mysite")) …
Anirudh
  • 581
  • 5
  • 14
  • 32
0
votes
1 answer

Simple URL Picker

hi my scenario is I want to give the user the ability to browse SharePoint for a file and then the dialog should give me back the URL of that file. Is this simple? And how to do it?
-1
votes
2 answers

SharePoint: Common mistakes

Recently I figured out one terrible thing I was not supposed to do when doing SharePoint development: using (var spSite = SPContext.Current.Site) { // do something } After some hair pulling I figured out that the code above was actually…
Moon
  • 33,439
  • 20
  • 81
  • 132
-1
votes
1 answer

Failed to acquire token silently. Call method AcquireToken not working

// constructor public ADALTokenCache(string user) { // associate the cache to the current user of the web app User = user; this.AfterAccess = AfterAccessNotification; this.BeforeAccess =…
-1
votes
2 answers

SPWebConfigModification class will not update Central Admin application's web.config file

Using SharePoint 2010 I am trying to use the SPWebConfigModification class to make some basic changes to web.config files on applications in the farm, including the Central Administration web.config file using web application scoped features with…
Preston Guillot
  • 6,493
  • 3
  • 30
  • 40
-1
votes
1 answer

Adding a document to a SharePoint list using a Ribbon button

I have a SharePoint solution using a custom document library. I need a way to allow users to added documents, but I need to specify the file name based on strict naming conventions. I am currently trying to use a Sharepoint workflow, but there is…
terahex
  • 81
  • 1
  • 2
  • 14
-1
votes
3 answers

Where I can find sharepoint api

I am new one to sharepoint. I want to gather all the methods and class available in sharepoint. Where I can get them. Just like API. I searched with Sharepoint API in google. But results are not much pretty match. Can you please suggest me any link…
Searcher
  • 1,845
  • 9
  • 32
  • 45
1 2 3
23
24