Skip to main content

Dynamics 365 Attribute Manager Test

First thing I noticed is that Managed fields do not appear on the list for obvious reasons. As I was testing on an instance containing managed solutions and so I had to create a new field.

I tested this by trying to convert a whole number field to text. On my first attempt I forgot to tick Migrate Data in the settings so you could probably guess I lost all the data in the field. So don’t do this!

The next attempt was successful, the field type changed,the data was migrated to the new data type. I didn’t need to remove the field from forms views or chart, the attribute manager checked and handled all that which was extremely useful.

The attribute manager also provides a log , similar to a console output , extremely detailed.. Snippet below

Publishing Entity contact
Checking for Delete Dependencies for contact.new_testfield
Completed Step: Migrate To Temp

Beginning Step: Remove Existing Attribute
Deleting Field contact.new_testfield
Completed Step: Remove Existing Attribute

Beginning Step: Create New Attribute
Creating Attribute contact.new_TestField
Publishing Entity contact
Completed Step: Create New Attribute

Beginning Step: Migrate To New Attribute
Retrieving contact id attribute name
Determining record count (accurate only up to 50000)
Copying data from new_testfield_t_ to new_testfield
Copying 1 / 3
Copying 3 / 3
Data Migration Complete. Total 3 records in 1 seconds.
Checking for Calculated Field Dependencies

My previous integer was 123456789 which dynamics displays as 123,456,789 after the field type conversion my text field displayed the exact value of 123456789 and i can now edit the field to contain text

Next step is to see what happens when you attempt to export and publish this modified field to a different instance where it already exist. I have a feeling it might fail due to the field already existing with a different attribute type. The other idea was to run the attribute manager directly in the other instance as well but as you can remember, you can’t edit managed attributes with the tool.

But so far this seemed successful, I’m not aware of any dead family pets!

Charles Osei

Dynamics 365 Consultant @ Hitachi MCSE Business Applications Computer Science – University of Lincoln 2017 Nottingham D365/CRM user group Chapter Leader TDG – Community leader Twitter @charlied3v LinedIn

Leave a Reply