Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
16 replies
Subscribers
7 subscribers
Views
5887 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
Hello, What is the easiest way to edit an existing field in a CDT? I have a coup
padmanabhanv
over 11 years ago
Hello, What is the easiest way to edit an existing field in a CDT? I have a couple of CDT's in my application which need to undergo some changes(to existing fields as well as add some new fields). I tried deleting the whole list of CDT's and recreated the same by importing an XSD. However all my processes are still referring to the old CDT's(In the data mapping's for eg I can see (username~3) which is obviously referring to an old version). I did go and manually change it - but then all the data mappings in the process got wiped out. There should be an easy way to do this. Please advise...
OriginalPostID-92285
OriginalPostID-92285
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 11 years ago
Take a look at
forum.appian.com/.../Data_Type_Impact_Analysis
Just remember that for this to work your impacted models need to be part of an application and be published (so you don't lose the "saved only" changed)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
I meant: "so you don't lose the unpublished changes since the impact analysis publishes the models at the end of the update"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 11 years ago
Well in my case, I deleted all the CDT's eg( Person, Accounts, Address) and recreated it by importing an XSD file. However when I do "Impact Analysis" for the 3 CDT's, I see "No applications contain references to the data types "
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
Just remember that for this to work your impacted models need to be part of an application in the Applications list. If the models that reference the CDTs are not part of any application under the Applications tab you will get the "No applications contain references to the data types"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 11 years ago
Models are part of the application
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 11 years ago
I changed the namespace in the XSD, would that be the reason?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
1. Did you change the namespace when you re-imported the XSD?
2. Go to the Applications tab and select one of the applications that have a model with the CDT in question, open the application, click on the Process Model and open it. How does the CDT look like? does the CDT type has a ^ such as MY_CDT^1?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
Yes, that's the root cause. CDTs are identified by two things:
name + namespace
if you change any of those two things then the CDT is considered a different data type which means Impact Analysis will not be able to guess you mean those new ones to be the same as the old one if their qualified name is different.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 11 years ago
ok, so if I have to change the namespace then what do I do? Remap all the components again?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 11 years ago
How do I change the default namespace setting for the datatypes so that they change from
localhost:8080/.../types
to a urn
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>