This go to field method or double clicking the container field in order to open the original file requires that very specific details be in place.
The file must have been inserted with the Insert File menu option or script step.
The "store a reference" option must be specified when the file was inserted.
The container field cannot be "optimized for interactive content".
External storage cannot be specified in storage options for your container field.
You may want to use Export Field Contents to open the file to the temporary folder instead of using Go to Field. Export Field contents will not be affected by any of the above factors.
You'd use a $Path variable to specify the temporary folder. If you haven't worked with $path variables before, you might want to see this thread: Exploring the use of a $Path Variable in Scripts
But since this is a PDF, you might also consider setting up a layout with a large format copy of your container field optimized for interactive content and use it to display the pages of your PDF file. You can either switch layouts or open a new window and then switch layouts to this layout as an alternative way to access the PDF. This requires using Insert PDF to insert the file into an interactive container field.