Sage 300 Web SDK Question

SOLVED

Hi

Can someone confirm if Sage 300 Web SDK is available with Webscreens feature only or can we integrate with the Web SDK without Webscreens installed? Also which version of Sage 300 supports Web SDK?

Thanks in advance.

  • 0

    The web SDK is specifically for developing web UIs for Sage. When you say "can we integrate with the Web SDK without Webscreens installed?" what are you looking to do? The point of the web SDK is to build web UIs of Sage modules that work with the Sage web screens. Take a look at the github. There are web SDK versions going back to 2017

  • 0 in reply to Vega

    Thanks for the response Vega. We want to integrate Sage with our CRM and for that we are looking to use Sage Web API.

  • 0 in reply to CloudJunction Developer

    Which CRM do you have? You won't need the web SDK for this. You just need Sage's web API which uses REST to push and pull data from Sage. You access it from localhost/Sage300webapi as long as it was enabled during install.

  • +1 in reply to CloudJunction Developer
    verified answer

    You have to install the Sage web screens feature before you get the REST api. The webscreen feature installs /Sage300webapi service in IIS.

  • +1 in reply to SergeB
    verified answer

    Ahha, you are correct. So yes, install the web screens in Sage. You don't need the web SDK to do any more work. Open a browser session once it is installed and goto the localhost/sage300webapi page and then open the Swagger UI. It takes a while to load. Then you can query Sage from there. A few things to note though. Before you go to that page, you need to make a few config changes. You either create a specific user to access the web API or you use the ADMIN user. If you choose the former, then give them admin rights on everything you need. If you choose the latter, then you need to edit 2 config files. They are in the Sage300/Online/Web and Sage300/Online/WebApi folder. Open the web.config in each one and look for AllowWebApiAccessForAdmin and set it to true. If you want more than 100 records back, then in the WebApi/web.config file search for this text: Web API Page Size (for server side paging)

    Then set the value to be 1000 or something. Don't go mad because the amount of data per record is quite large.

    When you open the Swagger UI, you can test, and it will prompt you to log in. The user name and password are the Sage user name and password and you MUST type them in upper case otherwise it won't work. Then you're off.