web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / change default options...
Power Apps
Answered

change default options with creating a new table column

(0) ShareShare
ReportReport
Posted on by 20
When I create a new table column, under advanced options the "Enable Auditing" option is always checked, and I am manually turning it off most of the time.  Also, the "Sortable" option is never checked, and I am turning it on more often than not.  
 
Is it possible to change the defaults? If so... HOW?!
 
I have the same question (0)
  • Verified answer
    SaiRT14 Profile Picture
    1,992 Super User 2025 Season 1 on at
     
    You can use the Dataverse PowerShell module or the Dataverse Web API to automate the creation 
    User Dataverse SDK with powershell script.
    Connect-CrmOnline -ConnectionString "AuthType=OAuth;Url=https://yourorg.crm.dynamics.com;ClientId=xxxx;ClientSecret=xxxx"
    $entityName = "your_table_name"
    $columnName = "your_column_name"
    New-CrmAttribute -EntityLogicalName $entityName -SchemaName $columnName `
        -AttributeTypeCode Decimal `
        -MaxLength 100 `
        -AuditingEnabled $false `
        -Sortable $true
     
    Create a template solution with commonly used column configurations
     
    thanks
  • EricArcher33 Profile Picture
    20 on at
    Thanks SaiRT14  for the quick response and detailed explanation.
     
    That makes sense as a solution, but is a little beyond my current understanding and ability to execute as I am still learning about all of this.  I don't even know how to access either of those options yet! For now I will just proceed with the couple of extra clicks per column, but this will be something that I dig into in the near future.
     
    Good to know there is a way to do it though, thanks again!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 476

#2
WarrenBelz Profile Picture

WarrenBelz 365 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 339

Last 30 days Overall leaderboard