Hello community - I’m a week on form ‘Hello World’ as far as scripting (and coding in general) is concerned so apologies if this is basic - one of my issues is knowing correct terms and without them it’s hard to search for answers.
I’m creating a script app that adds a record to a table called ‘Characters’.
The new record will incorporate some info from other records on the same table so to feel my way I’ve done:
dynastyNow = record.getCellValueAsString(“Dynasty”)
motherNow = record.getCellValueAsString(“Name”)
fatherNow = record.getCellValue(“Spouse”)
countryNow = record.getCellValueAsString(“Country”)
output.text(dynastyNow)
output.text(motherNow)
output.text(fatherNow)
output.text(countryNow)
It all works as expected except fatherNow - which returns: nothing if I use getCellValueAsString and ‘null’ if I use getCellValue.
It must be because the spouse field is a linked record field (the others are either single selects or single line texts- how do I interogate the linked record to produce the info I need?


