Dear all,
I have a a!pickerFieldRecords component in my interface and it pulls up data from different records but not the particular record I am trying to use. Does anyone know why it would successfully pull data from other records but not from this particular one? I have included the SAIL code below. I also need to add that the record type I am referencing exists and has a number of rows in it.
Thanks
a!pickerFieldRecords( label: "Vendor", labelPosition: "ABOVE", maxselections: 1, recordtype: 'recordType!{fc745541-434d-48b1-800e-ad12f9896ef2}REQ Vendor', value: ri!vendor, saveInto: ri!vendor, validations: {} )
Discussion posts and replies are publicly visible
I've never seen where anyone used the UUID of a record type in their SAIL code. Perhaps, creating a constant of type Record Type and referencing that constant would help.
I know there's a lot of extraneous constants out there, but it does seem to help other situations as well.
Unknown said:I've never seen where anyone used the UUID of a record type in their SAIL code.
FYI that's the expected output when you use the new recordType! domain (available in 20.1) to select a record type, then copy and paste the code elsewhere. I just tried it on my end and I get the same. In theory, this should completely (or almost completely) replace the need for defining constants for every record type.
Oh thank God for inspiring someone to finally write that!