Invalid Role - PROJECT_CREATOR

gblack686
Level 4
Invalid Role - PROJECT_CREATOR

I'm getting a warning "Unkown macro role" when I'm attempting to add the python-runnable to my plugin. I copied the code from here.

{
    "meta": {
        "label": "Start a New Project",
        "description": "",
        "icon": "icon-puzzle-piece"
    },
"impersonate": false,
"params": [
        {
            "name": "projectName",
            "label": "Project name",
            "type": "STRING",
            "mandatory": true
        },
        {
            "name": "pyCodeEnvName",
            "label": "Python Code env name",
            "type": "STRING",
            "defaultValue": "python3"
        }
    ],
    "permissions": [],
     "resultType": "JSON_OBJECT",
    "macroRoles": [
        {"type": "PROJECT_CREATOR"}
    ]
}

Are there any additional step to allow it to appear on the "Create New Project" button on the home page? What about adding a folder similar to "DSS Tutorials"

5 Replies
Clรฉment_Stenac

Hi,

Are you running DSS 7 ?

gblack686
Level 4
Author

I'm running DSS 6.0.3

Clรฉment_Stenac

Project creation macros, and hence, the PROJECT_CREATOR role are a new feature of DSS 7, which you'll need in order to test this.

gblack686
Level 4
Author

Is the DATASET macro role described here also new to DSS 7?

Clรฉment_Stenac

No, this one was introduced in 5.0 or 5.1