on 07-31-2013 7:32 AM
Hi All,
I needed some help in java code for generating multiple nodes based on some source field.
The condition is i have 3 IDs in Source. The target Node "AssetDetail" is to be generated depending on the source, i.e if ID1/ID2/ID3 exists, correspondig 3 "AssetDetail" is to be generated on the target. If only ID1/ID2 exits, only 2 "AssetDetail" and if none, no "AssetDetail".
I tried to achieve it using standard functions, but couldn't. Could anyone please suggest me some code to achieve the same.
Thanks.
Hi,
Create 2 duplicate subtrees of the target node so that you now have three AssetDetail in target, & have a createIf condition for each of the three target nodes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In Target side how many fields are there only one or corresponding like AssetDetail1,AssetDetail2,AssetDetail3 are there.
Share the source and target structure and condition clearly
Regards,
Mani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.