开发者

Sharepoint client api. Call custom function

Can i call custom created function from sharepoint client api?

I need to call function on server:

public class ClientCallsReci开发者_StackOverflowever
{
   public void CustomFunction()
   {
      //A LOT OF CODE ON SERVER
   }
}

So is it possible to do on client something like:

Context.Completed+=CompletedHandler;

Context.Invoke("CustomFunction");


You can't directly call a method on the server from the client. You'd need to create a Web service and expose the method through it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜