Sample Content Server App not working on KnowZone

Options

Hi,

I just can't get the sample app working on the knowzone image.
I get a 'not authenticated' or "{}" error message back.

What url should I use on it?

I did add the proxy items:
cs=enterprise:8090/otcs/llisapi.dll/api/v1 (already there)
contentserver=enterprise:8090/otcs/llisapi.dll/api/v1 (added)

Thanks,

Roel

Comments

  • Did you follow the instructions from the sample app's article:

    • OTAG Reverse Proxy Service settings: All requests to Content Server have to be routed through the AppWorks Gateway to avoid Cross Domain policy issues. Below reverse proxy settings need to be added to the settings of OTAG Reverse Proxy Service.

      Allowed path patterns:

      cs/api/*
      

      Proxy mappings:

      cs=<cs hostname>:<cs port no>/OTCS/livelink.exe
      

    Don't forget to customise the app source itself:

    • In the file js/content-api.js, modify the content.BASE_URL variable by pointing it to the AppWorks Gateway.

      i.e., BASE_URL: '<hostname>:<port>/cs/api/v1', modify <hostname> and <port>.
      
  • Did you follow the instructions from the sample app's article:

    • OTAG Reverse Proxy Service settings: All requests to Content Server have to be routed through the AppWorks Gateway to avoid Cross Domain policy issues. Below reverse proxy settings need to be added to the settings of OTAG Reverse Proxy Service.

      Allowed path patterns:

      cs/api/*
      

      Proxy mappings:

      cs=<cs hostname>:<cs port no>/OTCS/livelink.exe
      

    Don't forget to customise the app source itself:

    • In the file js/content-api.js, modify the content.BASE_URL variable by pointing it to the AppWorks Gateway.

      i.e., BASE_URL: '<hostname>:<port>/cs/api/v1', modify <hostname> and <port>.