Hi Nicholas,
- What version of Skuid are you using?
- Are you building in api V1/V2?
- What are you trying to accomplish in this snippet?
As far as this snippet goes, this will get you the first row of your User_SFC model and push those values into your aStr object :
var params = arguments[0], $ = skuid.$; var User = skuid.model.map().User_SFC.data[0]; var aStr = {}; aStr.city = User.City; aStr.company_name = User.CompanyName;
getField() returns the field metadata, rather than the values on this page.
For more reference in using Javascript and Skuid, check out Skuid’s API Reference (https://docs.skuid.com/latest/v1/en/skuid/api/) if you haven’t found it already.