This project has moved. For the latest updates, please go here.

Add-CrmStringAttribute

Synopsis

Add String Attribute

Syntax

Add-CrmStringAttribute [-Format <CrmStringAttributeFormat>] [-ImeType <CrmImeType>] [-Length <Nullable`1[Int32]>] [-Entity] <String> [-Name] <String> [-DisplayName] <String> [-Description <String>] [-CanModifyAdditionalSettings <Nullable`1[Boolean]>] [-IsAuditEnabled <Nullable`1[Boolean]>] [-IsCustomizable <Nullable`1[Boolean]>] [-IsRenameable <Nullable`1[Boolean]>] [-IsSecured <Nullable`1[Boolean]>] [-IsValidForAdvancedFind <Nullable`1[Boolean]>] [-Required <CrmRequiredLevel>] [-SchemaName <String>] [-IsGlobalFilterEnabled <Nullable`1[Boolean]>] [-IsSortableEnabled <Nullable`1[Boolean]>] [<CommonParameters>]

Description

Adds an attribute of type String to an entity

Parameters

-Format <CrmStringAttributeFormat>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-ImeType <CrmImeType>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Length <Nullable`1[Int32]>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Entity <String>

Required? True
Position? 1
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Name <String>

Required? True
Position? 2
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-DisplayName <String>

Required? True
Position? 3
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Description <String>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-CanModifyAdditionalSettings <Nullable`1[Boolean]>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-IsAuditEnabled <Nullable`1[Boolean]>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-IsCustomizable <Nullable`1[Boolean]>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-IsRenameable <Nullable`1[Boolean]>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-IsSecured <Nullable`1[Boolean]>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-IsValidForAdvancedFind <Nullable`1[Boolean]>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Required <CrmRequiredLevel>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-SchemaName <String>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-IsGlobalFilterEnabled <Nullable`1[Boolean]>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-IsSortableEnabled <Nullable`1[Boolean]>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

Outputs

Microsoft.Xrm.Sdk.Metadata.StringAttributeMetadata

Notes

Available parameters depend on the version of the connected organization and the SDK used

Examples

Related links

StringAttributeMetadata Class https://msdn.microsoft.com/en-us/library/microsoft.xrm.sdk.metadata.stringattributemetadata.aspx

Last edited Mar 11 at 7:02 PM by amsoftware, version 2