Web object does not refresh after transition to new slide
Apr 23, 2017
On slide #1 the user enters text into one field. Using JavaScript, the contents of that field updates a Google Docs spreadsheet. This works fine. On slide #2 I want to display the contents of the Google Docs spreadsheet. I have a web object on this slide, which is a web page. The code for displaying the Google Docs spreadsheet is in this web page.
The problem I am having is that when I jump from slide #1 to #2 the web object on slide#2 does not update with the text submitted in slide #1. If I refresh the (published) Storyline-generated web page in my browser and navigate to slide #2, the new entry is there.
I've tried adding code to refresh both the Storyline-generated web page as well as the "web object" web page, but no luck. Has anyone had luck refreshing a web object?
Thanks,
Jim
6 Replies
Hi Jim
I'm no techo at all but could it be the order of your triggers. Is the refresh webobject trigger on timeline end of slide 1 or another action and perhaps add it again to the start of the webobject slide.
Is there a trigger - other than a NEXT button - that I could set that would refresh the webobject in Storyline? I did a web search and didn't find any.
Thanks,
Jim
Matthew-
Would you mind expanding on your suggestion? After I navigate from slide #1 - where the user enters a phrase into the text entry field - to slide #2 where the webobject is, I don't revisit slide #1.
Thanks,
Jim
Hi Jim
I took this to mean you had the JS code to refresh so I was asking if you were adding a trigger in SL to execute JS - so my comment was about could you add that trigger to timeline end of Slide #1 and timeline start of Slide #2.
Sorry if I've misunderstood.
Not a problem. Your suggestion encouraged me to review the project more closely, which is always a good idea.
Thanks Matthew. I'll try out your suggestions.
Jim
This discussion is closed. You can start a new discussion or contact Articulate Support.