Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Josh L
on
Alright complete 180 on this, I have a different problem now

I got a script working that either displays data from a spreadsheet or returns a normal data output if the driver is not in the sheet. I have the return set to "result.Entity.CurrentDriver.Name", but need it to output just the first name. Changing to "result.Entity.CurrentDriver.FirstName" gives me the following error:

'IDriver' does not contain a definition for 'FirstName' and no accessible extension method 'FirstName' accepting a first argument of type 'IDriver' could be found (are you missing a directive or an assembly reference?)