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
9 replies
Subscribers
5 subscribers
Views
2741 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I am having a problem importing a nested CDT into a plugin project by following
sairakeshn
over 8 years ago
I am having a problem importing a nested CDT into a plugin project by following the instructions in the documentation at
forum.appian.com/.../Appian_Plug-in_Creator_for_Eclipse.html
. No errors/exceptions and there are not any classes created. Is there a way to go about importing the nested CDT's?
OriginalPostID-176926
OriginalPostID-176926
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 8 years ago
I'm not sure if nested CDTs are supported by the plug-in. Have you tried a simpler version of it to confirm if the issue is with this CDT in particular or with any nested one?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Carlos Santander
A Score Level 2
over 8 years ago
We recently did this. Importing XSDs caused some issues, so our solution was to actually define the classes for the CDTs manually. Once the classes were created, the plugin worked without issues in Appian.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sairakeshn
over 8 years ago
It did work fine with flat structure CDT. Tried importing several nested CDT's and it did not work for any of them.
@carloss can you provide me a template of the classes you created manually for nested CDT's please
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
Nested CDTs are supported in the plugin, tried 2-3 years ago. Make sure you are importing child first and then parent as the parent CDT's XSD has a dependency on child CDT's XSD. If you try to import parent first it will not get imported.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
In my case created 2 seperate XSDs for parent and child, never tried using a single consolidated XSD of parent and child both. Shouldn't be a problem though (I guess).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
Or if it is a latest issue with Appian plugin, then you can create CDTs using Java.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Carlos Santander
A Score Level 2
over 8 years ago
I can't include the code, but the basics involve: adding the nested CDT as a List<>, making sure all annotations are in place, and properly modifying appian-plugin.xml. Try importing a simple CDT first to see what's generated.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sairakeshn
over 8 years ago
We made it work by creating a consolidated single complex XSD file with all parent and child cdt's
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sairakeshn
over 8 years ago
Thank you all for your inputs..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel