user
@curtis
Possible To Reset or Clear Data List From Storyline
Hi,

Per the Subject, is this possible? Or, is it possible to have only one data entry that is overwritten, rather than adding new data entries for each call.

Thanks,
reply
Reply
user
@support
Curtis, if you want to delete the entries from the custom list, there's a trash icon next to each line in the Widged Data section of the Edit Widget page. If you want to have a single record instead of adding a new line to the list, consider using Data Cloud instead.
reply
Reply
user
@curtis
Hello,

I want one course to be able to generate, say, 50 values, and I want another course to be able to see those values. Then from the first course, I want there to be a way to start over, effectively clearing the list and beginning the generation of 50 values again. In this scenario, accessing the Stencil portal would not be possible. All handled through the courses.

Is that possible?

Thanks,
reply
Reply
user
@support
With custom list, both courses can access the same list, but neither can clear it. So you should use Data Cloud instead. Simply create a table with 50 variables, then generate a user token (by performing one write request and writing down the value of stencilusertoken variable). From there, open both files in Storyline, assign the value you wrote down to stencilusertoken by default. This way both courses will read/write to the same record in the table.
reply
Reply
user
@curtis
Ok, thanks for the idea. I want to make sure I understand the pricing implication here. With the Data List, each time somebody calls the list, it counts as 1 call, correct? But with the Data Cloud, a call is counted per variable that is set or get, correct? So, if in the first course (mentioned above), somebody generated 50 values and then reset them to zero, that would be 100 calls? And if in the second course, each time a person "get" all 50 variables, that would count as another 50 calls? If there were 100 people viewing separate iterations of the second course, each time the group "get" all 50 variables, that would be 5000 calls?

I'm trying to make a game where a facilitator generates numbers in one course and a group of students access those numbers in another course dynamically. Without some way of pushing the full data set, it seems like I'd generate hundreds of thousands of API alls with even a small group in a small amount of time.
reply
Reply
user
@support
Curtis, you're correct. Here's an idea if you're trying to make as few calls as possible: consider using just one field that would contain all of your variables. Use javascript to construct the string, say "var1,var2, var3...", record it in the cloud as one field. And in the second course, once you read the value from the cloud, use a reverse script to split the string into separate variables.
reply
Reply