Start sharepoint list workflow 2010 platform from sharepoint 2013 workflow platform - sharepoint-2010

I have two workflows, one of them with SharePoint Workflow 2010 platform to send email to external users, and the other is an SharePoint Workflow 2013 platform.
So, I need to start 2010 Workflow from 2013 Workflow bit i get the following error:
Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP BadRequest to http://win-r9ic5tcuftv:46963/Consejo/_vti_bin/client.svc/SP.WorkflowServices.InteropService.Current/StartWorkflow Correlation Id: f9b6c585-4ea5-6ec6-bf8e-127b6162b46c Instance Id: f66f7278-2519-4a01-852e-c6f1ad88d274
And this:
The HTTP method 'GET' cannot be used to access the resource 'StartWorkflow'. The operation type of the resource is specified as 'Default'. Please use correct HTTP method to invoke the resource
I tried using System Account and other users with priviledges to colaborate into the list, and it doesn't work.
Does anyone have a way to solve that?

This post on MSDN has some related information.
The issue may be related to starting a 2010 workflow from a 2013 workflow in a list or library that contains many thousands of items- specifically, the Interop service seems to have a hard time with more-than-triple-digit ID numbers.

Related

Send data from list in SharePoint in Microsoft 365 to external API

I have a list in "SharePoint in Microsoft 365" and am looking to extend its usefulness. I would like to create a button or something that can take a row of data and send it to an external site via API (another tool that we have created).
To be clear:
SharePoint initiates a GET or POST request
the request must have row or field data attached
the destination is outside of Microsoft/SharePoint
Can it be done?
(Apologies if this is a repeat question, I could only find answers that pertained to older versions of SharePoint and focused on hitting external APIs to retrieve data, not send it.)
OK, i think the best choice to send Data from a selected row, is to use the ListView Command Set here you can do anything with #pnp/nodejs.
Otherwise...
PowerAutomate can help send data.

Learn SSRS SOAP API in C# language

Where do I start learning SOAP API based on C# for Reporting Service ? MSDN articles are difficult for me to understand and ended up making me confused. In fact, they are like giving more facts. I want to get my hands dirty on coding. But I don't know where could I start. What I want to do is I want my RDL reports/or RDLC reports to get accessed by users over the web. Please give me some guide.
P.S My coding skill is not very good ,but I want to learn more and practise more to improve it. Currently I am using SQL 2012 and VISUAL STUDIO 2012.
Thanks.
For me the easiest way was to start with generated proxy class. I did that using this MSDN article. Follow the section named "Adding the Proxy Using the WSDL Tool". According to it, first generate proxy class running this in command prompt (you may need to use VS dev command prompt to run wsdl.exe):
wsdl /language:CS /n:"Microsoft.SqlServer.ReportingServices2010" http://<Server Name>/reportserver/reportservice2010.asmx?wsdl
You will get ReportingServices2010.cs file, which you can include in your projects and use to connect to SSRS server.
var service = new ReportingService2010(){
Url = "http://<your server>/reportserver/reportservice2010.asmx" // url to your server
};
Then you can code anything you want according to MSDN documentation on this reporting service.
Let me know if this helped you.
I don't know if you made progress since your post (I hope so), but in my case I use the SOAP web service, without created proxy server by hands. VS will do the job.
This MSDN article and related links explain it.
The principle is the following : access the SOAP web service through an URL that looks like that : http://server/reportserver/ReportService2010.asmx?wsdl
where "server" is your domain name server, or IP address
and "reportserver" the access point of your SSRS server (it can be different in function of your installation settings).
After, in your VS, go in "Project" menu and choose "Add a service reference". Then enter the URL of your SSRS SOAP service (as explained before) and that's it !
It will create a new folder in your project called "Web Reference" with a item inside, directly linked to yout web service.
Then you can us it like any other object of .NET Framework (by creating ReportingService2010 for example like done in previous post).
Let me know if you have any other questions.
Regards

custom buttons are not displaying in Microsoft Office Outlook Client 2010

I have added two custom button in my order entity.
Both are displaying in Web version of CRM 2013 but not displayed CRM Outlook 2010.
I have tried using Workbench 2013.
Can anyone have idea to display those buttons using Workbench?
I have figure this out but i am not sure what is the actual fix for this.
The things i have done :
1. Apply a display rule to one the group control, which contains OrGroup as following
NOTE : for some entity i am able to display buttons in outlook without
MiscellaneousPrivilegeRule
CrmOfflineAccessStateRule
2. Another rule is Enable rule as per following
3. Delete my Internet Explorer cache (used by the CRM Outlook Client)
4. Fix javascript errors, which might cause this issue using Microsoft Dynamics CRM 2013 Custom Code Validation Tool
5. Also check for any UI errors in Outlook.
To see buttons in Outlook they must have either an enabled and display rule applied that checks for either the Web or Outlook client and returns true accordingly for each. So in your case because you want the button to appear in both you must apply a rule that checks for each and returns true.
The RibbonWorkbench developer blog provides further information.
Please try:
1) Check for UI errors in Outlook: http://msdn.microsoft.com/en-us/library/bb608619.aspx
2) Make sure you have the CRM 2013 Outlook Client installed + the same/later rollup version as the CRM server.
3) Re-add the organization to the CRM Outlook Client
- Publish all customizations
- Remove the organization in Outlook
- Delete your Internet Explorer cache (used by the CRM Outlook Client).
- Re-add the organization to Outlook
4) If possible try with another computer that has a different Office version to test if the problem is related to the Outlook Client or to the ribbon customizations is CRM.

Unable to Maintain Multiple session in axis 1.4

I want to add, get and update customer details from Netsuite. I have used apache axis 1.4 (recommended by Netsuite) to communicate web services exposed by Netsuite. I can be logged in successfully, however once I log in, I am unable to do further operations like add, update and get customers.
Here is the error msg I got:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: Your connection has timed out. Please log in again.
SOLUTION: For other people stuck with the same issue here is where is the problem. Apparently NetSuite has changed their web services url without updating their documentation. The new url you have to use is:
https://webservices.na1.netsuite.com/services/...
I suspect this is an end point for North America -based customers.
Big Thanks! to Paul Hooker for his invaluable tip.

Programmatically accessing a Sharepoint list at runtime (without creating a service reference at design time)

I'm creating an app that will be configurable by the end-user to access SharePoint lists, on various different SharePoint sites, that are entered by the user.
All of the examples for reading SharePoint lists I've come across online are of the form:
Open or create a Visual Studio
project.
In Solution Explorer,
right-click the References node, and
then click Add Service Reference.
In the Address box, type the URL to
the target site and append
/_vti_bin/ListData.svc. For example,
the address for the site
intranet.wingtip.com would be
http://intranet.wingtip.com/_vti_bin/ListData.svc.
Change the default name in the
Namespace box from ServiceReference1
to something more appropriate, such
as WingtipSite.
etc, etc, etc
This method creates proxy classes within your project based on the specified server reference. However, in my case, the server/site is not known at design time, only runtime by reading the sites/lists specified by the user. How would one go about doing that (reading the list via http://intranet.wingtip.com/_vti_bin/ListData.svc, but at runtime only)?
Note: I am making this call from a different machine than the one running Sharepoint.
There are a couple answers.
If the lists schemas will be consistent across all the sites you are querying, you can still use the generated proxy. When you create the DataContext, you just need to pass in the URI to the ListData.svc for the site chosen by the user.
If not, then you can use an ASP.NET WebRequest with an appropriately formatted URI and parse out the ATOM or JSON response that comes back.
For more information on using the REST APIs, check out this talk from the 2009 SharePoint Conference
http://msdn.microsoft.com/en-us/sharepoint/ff462048
You can set the URL in your proxy class at runtime with the Url property.
SharePoint does not provide a proxy class for their web services. Therefore it's not possible to set the url at runtime. WHat I have had to do is add 2 service references and then paramaterize which one I will access. I use a config setting to determine which one to access. If the site name changes or list changes, then I need to remove the references, re-add them, recompile and redeploy. There is no way to change the SharePoint site/list at runtime. Have been searching for 3 days for an answer. Microsoft does not know how to accomplish this.