0

I would like to call an external API from Sharepoint aspx page using any method like server side or client side.Is there any approach for doing this.

If yes please refer some links with some examples.

In my case external API would be ERP applications like SAP.

I am just trying to get the user information in my sharepoint page using below link but could not achieve that. Building Custom API for SharePoint online

Expecting an early reply.

Thanks

0

This can be done a few different ways.

Since you are trying to get information from the SAP application to SharePoint, you can use web services. Transactions such as REST might be the way. Also if you have access to the SAP endpoint, BDC would be the way to do it.

Underlying the BDC is a WCF service. Predominantly a C# framework, but can talk to other endpoints in a variety of ways, including REST.

What information are you trying to get into SharePoint?

If you're going client side, then the JavaScript you write will have to make calls against the SAP API and the CSOM. There's also a client side way of talking to SharePoint strictly with making REST calls.

  • Thanks for your reply. Actually i am yet to receive the external application details and it may be SAP or ORACLE anything. Now am trying to consume the API in our sharepoint aspx page using client side methods. So If possible could you give some example methods with sample code.I have tried to use quickbase API for POC. Now am able to get the ticket in my sharepoint page using javascript.So to proceed with that ticket i need to us some API in quickbase.Any example code will be helpful. – Poovi Nov 15 '17 at 6:45
  • Here's a link talking about quickbase with some sample code...stackoverflow.com/questions/29386945/… – Chris Kuznicki Nov 15 '17 at 10:26
  • Whenever tackling these kinds of problems I find it easier when I diagram it out...I usually use Visio but a simple doodle also goes a long way too...especially when you're trying to talk between two disparate systems – Chris Kuznicki Nov 15 '17 at 10:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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