cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a multiple roadmap step?Any examples!!!

Former Member
0 Kudos

Hi All,

I am using a multistep roadmap within a roadmap ui.It has basically 2 steps assigned to it.I have created 2 context attributes under context node and assigned the datasource property of multistep to it.But i am still unable to see the 2 steps within the multistep element.Any idea of how to do it?Any examples of how to use multi step roadmap.

Thanks

Aravind

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Have you read the Javadoc?

The "dataSource" property must be bound to a context node (card 0:n). For example

Steps (node)

- text (string)

MultipleRoadMapStep.dataSource = Steps

MultipleRoadMapStep.name = Steps.text

Armin

Former Member
0 Kudos

Hi Armin,

Thanks for your input.My problem is i am unable to see the multiple road map step at all.

This is what i have now.

1.Roadmap ui

1a.single roadmapstep1

1b.single roadmapstep2

1c.single roadmapstep3

1d.single roadmapstep4

1e.single roadmapstep5

1f.multiple roadmapstep6

i am not seeing the 1f multiple road map step at all.I have binded the datasource of it to context node of cardinality 0..n and it has 2 context attributes of type string assigned to it.

Please correct me if i am wrong or missing something

Former Member
0 Kudos

You have to add elements to the node providing the step data. In my example:


IStepsElement step = wdContext.nodeSteps().createStepsElement();
wdContext.nodeSteps().addElement(step);
step.setName("Step #1");

Armin

Answers (1)

Answers (1)

nikhil_bose
Active Contributor
0 Kudos

You need to add RoadMapStep for each step you want. And in each view, you have to Enabled property for RoadMapStep.

regards,

nikhil

Former Member
0 Kudos

Hi Nikhil,

I have enabled it to true.The link you have mentioned is not working...