Having trouble using the Web Client SL library

2025-10-04
2025-10-07
  • caliberbishop - 2025-10-04

    Hello,
    I'm trying to use the Web Client SL library, I installed it in the IDE (did not purchase a license yet, as this is still a proof of concept so demo mode is good enough) and added it to the library manager. However, when trying to define a FB of the type WebClient I get a "Identifier 'WebClient' not defined" error message, setting the type to Web_Client_SL.WebClient did not work as well. Opening the example project the FBs defined there give the same error message.
    From the problem in the example project I deduce this is not a syntax problem, so maybe a license problem, but there should be a working demo mode, so what am I missing?

    IDE v 3.5.21.30
    Library v 1.12.0.0

    Thanks

     
  • TimvH

    TimvH - 2025-10-07

    it should be something like:
    fbWebClient : WEB_CLIENT.WebClient;

    You need to use the "Namespace" of the library, not the name of the library itself.

     
    • caliberbishop - 2025-10-07

      Edited:
      Thank you, after further inspection the library is unavailable in the example project for some reason, but using the correct Namespace in my project solved the problem.

       

      Last edit: caliberbishop 2025-10-07

Log in to post a comment.