As you can see above i have a list of jobs posted.
And this view is the summary view as you might already know and i have an saperate action apply beside the job details tab which is for applying the candidate for the particular job.
But when i click apply, the candidates that i have applied for other jobs also are visible.
I want to know how can i use the queryfilter option so that when i come to the summary view of a particular job and click on apply i can only see the candidates that have applied for that particular job.
Ex: I have a job posting called coforge with an job posting id of "00004" and when i go on its summary view i can see the whole job details and when i click on the apply tab , i should only see the candidates that have applied for the coforge job only. Is that possible using the queryfilter function. Please guide me through it.
Discussion posts and replies are publicly visible
1) Open IP Add Details record2) Go to Views section3) Open the Apply view4) Edit the interface used in that view5) Inside your gridField data parameter, add the filter:a!gridField( data: a!queryRecordType( recordType: recordType!candidate, filters: a!queryFilter( field: recordType!candidate.fields.jobPostingId, operator: "=", value: ri!record[recordType!ipAddDetails.fields.jobPostingId] ) ), /* rest of your grid configuration */)
Replace above queryRecordType with proper record as i don't have proper access to record.Filter candidates by jobPostingId (not by client, since one client can have multiple jobs if you have this logic implemented)
I tried the code but i got this error, it says paging info not found.
You have to use queryRecordType in data parameter instead of column and in pagingInfo put a!pagingInfo(startIndex: 1, batchSize: 5000)Just Update your data parameter code as mentioned below keep rest as is.
Add the queryrecordtype code in the data definition: line number 5!
For paging I updated the earlier code. Check if after making those changes it works or not