I created a sequensial site workflow using VS2010. Its working fine. I want to start it manually using silverlight client object model.
Can any one help me how it can be done?
View Complete Post
I am able to get the Associated workflow from list. I want to start that workflow.
Web oWebsite = clientContext.Web;
List oList = oWebsite.Lists.GetByTitle("Employee");
SP.Workflow.WorkflowAssociation wk = oList.WorkflowAssociations.GetByName("Workflow1");
I have created a sequential workflow using visual studio. I also created a content type inherited from the workflow-task content type. Workflow creates a task-item in the task list. I want to update the workflow task using the silverlight client
object model. I find on the internet and WorkflowTask.AlterTask() method to update the workflow task item. But I didn't find the equivalent of WorkflowTask.AlterTask(). Can any one help me to update the workflow task from the silverlight client object model?
I also want to terminate the workflow instance using silverlight client object model, but i didn't find any way to terminate the workflow using client object model?
I am working a FQDN installation of SP2010 site and I am having touble connecting to it from Silverlight, when my Silverlight app is running outside that SP2010.
Just to include the note, that if I use the CLR client object model, from a Console Application, I am able to connect to the FQDN SP 2010 site, and get all data I need. Using the CLR and monitoring with fiddler there are two consequent requests made: first
GET to http://my_sp2010_site_fqdn/_vti_bin/sites.asmx, then POST to
http://my_sp2010_site_fqdn/_vti_bin/client.svc/ProcessQuery and Everything works fine.
However when it comes to the Silverlight Client I have troubles.
If I put my silverlight application in a web part inside my site, it works. If I put it on a regular site, outside SP - it does not work and following behavior is observed:
There is initial request sent to
but there is no consequent request to
That second request does not even show up in fiddler.
private ListItemCollection _projects;
I'm trying to get the DisplayName of the Fields of a list through the Client Object Model (Silverlight)
I can retrieve the fields of a list as an authenticated user but not as anonymous: getting list.fields as anonymous simply returns Access Denied.
Is there a way to enable list.fields for the Client Object Model?
Or is there any other way of getting the DisplayName of Fields of a List?
I am having an issue when trying to add a field to the web.AvailableFields. I am using web.AvailableFields.AddFieldAsXml(...) but it seem
that you need to associate the field with a list. Is it not possible to add a field to the site collection columns using the client object model?
What I am doing is creating a content type and then adding fields to this content type, if the fields dont exist I what to create them but an having a problem doing so.
In my scenario i have a Silverlight application hosted in ASP.NET. I want to push/pull data from a sharepoint site using the Client Object Model. Is this possible?
Notice that i don't want my Silverlight app as a web part...it is hosted in asp.net and just uses Sharepoint 2010 as a data source. Will the Client Object Model work here or are sharepoint web services the only way out??. I can host both the SL app and the
sharepoint site in the same domain if required...
Is there any way to make the Silverlight Client Object work with SharePoint 2010, if the Silverlight Application is not hosted inside the SharePoint itself? So far I was able to make it work only if I host my Silverlight inside SharePoint, and I can't make
it work in a stand-alone Silverlight Application. I have clieantaccesspolicy file within the sharepoint site I want to connect to, but the client itself does not work. There is initial request sent to
but there is no consequent request to
http://my_sp2010_site_fqdn/_vti_bin/client.svc and my RequestFailed handler is hit with following exception:
e.Exception is SecurityException:
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryGetResponseAsyncCallback(IAsyncResult asyncResult)
Inner Exception is:
can we access querystring in Client Object model [silverlight webpart]?
I'm trying to query all the lists in a SharePoint web using Client Object Model. I wrote the following code but it returns an error.
foreach (List olist in olistcoll)
camlQuery = new CamlQuery();
camlQuery.ViewXml = "<View/>";
collListItem = null;
collListItem = olist.GetItems(camlQuery);
private void onQuerySucceeded1(object sender, ClientRequestSucceededEventArgs args)
UpdateUIMethod updateUI = DisplayInfo1;