ExecuteMultiple in silverlight RRS feed

  • Question

  • Hi all,

     i want to use ExecuteMultiple request in my silverlight application.

    its work fine in plugin,or console application.

    but no luck in silverlight.

     Service = SilverlightUtility.GetSoapService();

       OrganizationRequest request = new OrganizationRequest() { RequestName = "ExecuteMultiple" };
                    request["Settings"] = new ExecuteMultipleSettings()
                        ContinueOnError = false,
                        ReturnResponses = false
                    OrganizationRequestCollection OrganizationRequestcol = new OrganizationRequestCollection();
                    request["Requests"] = OrganizationRequestcol;
                    EntityCollection input = GetCollectionOfEntitiesToCreate();
                    foreach (var entity in input.Entities)

                        OrganizationRequest createRequest = new OrganizationRequest() { RequestName = "Create" };
                        createRequest["Target"] = entity;

      Service.BeginExecute(request, new AsyncCallback(MyResponse), Service);

    ExecuteMultipleSettings and OrganizationRequestCollection classes are not supported in  silverlight.

    Hope this helps. ----------------------------------------------------------------------- Santosh Bhagat If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

    Wednesday, February 19, 2014 8:29 AM