ServiceNow Custom Components
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 01:10 AM
I am trying to create a custom UI component in ServiceNow. Setting up project using below command
snc ui-component project [--name name_of_app --description 'application description' --scope scope --offline]
But it throws me below error - Error: unknown flag: --description
If I remove all non-mandatory values and just execute
snc ui-component project [--name name_of_app]
It still throws error that - unknown command "ui-component" for "snc"
Also, while doing 'snc configure profile refresh' or 'snc configure profile set', it saves profile but also gives warning/error saying - This instance does not support dynamic commands. Functionality will be limited.
Please confirm how can I overcome this error and setup custom UI component project. I am following below link https://docs.servicenow.com/bundle/sandiego-application-development/page/build/components/task/setup...
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2022 05:49 AM
Use below syntax, (removed square brackets)
snc ui-component project --name name_of_app --description 'application description' --scope scope
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2022 05:38 PM
Try running this command first to install ui-component. This should fix it.
snc extension add --name ui-component