cancel
Showing results for 
Search instead for 
Did you mean: 

Help on Road Map

Murali_Shanmu
Active Contributor
0 Kudos

Hi

My requirement is simple. I have 3 Views. I navigate from View 1-2-3. Now I want the Road map to show in which step i am currently and also must allow the user to navigate freely among these three views by clicking on the Road map Steps. But internally , navigation works by plugs. I got this clear by reading other posts.

Now I started creating one and I am not able to even view a road map on my scree. I created 3 steps under a Road Map UI and gave the description and name for each steps. I made step 1 to be highlighted in View 1. Where could I have gone wrong ?

Regards,

Murali.

Accepted Solutions (1)

Accepted Solutions (1)

Murali_Shanmu
Active Contributor
0 Kudos

Hi

I created a contex tattribute and on the init() put this line.

wdContext.currentContextElement().setSelectedStep("Step1");

I mapped this to the selectedStep property of the UI element.

Still nothing shows up.

Murali.

Former Member
0 Kudos

Hi,

Just a guess: have you created the RoadMap UI under a group or something? If yes then move it under the top-level container.

Regards,

Satyajit.

Murali_Shanmu
Active Contributor
0 Kudos

Oh Sirjee. That was a right guess. I put it inside a container, and hence it could not show it properly.

Now I am able to Navigate from View 1 to View 2 and the selected Yellow box also changes accordingly. I have manually at design time set these values.

I have one More question, Can I have the user click on the boxes to go to a particular step. Is it possible ? Or else should I have seperate buttons that contol the navigation ?

Thanks a lot.

Regards,

Murali.

Former Member
0 Kudos

Hi,

There's an onSelect method for the RoadMap UI (not the individual steps). So you assign an action to it. Now whenever a step is clicked you can find out the id of the step that has been clicked and accordingly you can do the navigation.

Regards,

Satyajit.

Murali_Shanmu
Active Contributor
0 Kudos

Yes I also noticed an onSelect() for the RoadMap UI element. But how do I find the ID of the step that the user has clicked.

This will be the last question in this thread..Thanks a lot.

Murali.

Former Member
0 Kudos

hi,

check this link:

regards

shyam.

Answers (0)