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
1 reply
Subscribers
5 subscribers
Views
861 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Getting DataType using the QName
chetany
A Score Level 1
over 7 years ago
I have a valid QName, with localPart and namespace set correctly. I can see it when I debug the code in Eclipse.
I tried to use typeService.getTypeByQualifiedName() to get the DataType, and passed the QName object to it.
But, it returns null. I think the API should have returned me a valid DataType object instead of null.
Can anyone confirm if this API is working? It is a part of Public API and it is not deprecated.
OriginalPostID-232643
Discussion posts and replies are publicly visible
Parents
0
chetany
A Score Level 1
over 7 years ago
Got it.. The QName that I was getting was actually for a deleted CDT. That is why the DataType object returned was null. It works fine if the CDT exists(not deactivated)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
chetany
A Score Level 1
over 7 years ago
Got it.. The QName that I was getting was actually for a deleted CDT. That is why the DataType object returned was null. It works fine if the CDT exists(not deactivated)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data