on 2016 May 10 2:14 PM
Hello All,
I am attempting to script a transition for pages included in a pagebook based on a timer component. I am using Design Studio n1.6 SP01, I am finding it extremely difficult to properly develop the script. I have searched numerous forums for an example script for me to base mine off of. If anyone has any experience doing this and would be willing to share even if it is just a start I would greatly appreciate it. All pages on the pagebook draw data from a different DataSource, my shortcoming I believe lies with my level of experience developing with the BIAL language. Thank you for reading my post and thank you ahead of time for any insight you are willing to offer.
Very Respectfully to all,
Randy
Hi Randy,
Here's a first cut at a sample BI app for your scenario. Just import into Design Studio 1.6 and replace the 4 data sources with your own.
You can download it here.
Let me know if you have any questions.
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mustafa Bensan,
Thanks you. it's working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mustafa Bensan,
I reassigned four data sources to each of the crosstab. now also i faced the same errors.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here's a version with unassigned data sources you can download.
Hi Randall,
I have created an example for you with tabstrip
This one behaves like here:
there is the SCN Time Out component used, which is counting 5 to 0 and then the corresponding script is changing the tab.
adding the pagebook, you can also change the pages:
the script in timer is:
var selIndex = TABSTRIP_1.getSelectedTabIndex();
var maxIndex = 1;
if(selIndex < maxIndex) {
selIndex = selIndex + 1;
} else {
selIndex = 0;
}
TABSTRIP_1.setSelectedTabIndex(selIndex);
PAGEBOOK_1.setSelectedPageIndex(selIndex);
TABSTRIP_1.onSelect();
I did not get the connection to data sources as those are independent of this transition.
Karol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karol,
Based on Randy's previous post related to this topic, my understanding is that the page transitions need to coincide with the data refreshes. Although we can't guarantee exactly the same duration between transitions due to different data source refresh times, I was thinking we could integrate the timer with the data source "On Result Set Changed" event so that the data source for the next page is being refreshed while displaying the current page. Then once the data source for the next page has been refreshed, we navigate to that page to immediately display the current data for that page and then trigger the timer component again to start the cycle for the next refresh.
Anyway, perhaps Randy can confirm the requirement so we can provide further guidance accordingly.
Regards,
Mustafa.
Mustafa,
once again you are right on target with what I am trying to accomplished, also I attempted to use the script for the timer that was recommended leverage the pageindex. I am receiving a failure to bind component error though. The script is clean, I have been trying to conduct my own research on this topic but there is little out there to go of. Also, I am the pioneer of this tool within my organization, all previous dashboards where developed off of Exelsius.
Again, thank for all of your help!
Randy
Hi Randy,
Thanks for the confirmation. Let me take a look and get back to you.
By the way, just out of curiosity, given that the requirement is to cycle through the pages at a fixed time interval, it sounds like the scenario for this dashboard will be to display it on a wall-mounted monitor/TV. Is that right?
Regards,
Mustafa.
Hi Randy,
This sounds like a follow-up to your previous question on the topic I had actually started working on a sample script for you but haven't had the chance to finish it yet. I think you'll need to combine the timer component with the data source On Result Set Changed event to get the desired outcome.
I'll try to get back to finishing that script over the next couple of days then.
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.