I have the local variable called "encargo" to get a single record from a RecordType filtering by an id key. I want to get all the fields of the record type. Is there any way to tell it to the "fields" parameter or have I to list all of them instead?:
local!encargo: a!queryRecordType( recordType: 'recordType!{47dcd902-6450-48f5-944d-06c0f19d2df1}Encargo DSAppian', fields: { 'recordType!{47dcd902-6450-48f5-944d-06c0f19d2df1}Encargo DSAppian.fields.{85cdc5be-fc56-425c-9ec2-f9e617124992}id', 'recordType!{47dcd902-6450-48f5-944d-06c0f19d2df1}Encargo DSAppian.fields.{48d20aa7-6bfb-42ac-9ea0-0396fafa7ffd}fechasolicitud' filters: a!queryFilter( field: 'recordType!{47dcd902-6450-48f5-944d-06c0f19d2df1}Encargo DSAppian.fields.{85cdc5be-fc56-425c-9ec2-f9e617124992}id', operator: "=", value: ri!id ), pagingInfo: a!pagingInfo(startIndex: 1, batchSize: 1) ).data
Thanks!
Discussion posts and replies are publicly visible
Hi danielg424213 ,
If you want to retrieve all record fields, simply leave the fields parameter empty. By default, it will return all available record fields.