cancel
Showing results for 
Search instead for 
Did you mean: 

Design studio toggle tabs every X minute using timer component

0 Kudos

Hi Experts,

Please suggest me if we can use timer component to toggle between Design Studio Tabstrip tab's

We have an existing D.S application with BI OLAP Data Source (Connected to Hana). I have timer component which refresh data every 1 minute

We have new requirement to enhance the application and add more KPI's on new tab with in same application. Please find attached.

Tab_1: Operator Efficiency

Tab_2: Location Utilisation

I want timer component to toggle between tabs every 1 minute. Is it possible?

Thanks in advance

Naveen

Accepted Solutions (1)

Accepted Solutions (1)

MustafaBensan
Active Contributor
0 Kudos

Hi Naveen,

Please see the solution I have provided in the following discussion:

Regards,

Mustafa.

0 Kudos

Thanks a lot Mustafa.

This worked like a charm.

Only difference I found is you got total pages by using Pagebook.getPagecount() in startup.

Where as for tabs I found no option to get tab counts so hard coded value with maximum tabs I have.

Solutions to count number of pages:

maxPage = Pagebook.getPagecount()

Solution to count number of tabs.

maxTab = 3

Can you please tell me if any alternate method to find total count of Tabstrip Tabs?

Cheers,

Naveen

MustafaBensan
Active Contributor
0 Kudos

Hi Naveen,

Can you explain why you need to use the Tabstrip component in this scenario?  Since your requirement is to automatically cycle through pages, I think the Pagebook component is more appropriate.  If you use a Tabstrip, the user can disrupt the automatic toggling of pages by clicking on a tab.

Regards,

Mustafa.

0 Kudos

Hi Mustafa,

This Dashboard goes on to LCD screen. Auto refresh every minute between tabs.

We have user version as well but it will not have any auto refresh (Manual toggle between tabs and reload onclick)

I hope this answered your question. Appreciated your help. Thanks a lot.

Cheers,

Naveen

MustafaBensan
Active Contributor
0 Kudos

Hi Naveen,

In that case my recommendation is as follows:

1)  Use the Pagebook component for the LCD version of the dashboard

2)  Use the Tabstrip component for the end user version of the dashboard

Regards,

Mustafa.

Answers (0)