I found the solution, or solutions:

- for example if you have a master list (surveys) and a detail list (questions) you can add a web part into your master page (surveys edit form), the web part will be of type App and then select the app "questions" in my case, then you can modify the properties of this web part to get a filter from the id of the surveys(master)