My numeric variables' values are being stored OK. But my text variables' values will not store. The storyline variable is 'email_address' and the corresponding field in Data Cloud is also 'email address'. I have tried two versions of the code:
Firstly: var player = GetPlayer(); var entry = player.GetVar("email_address"); CloudSet('email_address', entry);
John, in the Data Cloud settings, you probably set the type of the email_address field to numeric. So the text you're trying to write into that field evaluates to 0.
Reply
Posted on 9/17/2022
@john
Thanks for the suggestion, but nope. The variables in question are definitely set to be 'text'.
Reply
Posted on 9/17/2022
@john
Apologies, I read your helpful suggestion mistakenly as variable settings in Storyline. In the data cloud table, they were indeed set to numeric. Missed that. It works now, thanks
Reply
Posted on 9/17/2022
@support
No worries at all. Thank you for posting the update.