1 resposta
I think ApexPages.currentPage().getParameters().get('id'); might not work because it will pass the id of the page which we are currently viewing, in my case it is detail record but I want to be able to query all the fiedls from detail but only for that particular parent(master).