@salesforce/plugin-orchestrator 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/commands/orchestrator/app/update.d.ts +0 -4
- package/lib/commands/orchestrator/app/update.js +4 -44
- package/lib/commands/orchestrator/app/update.js.map +1 -1
- package/lib/utils/app/appDisplayUtil.js +1 -1
- package/lib/utils/app/appDisplayUtil.js.map +1 -1
- package/lib/utils/app/appframeworkapp.d.ts +12 -2
- package/lib/utils/app/appframeworkapp.js +36 -3
- package/lib/utils/app/appframeworkapp.js.map +1 -1
- package/messages/appframework.create.app.md +92 -38
- package/messages/appframework.create.template.md +74 -21
- package/messages/appframework.delete.app.md +101 -17
- package/messages/appframework.delete.template.md +84 -31
- package/messages/appframework.display.app.md +88 -15
- package/messages/appframework.display.template.md +71 -28
- package/messages/appframework.list.app.md +36 -58
- package/messages/appframework.list.template.md +41 -24
- package/messages/appframework.update.app.md +96 -24
- package/messages/appframework.update.template.md +112 -21
- package/npm-shrinkwrap.json +1379 -1726
- package/oclif.lock +1207 -1073
- package/oclif.manifest.json +155 -187
- package/package.json +10 -10
- package/messages/appframework.decouple.app.md +0 -82
|
@@ -1,10 +1,36 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
Display details of
|
|
3
|
+
Display details of a template.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Display comprehensive information about a specific template including its name, label, ID, type, subtype, description, and other metadata properties. Use this command to inspect templates before using them to create apps or for understanding template configurations.
|
|
8
|
+
|
|
9
|
+
You can identify a template by either its unique ID or its name. Template IDs are guaranteed to be unique, while template names should be unique within an org. The command displays all available template properties in a formatted, easy-to-read layout.
|
|
10
|
+
|
|
11
|
+
Template information helps you understand what the template provides, its intended use case, and how to use it effectively when creating orchestrated apps. You must have Data Cloud and Tableau Next enabled in your org and the AppFrameworkViewApp user permission to view templates.
|
|
12
|
+
|
|
13
|
+
# examples
|
|
14
|
+
|
|
15
|
+
- Display a template using its ID:
|
|
16
|
+
|
|
17
|
+
<%= config.bin %> <%= command.id %> --target-org myOrg --template-id 01RM0000000HwBGMA0
|
|
18
|
+
|
|
19
|
+
- Display a template using its name:
|
|
20
|
+
|
|
21
|
+
<%= config.bin %> <%= command.id %> --target-org myOrg --template-name "MyTemplate"
|
|
22
|
+
|
|
23
|
+
- Display a template with a name that contains spaces:
|
|
24
|
+
|
|
25
|
+
<%= config.bin %> <%= command.id %> --target-org myOrg --template-name "Sales Analytics Template"
|
|
26
|
+
|
|
27
|
+
- Display a template in a specific org using a particular API version:
|
|
28
|
+
|
|
29
|
+
<%= config.bin %> <%= command.id %> --target-org mySandbox --template-id 01RM0000000HwBGMA0 --api-version 60.0
|
|
30
|
+
|
|
31
|
+
- Display a template by name in your default org:
|
|
32
|
+
|
|
33
|
+
<%= config.bin %> <%= command.id %> --template-name "dashboard_template"
|
|
8
34
|
|
|
9
35
|
# flags.template-id.summary
|
|
10
36
|
|
|
@@ -12,7 +38,7 @@ The ID of the template to display.
|
|
|
12
38
|
|
|
13
39
|
# flags.template-id.description
|
|
14
40
|
|
|
15
|
-
Specify the unique identifier of the template you want to display. Use this flag when you know the template's ID.
|
|
41
|
+
Specify the unique identifier of the template you want to display. Template IDs are guaranteed to be unique within an org. Use this flag when you know the template's ID, which you can get from "sf orchestrator template list" command. Either --template-id or --template-name is required.
|
|
16
42
|
|
|
17
43
|
# flags.template-name.summary
|
|
18
44
|
|
|
@@ -20,82 +46,99 @@ The name of the template to display.
|
|
|
20
46
|
|
|
21
47
|
# flags.template-name.description
|
|
22
48
|
|
|
23
|
-
Specify the name of the template you want to display. Use this flag when you know the template's name but not its ID.
|
|
49
|
+
Specify the name of the template you want to display. Template names should be unique within an org. Use this flag when you know the template's name but not its ID. If the name contains spaces, enclose it in quotes. Either --template-id or --template-name is required.
|
|
24
50
|
|
|
25
51
|
# flags.target-org.summary
|
|
26
52
|
|
|
27
|
-
Login username or alias for the target org
|
|
53
|
+
Login username or alias for the target org.
|
|
28
54
|
|
|
29
55
|
# flags.target-org.description
|
|
30
56
|
|
|
31
|
-
The target org to connect to for displaying the template.
|
|
57
|
+
The target org to connect to for displaying the template. This org must have Data Cloud and Tableau Next enabled and you must have the AppFrameworkViewApp user permission to view templates. The template must exist in this org.
|
|
32
58
|
|
|
33
59
|
# flags.api-version.summary
|
|
34
60
|
|
|
35
|
-
Override the
|
|
61
|
+
Override the API version used for API requests.
|
|
36
62
|
|
|
37
63
|
# flags.api-version.description
|
|
38
64
|
|
|
39
|
-
Override the
|
|
65
|
+
Override the API version used for orchestrator API requests. Use this flag to specify a particular API version when the default version doesn't work with your org's configuration.
|
|
40
66
|
|
|
41
67
|
# fetchingTemplate
|
|
42
68
|
|
|
43
|
-
Fetching
|
|
69
|
+
Fetching template...
|
|
44
70
|
|
|
45
71
|
# error.MissingRequiredFlag
|
|
46
72
|
|
|
47
|
-
Either --template-id or --template-name must be provided
|
|
73
|
+
Either --template-id or --template-name must be provided.
|
|
48
74
|
|
|
49
75
|
# error.MissingRequiredFlag.Actions
|
|
50
76
|
|
|
51
|
-
- Use --template-id to specify a template by ID
|
|
52
|
-
- Use --template-name to specify a template by name
|
|
77
|
+
- Use --template-id to specify a template by its unique ID
|
|
78
|
+
- Use --template-name to specify a template by its name
|
|
79
|
+
- Get template IDs and names using "sf orchestrator template list"
|
|
53
80
|
|
|
54
81
|
# error.CertificateError
|
|
55
82
|
|
|
56
|
-
Error retrieving
|
|
83
|
+
Error retrieving template: Certificate validation error.
|
|
57
84
|
|
|
58
85
|
# error.CertificateError.Actions
|
|
59
86
|
|
|
60
87
|
- This appears to be a certificate validation issue, which is common in dev environments
|
|
61
88
|
- Try specifying the API version with --api-version=64.0 (or your org's version)
|
|
62
|
-
- Make sure you're using the correct org with -
|
|
89
|
+
- Make sure you're using the correct org with --target-org YOUR_ORG_ALIAS
|
|
63
90
|
- If using a sandbox or scratch org, ensure your connection is properly authenticated
|
|
64
91
|
|
|
65
92
|
# error.AuthenticationError
|
|
66
93
|
|
|
67
|
-
Error retrieving
|
|
94
|
+
Error retrieving template: Authentication issue.
|
|
68
95
|
|
|
69
96
|
# error.AuthenticationError.Actions
|
|
70
97
|
|
|
71
98
|
- Your session may have expired or you may not have permission to access this resource
|
|
72
|
-
- Try running sf org
|
|
73
|
-
- Ensure you have
|
|
99
|
+
- Try running "sf org login web" to reauthenticate
|
|
100
|
+
- Ensure you have Tableau Next enabled and have permission to view templates
|
|
101
|
+
- Verify the target org is correct and accessible
|
|
74
102
|
|
|
75
103
|
# error.TemplateNotFound
|
|
76
104
|
|
|
77
|
-
Template %s not found
|
|
105
|
+
Template "%s" not found.
|
|
78
106
|
|
|
79
107
|
# error.TemplateNotFound.Actions
|
|
80
108
|
|
|
81
109
|
- Verify that you have the correct template ID or name
|
|
82
|
-
- Ensure the template exists in this org
|
|
110
|
+
- Ensure the template exists in this org using "sf orchestrator template list"
|
|
83
111
|
- Check your permissions to view templates
|
|
112
|
+
- Make sure you're connected to the correct org with --target-org
|
|
84
113
|
|
|
85
114
|
# error.GenericError
|
|
86
115
|
|
|
87
|
-
Error retrieving
|
|
116
|
+
Error retrieving template: %s
|
|
88
117
|
|
|
89
118
|
# error.GenericError.Actions
|
|
90
119
|
|
|
91
|
-
- Verify that you are using an org with
|
|
120
|
+
- Verify that you are using an org with Data Cloud and Tableau Next enabled
|
|
92
121
|
- Check that the template ID or name is correct
|
|
93
|
-
-
|
|
94
|
-
- Try running sf org
|
|
122
|
+
- Ensure you have permission to view templates
|
|
123
|
+
- Try running "sf org login web" to reauthenticate
|
|
124
|
+
- Verify the target org has Data Cloud and Tableau Next properly configured
|
|
95
125
|
|
|
96
|
-
#
|
|
126
|
+
# error.MultipleTemplatesFound
|
|
97
127
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
128
|
+
Multiple templates found with name "%s".
|
|
129
|
+
|
|
130
|
+
# error.MultipleTemplatesFound.Actions
|
|
131
|
+
|
|
132
|
+
- Use --template-id instead of --template-name for unique identification
|
|
133
|
+
- Get the specific template ID using "sf orchestrator template list"
|
|
134
|
+
- Template names should be unique, but this org may have duplicates
|
|
135
|
+
|
|
136
|
+
# error.InvalidTemplateId
|
|
137
|
+
|
|
138
|
+
Template ID "%s" is not valid.
|
|
139
|
+
|
|
140
|
+
# error.InvalidTemplateId.Actions
|
|
141
|
+
|
|
142
|
+
- Verify the template ID format is correct
|
|
143
|
+
- Get valid template IDs using "sf orchestrator template list"
|
|
144
|
+
- Template IDs should be 15 or 18 character Salesforce IDs
|
|
@@ -1,74 +1,56 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
List
|
|
3
|
+
List all orchestrated apps in the target org.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
List all orchestrated apps in your org with their key information including name, label, ID, type, and associated template details. This command helps you discover and manage existing apps in your organization.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Login username or alias for the target org.
|
|
12
|
-
|
|
13
|
-
# flags.target-org.description
|
|
14
|
-
|
|
15
|
-
Overrides your default org.
|
|
16
|
-
|
|
17
|
-
# flags.api-version.summary
|
|
18
|
-
|
|
19
|
-
Override the api version used for api requests made by this command.
|
|
20
|
-
|
|
21
|
-
# flags.api-version.description
|
|
22
|
-
|
|
23
|
-
Override the api version used for api requests made by this command.
|
|
24
|
-
|
|
25
|
-
# flags.filter-type.summary
|
|
9
|
+
Apps are displayed in a table format showing their current status, creation details, and template associations. Use this information to understand your app inventory and make informed decisions about app management.
|
|
26
10
|
|
|
27
|
-
|
|
11
|
+
You must have Data Cloud and Tableau Next enabled in your org and the AppFrameworkViewApp user permission to view apps. This command works with production orgs, sandboxes, and scratch orgs.
|
|
28
12
|
|
|
29
|
-
#
|
|
30
|
-
|
|
31
|
-
Only show apps with the specified template type, such as 'app', 'dashboard', or 'analytics'.
|
|
13
|
+
# examples
|
|
32
14
|
|
|
33
|
-
|
|
15
|
+
- List all orchestrated apps in your default org:
|
|
34
16
|
|
|
35
|
-
|
|
17
|
+
<%= config.bin %> <%= command.id %>
|
|
36
18
|
|
|
37
|
-
|
|
19
|
+
- List apps in a specific org:
|
|
38
20
|
|
|
39
|
-
|
|
21
|
+
<%= config.bin %> <%= command.id %> --target-org myOrg
|
|
40
22
|
|
|
41
|
-
|
|
23
|
+
- List apps using a specific API version:
|
|
42
24
|
|
|
43
|
-
|
|
25
|
+
<%= config.bin %> <%= command.id %> --api-version 64.0
|
|
44
26
|
|
|
45
|
-
|
|
27
|
+
- List apps in a sandbox org with specific API version:
|
|
46
28
|
|
|
47
|
-
|
|
29
|
+
<%= config.bin %> <%= command.id %> --target-org mySandbox --api-version 60.0
|
|
48
30
|
|
|
49
|
-
# flags.
|
|
31
|
+
# flags.target-org.summary
|
|
50
32
|
|
|
51
|
-
|
|
33
|
+
Login username or alias for the target org.
|
|
52
34
|
|
|
53
|
-
# flags.
|
|
35
|
+
# flags.target-org.description
|
|
54
36
|
|
|
55
|
-
|
|
37
|
+
The target org to connect to for listing apps. This org must have Data Cloud and Tableau Next enabled and you must have the AppFrameworkViewApp user permission to view apps.
|
|
56
38
|
|
|
57
|
-
# flags.
|
|
39
|
+
# flags.api-version.summary
|
|
58
40
|
|
|
59
|
-
|
|
41
|
+
Override the API version used for API requests.
|
|
60
42
|
|
|
61
|
-
# flags.
|
|
43
|
+
# flags.api-version.description
|
|
62
44
|
|
|
63
|
-
|
|
45
|
+
Override the API version used for orchestrator API requests. Use this flag to specify a particular API version when the default version doesn't work with your org's configuration.
|
|
64
46
|
|
|
65
47
|
# fetchingApps
|
|
66
48
|
|
|
67
|
-
Fetching apps
|
|
49
|
+
Fetching apps. This might take a moment...
|
|
68
50
|
|
|
69
51
|
# noAppsFound
|
|
70
52
|
|
|
71
|
-
No
|
|
53
|
+
No orchestrated apps found in the org.
|
|
72
54
|
|
|
73
55
|
# emptyFilteredApps
|
|
74
56
|
|
|
@@ -84,16 +66,9 @@ Failed to list apps: %s
|
|
|
84
66
|
- Ensure your authentication to the org is valid
|
|
85
67
|
- Try running with --debug for more details
|
|
86
68
|
|
|
87
|
-
# examples
|
|
88
|
-
|
|
89
|
-
- List all AppFramework apps in your default org:
|
|
90
|
-
<%= config.bin %> <%= command.id %>
|
|
91
|
-
- List apps with a specific API version:
|
|
92
|
-
<%= config.bin %> <%= command.id %> --api-version=64.0
|
|
93
|
-
|
|
94
69
|
# noResultsFound
|
|
95
70
|
|
|
96
|
-
No
|
|
71
|
+
No apps found in the org.
|
|
97
72
|
|
|
98
73
|
# error.CertificateError
|
|
99
74
|
|
|
@@ -101,9 +76,10 @@ Certificate error: Unable to connect to the org. This is typically caused by an
|
|
|
101
76
|
|
|
102
77
|
# error.CertificateError.Actions
|
|
103
78
|
|
|
104
|
-
- Check your network connection and try again
|
|
105
|
-
- Ensure that your network is not blocking or intercepting HTTPS requests
|
|
106
|
-
- If you are behind a corporate proxy, ensure that your proxy certificates are properly configured
|
|
79
|
+
- Check your network connection and try again
|
|
80
|
+
- Ensure that your network is not blocking or intercepting HTTPS requests
|
|
81
|
+
- If you are behind a corporate proxy, ensure that your proxy certificates are properly configured
|
|
82
|
+
- Try specifying the API version with --api-version
|
|
107
83
|
|
|
108
84
|
# error.AuthenticationError
|
|
109
85
|
|
|
@@ -111,9 +87,10 @@ Authentication error: Unable to authenticate with the org. Please check your cre
|
|
|
111
87
|
|
|
112
88
|
# error.AuthenticationError.Actions
|
|
113
89
|
|
|
114
|
-
- Use
|
|
115
|
-
- Ensure that your user has the necessary permissions to access the
|
|
116
|
-
- Check if your authentication token has expired
|
|
90
|
+
- Use "sf org login web" to log in to the org again
|
|
91
|
+
- Ensure that your user has the necessary permissions to access the orchestration API
|
|
92
|
+
- Check if your authentication token has expired
|
|
93
|
+
- Verify the target org is correct and accessible
|
|
117
94
|
|
|
118
95
|
# error.GenericError
|
|
119
96
|
|
|
@@ -121,6 +98,7 @@ An error occurred while listing apps: %s
|
|
|
121
98
|
|
|
122
99
|
# error.GenericError.Actions
|
|
123
100
|
|
|
124
|
-
- Check the error message above for more details
|
|
125
|
-
- Ensure that
|
|
126
|
-
- Ensure that your user has the necessary permissions
|
|
101
|
+
- Check the error message above for more details
|
|
102
|
+
- Ensure that Data Cloud and Tableau Next are enabled in your org
|
|
103
|
+
- Ensure that your user has the necessary permissions
|
|
104
|
+
- Try running "sf org login web" to reauthenticate
|
|
@@ -1,38 +1,60 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
List all available
|
|
3
|
+
List all available templates in the target org.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Templates are reusable configurations that define the structure and settings for creating orchestrated apps. Use this command to discover available templates in your org before creating new apps.
|
|
8
|
+
|
|
9
|
+
Templates are displayed in a table format showing their name, label, ID, type, and other metadata. This information helps you choose the right template for your orchestrated app development.
|
|
10
|
+
|
|
11
|
+
You must have Data Cloud and Tableau Next enabled in your org and the AppFrameworkViewApp user permission to view templates. This command works with production orgs, sandboxes, and scratch orgs.
|
|
12
|
+
|
|
13
|
+
# examples
|
|
14
|
+
|
|
15
|
+
- List all templates in your default org:
|
|
16
|
+
|
|
17
|
+
<%= config.bin %> <%= command.id %>
|
|
18
|
+
|
|
19
|
+
- List templates in a specific org:
|
|
20
|
+
|
|
21
|
+
<%= config.bin %> <%= command.id %> --target-org myOrg
|
|
22
|
+
|
|
23
|
+
- List templates using a specific API version:
|
|
24
|
+
|
|
25
|
+
<%= config.bin %> <%= command.id %> --api-version 64.0
|
|
26
|
+
|
|
27
|
+
- List templates in a sandbox org with a specific API version:
|
|
28
|
+
|
|
29
|
+
<%= config.bin %> <%= command.id %> --target-org mySandbox --api-version 60.0
|
|
8
30
|
|
|
9
31
|
# flags.target-org.summary
|
|
10
32
|
|
|
11
|
-
Login username or alias for the target org
|
|
33
|
+
Login username or alias for the target org.
|
|
12
34
|
|
|
13
35
|
# flags.target-org.description
|
|
14
36
|
|
|
15
|
-
The target org to connect to for listing templates.
|
|
37
|
+
The target org to connect to for listing templates. This org must have Data Cloud and Tableau Next enabled and you must have the AppFrameworkViewApp user permission to view templates.
|
|
16
38
|
|
|
17
39
|
# flags.api-version.summary
|
|
18
40
|
|
|
19
|
-
Override the
|
|
41
|
+
Override the API version used for API requests.
|
|
20
42
|
|
|
21
43
|
# flags.api-version.description
|
|
22
44
|
|
|
23
|
-
Override the
|
|
45
|
+
Override the API version used for orchestrator API requests. Use this flag to specify a particular API version when the default version doesn't work with your org's configuration.
|
|
24
46
|
|
|
25
47
|
# templatesFound
|
|
26
48
|
|
|
27
|
-
Found %s
|
|
49
|
+
Found %s templates:
|
|
28
50
|
|
|
29
51
|
# noResultsFound
|
|
30
52
|
|
|
31
|
-
No
|
|
53
|
+
No templates found.
|
|
32
54
|
|
|
33
55
|
# fetchingTemplates
|
|
34
56
|
|
|
35
|
-
Fetching
|
|
57
|
+
Fetching templates...
|
|
36
58
|
|
|
37
59
|
# templateTypeLegend
|
|
38
60
|
|
|
@@ -40,39 +62,34 @@ Legend: %s, %s, %s - Other template types
|
|
|
40
62
|
|
|
41
63
|
# error.CertificateError
|
|
42
64
|
|
|
43
|
-
Error retrieving
|
|
65
|
+
Error retrieving templates: Certificate validation error.
|
|
44
66
|
|
|
45
67
|
# error.CertificateError.Actions
|
|
46
68
|
|
|
47
69
|
- This appears to be a certificate validation issue, which is common in dev environments
|
|
48
70
|
- Try specifying the API version with --api-version=64.0 (or your org's version)
|
|
49
|
-
- Make sure you're using the correct org with -
|
|
71
|
+
- Make sure you're using the correct org with --target-org YOUR_ORG_ALIAS
|
|
50
72
|
- If using a sandbox or scratch org, ensure your connection is properly authenticated
|
|
51
73
|
|
|
52
74
|
# error.AuthenticationError
|
|
53
75
|
|
|
54
|
-
Error retrieving
|
|
76
|
+
Error retrieving templates: Authentication issue.
|
|
55
77
|
|
|
56
78
|
# error.AuthenticationError.Actions
|
|
57
79
|
|
|
58
80
|
- Your session may have expired or you may not have permission to access this resource
|
|
59
|
-
- Try running sf org
|
|
60
|
-
- Ensure you have
|
|
81
|
+
- Try running "sf org login web" to reauthenticate
|
|
82
|
+
- Ensure you have Data Cloud and Tableau Next enabled and have the AppFrameworkViewApp user permission to view templates
|
|
83
|
+
- Verify the target org is correct and accessible
|
|
61
84
|
|
|
62
85
|
# error.GenericError
|
|
63
86
|
|
|
64
|
-
Error retrieving
|
|
87
|
+
Error retrieving templates: %s
|
|
65
88
|
|
|
66
89
|
# error.GenericError.Actions
|
|
67
90
|
|
|
68
|
-
- Verify that you are using an org with
|
|
91
|
+
- Verify that you are using an org with Data Cloud and Tableau Next enabled
|
|
69
92
|
- Check that your credentials and permissions are valid
|
|
70
93
|
- Check your internet connection
|
|
71
|
-
- Try running sf org
|
|
72
|
-
|
|
73
|
-
# examples
|
|
74
|
-
|
|
75
|
-
- List all AppFramework templates in your default org:
|
|
76
|
-
<%= config.bin %> <%= command.id %>
|
|
77
|
-
- List templates with a specific API version:
|
|
78
|
-
<%= config.bin %> <%= command.id %> --api-version=64.0
|
|
94
|
+
- Try running "sf org login web" to reauthenticate
|
|
95
|
+
- Ensure the target org has Data Cloud and Tableau Next properly configured
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
Update an
|
|
3
|
+
Update an app's label and description.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Update an existing orchestrated app's label and description. This command allows you to modify the display properties of an app without changing its underlying template or functionality.
|
|
8
|
+
|
|
9
|
+
You can identify the app by either its unique ID or its name. App IDs are guaranteed to be unique, while names should be unique within an org.
|
|
10
|
+
|
|
11
|
+
Use this command to update the human-readable display name (label) and description that users see when viewing the app. This is useful for improving app discoverability and providing clearer information about the app's purpose.
|
|
12
|
+
|
|
13
|
+
You must have the AppFrameworkManageApp user permission to modify apps.
|
|
8
14
|
|
|
9
15
|
# flags.target-org.summary
|
|
10
16
|
|
|
@@ -12,15 +18,15 @@ Login username or alias for the target org.
|
|
|
12
18
|
|
|
13
19
|
# flags.target-org.description
|
|
14
20
|
|
|
15
|
-
|
|
21
|
+
The target org to connect to for updating the app.
|
|
16
22
|
|
|
17
23
|
# flags.api-version.summary
|
|
18
24
|
|
|
19
|
-
Override the
|
|
25
|
+
Override the API version used for API requests.
|
|
20
26
|
|
|
21
27
|
# flags.api-version.description
|
|
22
28
|
|
|
23
|
-
Override the
|
|
29
|
+
Override the API version used for orchestrator API requests. Use this flag to specify a particular API version when the default version doesn't work with your org's configuration.
|
|
24
30
|
|
|
25
31
|
# flags.app-id.summary
|
|
26
32
|
|
|
@@ -28,7 +34,7 @@ ID of the app to update.
|
|
|
28
34
|
|
|
29
35
|
# flags.app-id.description
|
|
30
36
|
|
|
31
|
-
|
|
37
|
+
The unique identifier of the app to update.
|
|
32
38
|
|
|
33
39
|
# flags.app-name.summary
|
|
34
40
|
|
|
@@ -36,7 +42,7 @@ Name of the app to update.
|
|
|
36
42
|
|
|
37
43
|
# flags.app-name.description
|
|
38
44
|
|
|
39
|
-
|
|
45
|
+
The name of the app to update.
|
|
40
46
|
|
|
41
47
|
# flags.template-id.summary
|
|
42
48
|
|
|
@@ -44,7 +50,7 @@ ID of the template to use for the update.
|
|
|
44
50
|
|
|
45
51
|
# flags.template-id.description
|
|
46
52
|
|
|
47
|
-
|
|
53
|
+
The unique identifier of the template to use for updating the app. Template IDs are guaranteed to be unique within an org. Either --template-id or --template-name is required when updating the app's template. Use "sf orchestrator template list" to find available template IDs.
|
|
48
54
|
|
|
49
55
|
# flags.template-name.summary
|
|
50
56
|
|
|
@@ -52,7 +58,7 @@ Name of the template to use for the update.
|
|
|
52
58
|
|
|
53
59
|
# flags.template-name.description
|
|
54
60
|
|
|
55
|
-
|
|
61
|
+
The name of the template to use for updating the app. Template names should be unique within an org. Either --template-id or --template-name is required when updating the app's template. If the name contains spaces, enclose it in quotes.
|
|
56
62
|
|
|
57
63
|
# flags.label.summary
|
|
58
64
|
|
|
@@ -60,7 +66,7 @@ New label for the app.
|
|
|
60
66
|
|
|
61
67
|
# flags.label.description
|
|
62
68
|
|
|
63
|
-
|
|
69
|
+
A new display label for the app. This is the human-readable name shown to users on the App Install History page. The label helps users identify and select the appropriate app. Use clear, descriptive labels that explain the app's purpose.
|
|
64
70
|
|
|
65
71
|
# flags.description.summary
|
|
66
72
|
|
|
@@ -68,7 +74,7 @@ New description for the app.
|
|
|
68
74
|
|
|
69
75
|
# flags.description.description
|
|
70
76
|
|
|
71
|
-
|
|
77
|
+
A new description for the app. This provides detailed information about the app's purpose, features, and intended use cases. The description appears on the App Install History page and helps users understand when and how to use the app effectively
|
|
72
78
|
|
|
73
79
|
# flags.runtime-method.summary
|
|
74
80
|
|
|
@@ -76,7 +82,7 @@ Runtime method for the app.
|
|
|
76
82
|
|
|
77
83
|
# flags.runtime-method.description
|
|
78
84
|
|
|
79
|
-
|
|
85
|
+
Specifies the runtime method for the app execution. This affects how the app processes data and handles user interactions. Valid values are 'sync' and 'async'. This setting overrides the app's default runtime method.
|
|
80
86
|
|
|
81
87
|
# flags.log-level.summary
|
|
82
88
|
|
|
@@ -84,7 +90,7 @@ Log level for the app.
|
|
|
84
90
|
|
|
85
91
|
# flags.log-level.description
|
|
86
92
|
|
|
87
|
-
|
|
93
|
+
Sets the logging level for the app. This controls how much diagnostic information is captured during app execution. Valid values are 'debug', 'info', 'warn', and 'error'. This setting overrides the app's default log level.
|
|
88
94
|
|
|
89
95
|
# noAppSpecified
|
|
90
96
|
|
|
@@ -94,6 +100,10 @@ No app specified for update. You must specify either an app ID with --app-id or
|
|
|
94
100
|
|
|
95
101
|
No template specified for update. You must specify either a template ID with --template-id or a template name with --template-name.
|
|
96
102
|
|
|
103
|
+
# noUpdateFieldsSpecified
|
|
104
|
+
|
|
105
|
+
No update fields specified. You must specify at least one field to update such as --label or --description.
|
|
106
|
+
|
|
97
107
|
# fetchingApp
|
|
98
108
|
|
|
99
109
|
Fetching app details...
|
|
@@ -118,25 +128,87 @@ No template found with the specified ID or name.
|
|
|
118
128
|
|
|
119
129
|
Successfully updated app: %s
|
|
120
130
|
|
|
131
|
+
# error.MissingRequiredFlag
|
|
132
|
+
|
|
133
|
+
Either --app-id or --app-name must be provided.
|
|
134
|
+
|
|
135
|
+
# error.MissingRequiredFlag.Actions
|
|
136
|
+
|
|
137
|
+
- Use --app-id to specify an app by its unique ID
|
|
138
|
+
- Use --app-name to specify an app by its name
|
|
139
|
+
- Get app IDs and names using "sf orchestrator app list"
|
|
140
|
+
|
|
141
|
+
# error.AppNotFound
|
|
142
|
+
|
|
143
|
+
App "%s" not found.
|
|
144
|
+
|
|
145
|
+
# error.AppNotFound.Actions
|
|
146
|
+
|
|
147
|
+
- Verify the app ID or name is correct
|
|
148
|
+
- Use "sf orchestrator app list" to see available apps
|
|
149
|
+
- Check your permissions to view apps
|
|
150
|
+
- Make sure you're connected to the correct org with --target-org
|
|
151
|
+
|
|
152
|
+
# error.TemplateNotFound
|
|
153
|
+
|
|
154
|
+
Template "%s" not found.
|
|
155
|
+
|
|
156
|
+
# error.TemplateNotFound.Actions
|
|
157
|
+
|
|
158
|
+
- Verify the template ID or name is correct
|
|
159
|
+
- Use "sf orchestrator template list" to see available templates
|
|
160
|
+
- Check your permissions to view templates
|
|
161
|
+
- Make sure you're connected to the correct org with --target-org
|
|
162
|
+
|
|
163
|
+
# error.NoUpdatesProvided
|
|
164
|
+
|
|
165
|
+
No updates provided. You must specify at least one property to update.
|
|
166
|
+
|
|
167
|
+
# error.NoUpdatesProvided.Actions
|
|
168
|
+
|
|
169
|
+
- Use --template-id or --template-name to change the app's template
|
|
170
|
+
- Use --label to update the app's display label
|
|
171
|
+
- Use --description to update the app's description
|
|
172
|
+
- Use --runtime-method or --log-level to update runtime configuration
|
|
173
|
+
- Specify at least one property to modify
|
|
174
|
+
|
|
121
175
|
# error.UpdateError
|
|
122
176
|
|
|
123
177
|
Failed to update app: %s
|
|
124
178
|
|
|
125
179
|
# error.UpdateError.Actions
|
|
126
180
|
|
|
127
|
-
-
|
|
128
|
-
- Check that the template
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
181
|
+
- Verify that you have permission to modify apps in the target org
|
|
182
|
+
- Check that both the app and template exist and are accessible
|
|
183
|
+
- Ensure Data Cloud and Tableau Next are enabled in your org
|
|
184
|
+
- Try using a different API version with --api-version
|
|
185
|
+
- Verify your authentication and org connection are valid
|
|
186
|
+
|
|
187
|
+
# error.InsufficientPermissions
|
|
188
|
+
|
|
189
|
+
You don't have permission to update apps in this org.
|
|
190
|
+
|
|
191
|
+
# error.InsufficientPermissions.Actions
|
|
192
|
+
|
|
193
|
+
- Contact your Salesforce admin to request app modification permissions
|
|
194
|
+
- Verify you're connected to the correct org with --target-org
|
|
195
|
+
- Ensure Data Cloud and Tableau Next are enabled in your org
|
|
196
|
+
- Check that your user profile has the AppFrameworkManageApp user permission
|
|
132
197
|
|
|
133
198
|
# examples
|
|
134
199
|
|
|
135
|
-
- Update an app
|
|
136
|
-
|
|
200
|
+
- Update an app's label:
|
|
201
|
+
|
|
202
|
+
<%= config.bin %> <%= command.id %> --target-org myOrg --app-id 1zAxx000000000123 --label "Updated App Label"
|
|
203
|
+
|
|
204
|
+
- Update an app's description:
|
|
205
|
+
|
|
206
|
+
<%= config.bin %> <%= command.id %> --target-org myOrg --app-name "My App" --description "Updated description for the app"
|
|
207
|
+
|
|
208
|
+
- Update both label and description:
|
|
209
|
+
|
|
210
|
+
<%= config.bin %> <%= command.id %> --target-org myOrg --app-id 1zAxx000000000123 --label "Updated App" --description "Updated description for the app"
|
|
137
211
|
|
|
138
|
-
- Update an app
|
|
139
|
-
<%= config.bin %> <%= command.id %> --app-name "My App" --template-name "My Template"
|
|
212
|
+
- Update an app using a specific API version:
|
|
140
213
|
|
|
141
|
-
|
|
142
|
-
<%= config.bin %> <%= command.id %> --app-id 00Dxx0000000001 --template-id 00Dxx0000000002 --label "New Label" --description "New description"
|
|
214
|
+
<%= config.bin %> <%= command.id %> --target-org mySandbox --app-id 1zAxx000000000123 --label "New Label" --api-version 65.0
|