Dynamic File Devices and PDFViewer issue - migration from Automation Studio 4.12 to 6.5

Hello,
I am facing an issue after migrating a project from Automation Studio 4.12 to 6.5.

During the initialization phase I use DevLink to dynamically mount File Devices.
The mounting process seems to work correctly, however in AS 6.5 I can no longer use these dynamic File Devices with the PDFViewer.

  • USER is the project File Device (/F)

  • Using DevLink, I dynamically mount the File Device Documentation with the following path: /F/Documentation

  • Inside the Documentation folder there is a PDF file: TestENG.pdf

If I set the PDFViewer source to /FileDevice:USER/Documentation/TestENG.pdf the PDF is displayed correctly.

If I instead use the dynamic File Device directly /FileDevice:Documentation/TestENG.pdf I get the error:

image

There are no apparent issues with DevLink. Using UIConnect, I can correctly browse and see the list of files inside the Documentation folder.

Has anything changed in dynamic File Device handling or access rights for widgets (especially PDFViewer) between AS 4.12 and AS 6.5?
Is it necessary to explicitly enable dynamic File Devices somewhere (e.g. HMI configuration, user rights, or other settings)?

Thank you in advance for your support.

There is new configuration, FileDevice whitelist.

4 Likes

Hi @d.perla has been your problem solved?

Thanks a lot to Jaroslav for the valuable advice.

The issue is now resolved.

1 Like

happy to help,have a nice weekend :slight_smile: