565
Views
5
Comments
Solved
Navigation from one tab to another using buttons

Hi everyone,

I am finding it difficult to navigate from one tab to another  using button, I tried one solution discussed in forum but it didnt really help me. Please  see to the attached oml file. I want save button to go to address tab and back button again navigating to center Info which is in address tab content.

Thank you

TabsnAvig.oml
2024-01-31 05-29-41
Akshay Deshpande
Solution

Hello Rakshitha U,

Please check Attached URL and OML for reference I have created Sample Demo 

https://akshayproject.outsystemscloud.com/Rolecheck/navigation

(Add your logic in that as per your requirement)

Thanks and Regards,

Akshay Deshpande

Navigation.oml
2022-12-05 07-28-20
Nihil Gujar

I appreciate the Answer. It was Very Beneficial.

Thank You.

2024-06-13 07-53-34
Paulo Moreira
 
MVP

Hi Rakshitha,

Quick solution:

  1. Create a local variable named SelectedTab, of type Integer with a default value of 0
  2. Bind the Tabs property "StartingTab" to the SelectedTab variable created on the previous topic
  3. On the Screen Actions related to the navigation buttons on each Tab, set the desired value of the SelectedTab variable you created on topic 1
  4. Disable the Screen Action TabsOnTabChange and remove the binding to the Tabs OnTabChange Event

Hope this helps.

Best regards,

Paulo Moreira

2023-12-14 09-56-57
Yogesh Javir

Hey @Rakshitha U 

Please find below attached oml.

Steps:

  1. Create local variable "TabIndex" with integer datatype(default value 0).
  2. Add reference  of TabsGoTo client action from OutSystemsUI
  3. on click of Next button set TabIndex as TabIndex+1
  4. On click of Back  button set TabIndex as TabIndex-1
  5. After assigning to TabIndex set TabIndex variable to TabsGoTo action (OutSystemsUI)



I had updated your Oml, Please look it.

Please mark as solution if it is working for you.


TabsnAvig_Updated.oml
2024-01-31 05-29-41
Akshay Deshpande
Solution

Hello Rakshitha U,

Please check Attached URL and OML for reference I have created Sample Demo 

https://akshayproject.outsystemscloud.com/Rolecheck/navigation

(Add your logic in that as per your requirement)

Thanks and Regards,

Akshay Deshpande

Navigation.oml
2022-12-05 07-28-20
Nihil Gujar

I appreciate the Answer. It was Very Beneficial.

Thank You.

UserImage.jpg
Andreas Deh

Hi, 

where does the value "SampleTab.Id" in parameter field WidgetId come from? 

I try to select a value with the expression editor, but there is no item/widget to select in the tree.

Do I have to give the tab a name that I can select it here?



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.