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
6 replies
Subscribers
5 subscribers
Views
1983 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi All, we are trying to get all the custom data type names and its i
bharathc
over 9 years ago
Hi All,
we are trying to get all the custom data type names and its ids existed in the system. we found that there is a method to get CDT names based on Namespace called as getTypesByNamespace(). but we want to get all the CDT names and its ids.
Any thoughts?
Thanks in advance
OriginalPostID-154438
OriginalPostID-154438
Discussion posts and replies are publicly visible
0
PhilB
A Score Level 1
over 9 years ago
Have you considered adding all of the data types to an application, exporting it and then parsing the resulting XML?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Robert Shankin
Appian Employee
over 9 years ago
The Appian Health Check produces a file hc-data-types.csv that lists data types and UUID's.
forum.appian.com/.../Appian_Health_Check.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bharathc
over 9 years ago
I got the method. Thnak you all.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sariqs
over 8 years ago
Hi Bharath,
Did you find which api to use in your case above. There is an api which gives you all the system type namespaces and based on that you can get its data type but I was unable to get any api through which I can get all available custom types from the system.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bharathc
over 8 years ago
Hi Sariqs,
Use the getTypesFilteredPaging(int excludeFlags, int listsFilteringMode, int startIndex, int batchSize, java.lang.Integer sortProperty, java.lang.Integer sortOrder) from Typeservice interface, and pass 136 as excludeFlag parameter.
Finally use getNameWithinNamespace() in loop to get the name of the data type.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sariqs
over 8 years ago
Hi Bharath,
Thanks for the information. I have surely overseen this api while searching for the same.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel