I have an app that has a gallery on it with an arrow to select the record and display it in a child gallery. This works great! Within that child gallery I have the usual labels displaying the data associated to the Parent gallery, I also have a PDF icon that when clicked should display the PDF in the viewer. The issue is I am not sure how to call the parent gallery information from the child into the PDF viewer

I have this on the PDF icon

Any help would be appreciated