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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Changing column dataty...
Power Apps
Unanswered

Changing column datatype and environments

(0) ShareShare
ReportReport
Posted on by 2

Take a scenario of deleting a column and recreating with a different datatype. When exporting and importing the solution to another environment it will fail on import. In traditional SQL server based application you might handle this situation by having a migration SQL script to create the column with a different name, migrate any existing data from old to new column, delete old column, rename new column to old name. With Dataverse you don't have that luxury. What is the approach here?

I have the same question (0)
  • Ram Prakash Profile Picture
    5,576 Super User 2025 Season 2 on at
    Re: Changing column datatype and environments

    Hi @hickley 

     

    As per OOB Behavior you cannot change Datatype of Field once it get Created, You need to Recreate the Field.

     

    If the Destination Environment is Unmanaged Solution --> Delete there and import it

     

    If the Destination Environment is Managed Solution --> You cannot Delete instead Create Difference Field in Source and Import it and Map the Respective code for the new fields.

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Follow me on Twitter : @rampprakashd
    Blog : https://microsoftcrmtechie.blogspot.com

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 819 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 308 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 222 Super User 2025 Season 2

Last 30 days Overall leaderboard