seanmcne / Microsoft.Xrm.Data.PowerShell

This module uses the CRM connection from Microsoft.Xrm.Tooling.CrmConnector.Powershell and provides common functions to create, delete, query, and update data as well as functions for common tasks such as publishing, and manipulating System & CRM User Settings, etc. The module should function for both Dynamics CRM Online and On-Premise environment.
204 stars 65 forks source link

feature request - full CRUD for entity attributes #522

Open tszalaj opened 1 year ago

tszalaj commented 1 year ago

Hi, please consider adding commands:

Add-CrmEntityAttribute -EntityLogicalName Entity_Name -AttributeLogicalName Attribute_Name -AttributeType Type_Name (other attribute metadata here - like , MinValue, MaxValue, Format ...) Get-CrmEntityAttribute -EntityLogicalName Entity_Name -AttributeLogicalName Attribute_Name Set-CrmEntityAttribute -EntityLogicalName Entity_Name -AttributeLogicalName Attribute_Name (other attribute metadata here - like AttributeType, MinValue, MaxValue, Format ...) Remove-CrmEntityAttribute -EntityLogicalName Entity_Name -AttributeLogicalName Attribute_Name

Add- and Set- commands would be particularly useful as power apps design studio is terribly slow and creating attributes and updating their metadata, like min/max value with multiple attributes to add or fix lasts ages.