< Back
Publish-CrmCustomization
Post
NAME Publish-CrmCustomization
SYNOPSIS
Publishes specified customizations for a CRM Organization.
SYNTAX
Publish-CrmCustomization [[-conn] <CrmServiceClient>] [-Entity <SwitchParameter>] [[-EntityLogicalNames]
<String[]>] [-Ribbon <SwitchParameter>] [-SiteMap <SwitchParameter>] [-Dashbord <SwitchParameter>] [[-DashbordIds]
<Guid[]>] [-OptionSet <SwitchParameter>] [[-OptionSetNames] <String[]>] [-WebResource <SwitchParameter>]
[[-WebResourceIds] <Guid[]>] [<CommonParameters>]
DESCRIPTION
The Publish-CrmCustomization cmdlet lets you publish specified customizations.
PARAMETERS
-conn <CrmServiceClient>
A connection to your CRM organization. Use $conn = Get-CrmConnection <Parameters> to generate it.
Required? false
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Entity [<SwitchParameter>]
Specify this when you publish Entity.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-EntityLogicalNames <String[]>
Array of Entity Logical Name to publish. Use with -Entity switch.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Ribbon [<SwitchParameter>]
Specify this to publish Ribbon.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SiteMap [<SwitchParameter>]
Specify this to publish SiteMap.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Dashbord [<SwitchParameter>]
Specify this when you publish Dashboard.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DashbordIds <Guid[]>
Array of Dashboard Id to publish. Use with -Dashboard switch.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OptionSet [<SwitchParameter>]
Specify this when you publish OptionSet.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OptionSetNames <String[]>
Array of OptionSet Logical Name to publish. Use with -OptionSet switch.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WebResource [<SwitchParameter>]
Specify this when you publish WebResource.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WebResourceIds <Guid[]>
Array of WebResource Ids to publish. Use with -WebResource switch.
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- Example 1 --------------------------
Publish-CrmCustomization -conn $conn -Entity -EntityLogicalNames account,contact,systemuser
This example publishes Account, Contact and System Entity Metadata.
-------------------------- Example 2 --------------------------
Publish-CrmCustomization -conn $conn -Ribbon -SiteMap
This example publishes Ribbon and SiteMap
-------------------------- Example 3 --------------------------
Publish-CrmCustomization -conn $conn -Dashbord -DashbordIds
79dcdea7-490a-46ed-a887-9ed87fe39d66,90a32046-973e-4370-ad3f-06b9e73ed036
This example publishes specified Dashboards.
RELATED LINKS
SYNOPSIS
Publishes specified customizations for a CRM Organization.
SYNTAX
Publish-CrmCustomization [[-conn] <CrmServiceClient>] [-Entity <SwitchParameter>] [[-EntityLogicalNames]
<String[]>] [-Ribbon <SwitchParameter>] [-SiteMap <SwitchParameter>] [-Dashbord <SwitchParameter>] [[-DashbordIds]
<Guid[]>] [-OptionSet <SwitchParameter>] [[-OptionSetNames] <String[]>] [-WebResource <SwitchParameter>]
[[-WebResourceIds] <Guid[]>] [<CommonParameters>]
DESCRIPTION
The Publish-CrmCustomization cmdlet lets you publish specified customizations.
PARAMETERS
-conn <CrmServiceClient>
A connection to your CRM organization. Use $conn = Get-CrmConnection <Parameters> to generate it.
Required? false
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Entity [<SwitchParameter>]
Specify this when you publish Entity.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-EntityLogicalNames <String[]>
Array of Entity Logical Name to publish. Use with -Entity switch.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Ribbon [<SwitchParameter>]
Specify this to publish Ribbon.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SiteMap [<SwitchParameter>]
Specify this to publish SiteMap.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Dashbord [<SwitchParameter>]
Specify this when you publish Dashboard.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DashbordIds <Guid[]>
Array of Dashboard Id to publish. Use with -Dashboard switch.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OptionSet [<SwitchParameter>]
Specify this when you publish OptionSet.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OptionSetNames <String[]>
Array of OptionSet Logical Name to publish. Use with -OptionSet switch.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WebResource [<SwitchParameter>]
Specify this when you publish WebResource.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WebResourceIds <Guid[]>
Array of WebResource Ids to publish. Use with -WebResource switch.
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- Example 1 --------------------------
Publish-CrmCustomization -conn $conn -Entity -EntityLogicalNames account,contact,systemuser
This example publishes Account, Contact and System Entity Metadata.
-------------------------- Example 2 --------------------------
Publish-CrmCustomization -conn $conn -Ribbon -SiteMap
This example publishes Ribbon and SiteMap
-------------------------- Example 3 --------------------------
Publish-CrmCustomization -conn $conn -Dashbord -DashbordIds
79dcdea7-490a-46ed-a887-9ed87fe39d66,90a32046-973e-4370-ad3f-06b9e73ed036
This example publishes specified Dashboards.
RELATED LINKS