Skip to content

pacx solution component add

github-actions[bot] edited this page Jun 16, 2026 · 2 revisions

Adds a solution component to an unmanaged solution.

Usage

This command can be used to add a component to an unmanaged solution. For example:

pacx solution component add --componentType Entity --componentId <entity-id> --solution <solution-name>

This is the list of the (currently known) component types that can be used with this command:

Name Value
Entity 1
Attribute 2
Relationship 3
AttributePicklistValue 4
AttributeLookupValue 5
ViewAttribute 6
LocalizedLabel 7
RelationshipExtraCondition 8
OptionSet 9
EntityRelationship 10
EntityRelationshipRole 11
EntityRelationshipRelationships 12
ManagedProperty 13
EntityKey 14
Privilege 16
PrivilegeObjectTypeCode 17
Index 18
Role 20
RolePrivilege 21
DisplayString 22
DisplayStringMap 23
Form 24
Organization 25
SavedQuery 26
Workflow 29
Report 31
ReportEntity 32
ReportCategory 33
ReportVisibility 34
Attachment 35
EmailTemplate 36
ContractTemplate 37
KBArticleTemplate 38
MailMergeTemplate 39
DuplicateRule 44
DuplicateRuleCondition 45
EntityMap 46
AttributeMap 47
RibbonCommand 48
RibbonContextGroup 49
RibbonCustomization 50
RibbonRule 52
RibbonTabToCommandMap 53
RibbonDiff 55
SavedQueryVisualization 59
SystemForm 60
WebResource 61
SiteMap 62
ConnectionRole 63
ComplexControl 64
HierarchyRule 65
CustomControl 66
CustomControlDefaultConfig 68
FieldSecurityProfile 70
FieldPermission 71
AppModule 80
PluginType 90
PluginAssembly 91
SDKMessageProcessingStep 92
SDKMessageProcessingStepImage 93
ServiceEndpoint 95
RoutingRule 150
RoutingRuleItem 151
SLA 152
SLAItem 153
ConvertRule 154
ConvertRuleItem 155
MobileOfflineProfile 161
MobileOfflineProfileItem 162
SimilarityRule 165
DataSourceMapping 166
SDKMessage 201
SDKMessageFilter 202
SdkMessagePair 203
SdkMessageRequest 204
SdkMessageRequestField 205
SdkMessageResponse 206
SdkMessageResponseField 207
ImportMap 208
WebWizard 210
CanvasApp 300
Connector 371
Connector2 372
EnvironmentVariableDefinition 380
EnvironmentVariableValue 381
AIProjectType 400
AIProject 401
AIConfiguration 402
EntityAnalyticsConfiguration 430
AttributeImageConfiguration 431
EntityImageConfiguration 432
TeamTemplate 511
CustomAPI 10036
CustomAPIRequestParameter 10037
CustomAPIResponseProperty 10038
OrganizationSetting 10058
SettingDefinition 10059
SiteComponent 10402
Site 10403
SiteLanguage 10404
However, if a solution component type is not listed in the table above, you can still use this command by specifying the component type value instead of the name. For example, if you want to add a Site component (component type 10403), you can run the following command:
pacx solution component add --componentType 10403 --componentId <site-id> --solution <solution-name>

Arguments

Long Name Short Name Required? Description Default value Valid values
componentType t Y Specifies the type of the component. You can specify the solution component type name (e.g. Entity, Site) or number (e.g. 1, 10403) - Entity, Attribute, Relationship, AttributePicklistValue, AttributeLookupValue, ViewAttribute, LocalizedLabel, RelationshipExtraCondition, OptionSet, EntityRelationship, EntityRelationshipRole, EntityRelationshipRelationships, ManagedProperty, EntityKey, Privilege, PrivilegeObjectTypeCode, Index, Role, RolePrivilege, DisplayString, DisplayStringMap, Form, Organization, SavedQuery, Workflow, Report, ReportEntity, ReportCategory, ReportVisibility, Attachment, EmailTemplate, ContractTemplate, KBArticleTemplate, MailMergeTemplate, DuplicateRule, DuplicateRuleCondition, EntityMap, AttributeMap, RibbonCommand, RibbonContextGroup, RibbonCustomization, RibbonRule, RibbonTabToCommandMap, RibbonDiff, SavedQueryVisualization, SystemForm, WebResource, SiteMap, ConnectionRole, ComplexControl, HierarchyRule, CustomControl, CustomControlDefaultConfig, FieldSecurityProfile, FieldPermission, AppModule, PluginType, PluginAssembly, SDKMessageProcessingStep, SDKMessageProcessingStepImage, ServiceEndpoint, RoutingRule, RoutingRuleItem, SLA, SLAItem, ConvertRule, ConvertRuleItem, MobileOfflineProfile, MobileOfflineProfileItem, SimilarityRule, DataSourceMapping, SDKMessage, SDKMessageFilter, SdkMessagePair, SdkMessageRequest, SdkMessageRequestField, SdkMessageResponse, SdkMessageResponseField, ImportMap, WebWizard, CanvasApp, Connector, Connector2, EnvironmentVariableDefinition, EnvironmentVariableValue, AIProjectType, AIProject, AIConfiguration, EntityAnalyticsConfiguration, AttributeImageConfiguration, EntityImageConfiguration, TeamTemplate, CustomAPI, CustomAPIRequestParameter, CustomAPIResponseProperty, OrganizationSetting, SettingDefinition, SiteComponent, Site, SiteLanguage
componentId id Y The unique identifier of the solution component to add to the solution. - Guid
solution s N The unique name of the solution. If not provided, the default solution will be used. - String
addRequiredComponents r N To be specified only if componentType is Entity. Indicates whether other solution components that are required by the solution component should also be added to the unmanaged solution. False true, false
includeSubcomponents is N To be specified only if componentType is Entity. Indicates whether the subcomponents should be included. False true, false

Command list

Clone this wiki locally