Announcement

Collapse
No announcement yet.

Small bug/restriction in show URL

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

  • Small bug/restriction in show URL

    When attempting to serve a pdf where the name includes the character #,
    the iFrame flashes briefly with the pdf and then displays an error message "requested URL portion-of-the-filename-up-to-the-# was not found on the server"



    Valence Framework 5.2.20191218.0
    Attached Files

  • #2
    Unfortunately, # is a reserved symbol and considered a URL.hash so we suggest removing the '#' from your file names.

    Comment


    • #3
      You could update your Data Source to replace the '#' with the encoded value of '%23' if you cant remove it from your file name.

      Example SQL:

      REPLACE(IFSFileNameFIeld, '#', '%23')

      Comment


      • #4
        Johnny:

        Thanks. Suspected hash was a reserved value.

        replacing # with the encoded value %23 resolved my issue.

        Comment


        • #5
          Even better solution- used REPLACE() function over the source column on SQL statement in data source definition.

          That way the column value in the database agrees with to the actual IFS object name.

          Comment

          Working...
          X