• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Getting "Invalid File name" error when using Call RPG/URL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Getting "Invalid File name" error when using Call RPG/URL

    Hello,
    I have a pdf document that is in an IFS directory that I can display by typing this link."http://192.168.3.4:7052/testdir/APCHK2010/AP123456.pdf?"? I put the link text in a Call RPG/URL as a click event and I get the error "File Name Invalid". How can I see what the invalid text is? Trying to use developer toolkit but not sure where to start.
    Thanks,
    Bruce

  • #2
    Call RPG/URL is intended to perform a process using one of our template programs. If you want to simply display something like a PDF, you should use the URL Widget. For example, add the URL Widget to your application, click on the settings for the widget, and place your PDF URL in the URL property.

    We created a Developer Diary a long time ago that covers uploading and viewing documents with the URL Widget, which you might find interesting. Here is the link where we introduced the URL Widget into the application.?

    Add the URL Widget:

    Screenshot 2024-11-13 at 3.57.07?PM.png

    URL Widget Settings:

    Screenshot 2024-11-13 at 4.14.39?PM.png

    Comment


    • #3
      Thanks for the information, got it working now.

      Comment

      Working...
      X