cancel
Showing results for 
Search instead for 
Did you mean: 

how set lead selection in recursive node?

Former Member
0 Kudos

hello everyone,

For inclusive recursiveNode' Context as following Context, how can i set lead selections from current Questions(node) to SubQuestions(kind, recursive node)

i tryed with SetTreeSelection( ).but don't work .

can you give me some advice?

Context:

- Questions (node)

-


Text (attribute, string)

-


SubQuestions (recursive node, RepeatedNode = Questions)

Thx in advance

regards

Yaning

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Doesn't <i>wdContext.nodeQuestions().setLeadSelection(int)</i> work?

Regards,

Satyajit.

Former Member
0 Kudos

hello Satyajit.

no ,

my situation: now lead selection stand in QuestionNode, then i create a kind(SubQuestion Node), i wanna set the kind element as lead selection .

or can you look at my another thread. give me some tips.

Thx

Regards

Yaning

Former Member
0 Kudos

Try

IQuestionsElement child = ...;
wdContext.nodeQuestions().setTreeSelection(child);

Armin

Former Member
0 Kudos

HI Armin,

sorry.no, always stay at parent Question.

regards

yaing