Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Determine and change path of opened PDF

Avatar

Level 2

Hi,

is it possible to determine the path from where the PDF is opened? And if so, can the default path be changed?

This is what is going to happen:

  1. The server will create a rondom named folder and puts a copy of a PDF file there. There will also be an external XML file in the same folder containing data.
  2. The user is going to open the pdf.
  3. Once opened, the external XML-file with data needs to be imported. This will be done by a button on the form, that opens a 'browse'-screen.
  4. As the user does not know where to find the XML file (it is a random folder), I want to have the 'browse'-screen to be opened in the same folder as where the pdf is opened from.

The problem is in the 4th point. How to determine the current folder, and change the default folder (so that the browse-screen opens correctly).

Please help!

Thanks in advance!

Erik

0 Replies