Get started with API Designer

I have tried to start with the API Designer and I could compile locally, start a local API server, ...

There is also an installed ApiServer on our IIS.

But I can't find out how to do any further fist step.

Is there any "getting started" document or video for API Designer?
Just provide me all the steps to get a single "Hello World" or something like that.

Patrick

I have Identity Manager 8.1.3

Parents
  • Hi Patrick,

    have you tried the APISamples on the DVD? I would start here with a normal Visual Studio.

    Regards,
    Geraldine

  • Hi Geraldine

    Thanks für your answer.
    I just tried that as well. It seems, that UI part is problematic:

    Info: Trying to load HTML app from file: Html_api-server-web-ui_Debug
    Error: VI.Base.ViException: Die Assembly Html_api-server-web-ui_R9C4npZUkjRE8b5tu9Rdu6HqQQ_Debug wurde in 'DialogScriptAssembly' nicht gefunden.

    It looks like I'm having similar problems as Wolfgang in  Cannont compile API Server UI.
    I've also managed the issue with node-sass and I'm now facing the next errors.

    At the moment the problem is:

    - C:\Users\asdf\AppData\Local\Temp\1\html\QBM\ApiServerWebUi\node_modules\@angular\cli\bin\ng
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:92:18)
    at Object.sassLoader (C:\Users\asdf\AppData\Local\Temp\1\html\QBM\ApiServerWebUi\node_modules\sass-loader\lib\loader.js:46:72)
    ERROR in scripts.b35907f55324a16f88af.js from UglifyJs
    Unexpected token punc «{», expected punc «(» [node_modules/swagger-ui-dist/swagger-ui-bundle.js:2,204775][scripts.b35907f55324a16f88af.js:2,204780]
    npm ERR! code ELIFECYCLE

    Which could be caused by UglifyJs which is ES6 incompatibly.

    I'm not very familiar with npm. If I google for hints there is always a reference to "green field" projects and I can't find corresponding things in my IdentityManager installation.

    Patrick

  • Cool, that bugfix seems to work in 8.1.3 as well.

    compiling is now possible without any error.

    Now I still have the following error if I start the API samples from Visual Studio: 

    Info: Trying to load HTML app from file: Html_api-server-web-ui_Debug
    Error: VI.Base.ViException: Die Assembly Html_api-server-web-ui_R9C4npZUkjRE8b5tu9Rdu6HqQQ_Debug wurde in 'DialogScriptAssembly' nicht gefunden.

Reply
  • Cool, that bugfix seems to work in 8.1.3 as well.

    compiling is now possible without any error.

    Now I still have the following error if I start the API samples from Visual Studio: 

    Info: Trying to load HTML app from file: Html_api-server-web-ui_Debug
    Error: VI.Base.ViException: Die Assembly Html_api-server-web-ui_R9C4npZUkjRE8b5tu9Rdu6HqQQ_Debug wurde in 'DialogScriptAssembly' nicht gefunden.

Children
No Data