NodeRed catalogue hosted on Azure Artifact

40 Views Asked by At

I've been trying to add a custom catalog to my Node-RED installation using an npm feed hosted on my Azure DevOps instance. I looked everywhere for documentation, including this, I'm encountering difficulties getting it to work.

Here's a snippet of the configurations I've tried in the settings.js:

 editorTheme: {
        projects: {
            // To enable the Projects feature, set this value to true
            enabled: false
        },
        externalModules: {
            autoInstall: false,
            autoInstallRetry: 30,
            palette: {
                allowInstall: true,
                allowUpload: true,
                allowList: ['*'],
                denyList: []
            }
        }
    }

or this

  // Customising the editor
    editorTheme: {
        projects: {
            // To enable the Projects feature, set this value to true
            enabled: false
        },
        palette: {
            editable: true, // Enable/disable the Palette Manager
            catalogues: [   // Alternative palette manager catalogues
                'https://catalogue.nodered.org/catalogue.json',
                'https://dev.azure.com/myorg/myOtherCatalogue.json'
            ]
        },
    }

For reference, I'm using Node-RED version 3.1.5 and npm version 10.4.0.

If anyone has successfully set up a custom catalog in Node-RED using an npm feed on Azure DevOps or has any insights into what might be causing the issue, I would greatly appreciate your help.

I appreciate any help you can provide.

1

There are 1 best solutions below

3
ff8mania On

I think I found the solution.

This is the new configuration inside editorTheme:

editorTheme: {
        projects: {
            // To enable the Projects feature set this value to true
            enabled: false
        },
        palette: {
            catalogues: [   // Alternative palette manager catalogues
                'https://catalogue.nodered.org/catalogue.json',
'https://dev.azure.com/myorg/myOtherCatalogue.json'

            ]
        },
    }