I’ve added myExcelDb to a variable we’ll call myData that holds 75 columns with header info
{URL: “myEnvironment.com”, userId: “Teddy”, addr1: “100 Main St”, addr2: “”, addr3: “”, City: “Austin”, State: “TX”, etc…}
set myExcelDB to table (“worksheet1”) of {type:“excel”, file:(ResourcePath(“myExcelFile.xlsx”))}
put the first record of myExcelDB into myDATA
set the suitevariables.SuiteTranasactionData to the records of myData
mySuiteInfo.file
{EPVersionNumber = X; Schedules = (); ScriptMetaData = {}; SuiteEncodedTextKey = “X”; SuiteVariables = “{
SuiteTranasactionData:{
acctnm:@”",
addrln1:@“100 Main St”,
addrln2:@"",
addrln3:@"",
city:@“AUSTIN”,
comments:@"",
country:@“USA”,
state:@“TX”,
url:@“myEnvironment.com”,
userid:@“Teddy”
}
}"; helpedSuitesInfo = (); helperSuitesInfo = ({filePath = “./win_common.suite”; }); }
I’m getting an error and then I can’t open the Session window. I don’t think ePF likes a list inside the SuiteTransactionData variable. ¯_(ツ)_/¯ In order to get back in to the Sessions window I have to delete the SuiteInfo file. Am I correct in this thinking?
If so, is there an easy process to take the individual properties in myDATA and add them to SuiteTransactionData as independent SuiteVariables using their headers as the variable name?
Key Value
state TX
city AUSTIN