Skip to main content
arulk0002
Inspiring
June 29, 2022
Question

Data Type

  • June 29, 2022
  • 3 replies
  • 0 views

Hi All, 

As the application name and its prefix has been changed after the half way across the development, we are now in need to change the existing appian objects to the new prefix. While doing so, I'm trying to change the CDT, Data Store etc.. ( AFAIK  while is the most tedious task) but getting the below error : is there any best practices for changing the prefix for CDT , DB tables , Data store , records etc ? Can someone please elucidate ? 

Error snap shot : 

XSD File
The name and namespace of the new version of the data type must be the same as the current data type's name and namespace. Received namespace: urn:com:appian:types:EM, name: EM_table2

3 replies

harshitb6843
June 29, 2022

You will simply not be able to change the name of the CDT. 
That means no change in the prefix also. 

Inspiring
June 29, 2022

Unfortunately you can not change the CDT name once created. The alternative solution is create new CDT by downloading existing CDT XSD and modify that XSD with new name and create new CDT (Keep in mind this is not a best solution since you need to update all the objects where ever you have these CDTs)

harshitb6843
June 29, 2022

How does it even counts as a solution if you have to redo the whole thing again? 
Isn't it just like building an application again?