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.
Also check out discussion thread:
I don't know if his fix will also work for you, but it's worth a try if nothing else suggests itself.
Thanks for your kind answer.
Thanks for answering. Yes. The answer is in that thread. You actually need to define your record title in the record type definition in order for the record picker to find your record items.
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!
Hi,
I have exactly the same issue. No records retrieved by the RecordPicker.So, I've edited my RecordType (view tab) to set the Record Title but it still does not work (title = "Record Type test").
I don't understand... please could you give an example of what you put in that field ?