Could not display interface. Please check definition and inputs. Rule Input "address": Could not cast from Number (Integer) to AT_address. Details: CastInvalid

a!localVariables(
local!locationsList:rule!AT_getAddresses(addressId: null), -- getting an error at this line.
{
a!sectionLayout(
label: "Address",
contents: {
a!radioButtonField(
label: "Radio Buttons",
labelPosition: "COLLAPSED",
choiceLabels: local!locationsList,
choiceValues: local!locationsList,
saveInto: {},
choiceLayout: "STACKED",
validations: {}
)
}
)
}
)

  Discussion posts and replies are publicly visible

Parents Reply
  • In the first code you entered the `addressId` as NULL. Was this just for posting here or is it genuinely NULL? With Ids entered do you still have the issue?

     --- I am still getting an error message if I replace NULL with any value.

    Also, is there an `address` field in the AT_address CDT? If so, what is the data type in both the CDT and the database?

    -- There is no 'address' field/column in the AT_address CDT.

Children