user
@shobhrajsharma
Data not reflecting in Google Sheets
I have a blank var = Stencilsheettoken
Executing the code in master and main slide

This is the code I am using for collecting information :

var player=GetPlayer();

var M = player.GetVar('Month')
var T = player.GetVar('NumericEntry')
var W = player.GetVar('NumericEntry1')
var T1 = player.GetVar('NumericEntry2')

SheetsSet('Header1',player.GetVar('M');
SheetsSet('Header2',player.GetVar('T');
SheetsSet('Header3',player.GetVar('W');
SheetsSet('Header4',player.GetVar('T1');

Data not reflecting google sheet. Where am I am going wrong ?
reply
Reply
user
@support
I can see a bunch of issues with the way the code above is written:
- The var ... player.GetVar lines are all missing a semicolon at the end
- The SheetsSet lines are all missing the second closing parenthesis
- Aside from the missing parenthesis issue, the SheetsSet lines should be like SheetsSet('Header1',M); or SheetsSet('Header1',player.GetVar('Month'));
reply
Reply