Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is there any way to call a WCF service from a sharepoint online workflow (Sandboxed Solution)? I have looked up quite a few samples but they all seem to use farm solutions which is obviously not an option in this case.

Secondly, is there a way to start a workflow manually, one that does not require any startup parameters without the need for the user to actually be redirected to a pretty bland page and clicking on "Start"?

Thanks in advance! ;)

share|improve this question

2 Answers 2

up vote 2 down vote accepted

As James said, you can either use some client side technology like javascript/jQuery/ECMAScript or the Silverlight to call WCF services.

You can build custom actions by creating XML definitions in element files in Visual Studio projects and attach the workflow logic behind them. And, then you can specify where custom actions should appear, such as on the Site Settings menu or on a specific administration page.

Custom actions can also interact with SharePoint by using the JavaScript implementation of the SharePoint 2010 client object model.

share|improve this answer
    
Thanks for the advice. + 1 –  f0x Jan 23 '12 at 8:22

One of the restrictions of sandboxed solutions is that you cannot call WCF web services. There is no way around this, other than calling a web service from the browser using client side (ie: Javascript) code.

share|improve this answer
    
Thanks for your response. +1 –  f0x Jan 23 '12 at 8:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.