Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

How to create simple settings in plugin?

Answered

Comments

2 comments

  • Andrey Terentyev
    • Network Optix team

    Hello Mohamed,

    Is there any documentation for how to create settings in plugin?

    See these files of the Metadata SDK

    metadata_sdk/src/nx/sdk/analytics/manifests.md
    metadata_sdk/src/nx/sdk/settings_model.md

    I am able create plugin. But, NX client is not displying the text box field which I expected.

    Most probably, your manifest JSON is not correctly formatted.
    You have totally wrong structure of the Engine manifest. That's the root cause.
    In your case, it should be similar to this:

    return /*suppress newline*/1 + R"json(
    {
    "capabilities": "needUncompressedVideoFrames_rgb",
    "objectActions": [
    {
    "id": "nx.stub.addToList",
    "name": "Add to list"
    .....
    },
    {
    "id": "nx.stub.SomeNewId",
    "name": "a new name"
    }
    ]
    }
    )json";

    Please, revise carefully your manifests while reading documentation in the .md files.

    Pay your attention, objectAction object can't have the "items".

    0
  • Permanently deleted user

    I am able to get settings 

    0

Please sign in to leave a comment.