Spaces in File Path Hyperlink

I have a crystal report that lists invoices. On each row is an image that contains a hyperlink that loads an image of the scanned invoice. The invoice fields related to that row are passed into the hyperlink. The hyperlink is as follows;
PVault\Documents\Accounts Payable\Invoices\"&{Invoice.VendorNumber}&"\AP Invoice "&{Invoice.VendorNumber}&" - "&{Invoice.InvoiceNumber}&".tif"
This hyperlink worked outside of the DNN portal. I have added this report to the portal and am running the report successfully. However when I click on the hyperlink in the DNN portal the hyperlink fails with cannot find file path.
I would appreciate any help with this. Thanks.

Hi,
Please have a look at the Rules of Engagement before posting to these forums. The link is here:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement
Once you have read the above, please provide the necessary information.
VS version?
CR Version?
Service pack level?
Production or development issue?
Sincerely,
Amit

Similar Messages

  • Issue with OracleHelp loading HelpSet with space in file path

    Hi,
    I'm running into an issue where I cannot get OracleHelp to load a HelpSet correctly with RoboHelp contains when the file is in a directory with a file space in it.
    This will load successfully if the path does not contain any white spaces. It looks like oraclehelp may be running into an issue decoding the %20. Any thoughts?
    java.io.FileNotFoundException: C:\temp\qa_relea%20se\windows\data\help\oracl
    e_help_files\HelpTOC.xml (The system cannot find the path specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at oracle.help.engine.DataEngine._getBufferedReader(Unknown Source)
    at oracle.help.engine.XMLTOCEngine.createDataObject(Unknown Source)
    at oracle.help.common.View.getViewData(Unknown Source)
    at oracle.help.common.navigator.tocNavigator.TOCUtils.getTopicTree(Unkno
    wn Source)
    at oracle.help.common.navigator.tocNavigator.MergingTopicTreeNode._creat
    eTopicTreeNodes(Unknown Source)
    at oracle.help.common.navigator.tocNavigator.MergingTopicTreeNode._reall
    yAddView(Unknown Source)
    at oracle.help.common.navigator.tocNavigator.MergingTopicTreeNode.addVie
    w(Unknown Source)
    at oracle.help.navigator.tocNavigator.TOCNavigator.addView(Unknown Sourc
    e)
    at oracle.help.Help._createNavigatorForView(Unknown Source)
    at oracle.help.Help._createNavigatorsForBook(Unknown Source)
    at oracle.help.Help.addBook(Unknown Source)

    Hi Experts,
    My concern was Say I delete the requests from the day the data was loaded with thw wrong update rule, I have the data sitting in the PSA and I can reconstruct them. I understand that the data can be corrected in ODS.
    But in the cube, some key figures are there with the update method as 'addition'. So say I delete the content of the cube and reload it from the ODS all over again, wont the key figures get corruipted yet again?
    Also as I was thinking, say we delete the respective request from the cube as well, and reconstruct the data in the ODS. can I fire the delta request again to capture the changed records to be loaded to cube. to be exact will all the data from the date of the data corruption(as I am going to delete the requests from the cube from that day also) will be loaded to the cube?
    Also another thing is will it be a better idea to reconstruct a request in the ODS and run the delta package for the cube.. And go on ..
    Kindly suggest..
    Thanks in advance !!!

  • Spaces in file path preventing image load

    Hi all,
    I've got a problem: after installing Java 1.4 on Windows 2000, some of my image loading code stopped working--but only under very specific conditions (the code in question follows the post).
    If you run an applet locally, AND the applet is accessing the class files in an archive (a ZIP file, in my case), AND the path to the html file that references the applet contains spaces, the Java plug-in can't find any images (using the default Toolkit's 'getImage' method).
    For example, if I launch "c:/projects/slide_test/slide.htm", everything works great, but if I launch "c:/projects/slide test/slide.htm", the images won't load (assuming the .class files exist in an archive in both cases).
    Similarly, if I launch "c:/projects/slide test/slide.htm" but leave the .class files unzipped and in the "slide test" directory, everything works fine.
    The code works great using the Microsoft JVM and worked well under JRE 1.3_0x.
    Has anyone else encountered and/or solved this problem?
    Thanks in advance for any help or comments.
    Here's the image loading code, though I stress it's been working great up to Java 1.4:
    try {
        this.image = Toolkit.getDefaultToolkit().getImage(imageURL);
        try {
            tracker = new MediaTracker(parentApplet);
            tracker.addImage(this.image, 0);
            try {
                tracker.waitForID(0);
                this.iWidth = this.image.getWidth(null);
                this.iHeight = this.image.getHeight(null);
            catch (Exception e) {
                System.out.print("Failed to track image.\n");
        catch (Exception e) {
            System.out.print("applet not yet initialized.\n");
    catch(Exception e) {
        System.out.print("Failed to data for bitmap " + imageURL.toString() + "\n");

    Hey Safir,
    Thanks for the post. Unfortunately, that didn't fix the problem. I tried reforming the URL using "\ " and " " (in place of the '%20' that Java automatically substitutes), but the problem persists.
    Given that the code works as is until you try to access the class files from an archive, I think there's something deeper at work.
    Thanks again.
    Kreitler

  • Spaces in File path of a command

    Hi all,
    I have a problem in the following API
    Runtime.getRuntime.exec
    ("open /var/root/Desktop/Test Folder/abc.jpg");
    it does not open the file mentioned but the following command
    Runtime.getRuntime.exec("open /var/root/Desktop/TestFolder/abc.jpg");
    it opens the file abc.jpg. the only difference between these 2 commands is spaces in "Test Folder" directory name.
    Please let me know if anybody has an idea.
    thanks
    Message was edited by:
    nav_nini

    Also note that to put a quote within a string, you must use:
    e.g, this string printed out in cmd...
    String text = "\"This is a quote\", he said";
    would be: "This is a quote", he saidJust incase you didnt understand that from masijade's explanation.

  • How to add hyperlink to file path of pdf when creating email using the email submit button?

    I have a form with an e-mail submit button that opens an outlook email with the .pdf file as an attachmnet, and addressed to the e-mail addresses i put in tthe address field.
    What we are trying to abvoid is sending a bunch of attchement to numerous people, clogging up email space/server space.
    What we would like is not to have the .pdf attched, but rather in the body of the email have a hyperlink to the path of the document. Can this be done, and if so can anyone give me some guidance.
    Thanks in advance
    Ron

    Then you can use something like this:
    app.mailMsg({ bUI: true, cTo: "[email protected]", cSubject: "You can find the file at: " + this.path });
    The path that will be inserted is a so-called "device-independent path", though, so they may not be able to use it directly.
    It's possible to convert it to a "normal" file path, but that is a more complex scripting task.

  • Using AppleScript/Automator to get file path and create AFP hyperlink

    Hi All,
    A colleague has asked for a service (contextual menu item in Finder) to get a selected item's remote (afp://) file path and copy it to the clipboard...  Pretty sure I've got that part down. 
    What I need advice on is how to make the resulting pasted file path into a serviceable hyperlink.  AFP keeps telling me there was an error connection to the server....  Does the copied path have to include mounting commands and user credentials for this to work??
    Thanks,
    Nathan

    Hi Richard - here's the script:
    tell application "Finder"
              set sel to the selection as text
              set TempTID to AppleScript's text item delimiters
              set AppleScript's text item delimiters to space
              set sel to text items of sel
              set AppleScript's text item delimiters to "%20"
              set sel to sel as string
              set AppleScript's text item delimiters to TempTID
    set the clipboard to "file://" & POSIX path of sel
    end tell

  • Bug: can't access static files with space in the path

    Please let me know if this a a wrong place to file bug reports.
    I installed webserver7u4 and when I try to access a static file within my war which contains a space in the path, I get HTTP404.
    $ ls webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black\ spinner/1.png
    webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black spinner/1.png
    $ wget -O /dev/null "http://localhost:8080/images/ddtree/black spinner/1.png
    "--13:47:06-- http://localhost:8080/images/ddtree/black%20spinner/1.png
    => `/dev/null'
    Resolving localhost... 127.0.0.1, ::1
    Connecting to localhost|127.0.0.1|:8080... connected.
    HTTP request sent, awaiting response... 404 Not found
    13:47:06 ERROR 404: Not found.Now, if I create a symlink to a path that contains url encoded space, everything works:
    $ ls -l webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black%20spinner
    lrwxrwxrwx 1 root root 13 Aug 1 2008 webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black%20spinner -> black spinner
    $ wget -O /dev/null "http://localhost:8080/images/ddtree/black spinner/1.png"
    --13:49:37-- http://localhost:8080/images/ddtree/black%20spinner/1.png
    => `/dev/null'
    Resolving localhost... 127.0.0.1, ::1
    Connecting to localhost|127.0.0.1|:8080... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1,446 (1.4K) [image/png]
    100%[======================================================================== =======================================>] 1,446 --.--K/s
    13:49:37 (89.76 MB/s) - `/dev/null' saved [1446/1446]So to me it appears that webserver doesn't decode the path before searching the local file system, which to me looks like a bug.
    Let me know if you need more info.
    cheers,
    Igor

    HTTP/1.1 RFC [http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2|http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2]
    3.2 Uniform Resource Identifiers
    URIs have been known by many names: WWW addresses, Universal Document Identifiers,
    Universal Resource Identifiers [3], and finally the combination of
    Uniform Resource Locators (URL) [4] and Names (URN)  ... where
    3 is a link to [http://www.ietf.org/rfc/rfc1630.txt|http://www.ietf.org/rfc/rfc1630.txt] section BNF for specific URL schemes
      httpaddress              h t t p :   / / hostport [  / path ] [ ?search ]
      path                   void |  segment  [  / path ]
      segment                xpalphas
      xpalphas               xpalpha [ xpalphas ]
      xpalpha                xalpha | +
      xalpha                 alpha | digit | safe | extra | escape
      alpha                  a | b | c | d | e | f | g | h | i | j | k |
                             l | m | n | o  | p | q | r | s | t | u | v |
                             w | x | y | z | A | B | C  | D | E | F | G |
                             H | I | J | K | L | M | N | O | P |  Q | R |
                             S | T | U | V | W | X | Y | Z
      digit                  0 |1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
      safe                   $ | - | _ | @ | . | &  | + | -
      extra                  ! | * |  " |  ' | ( | )  | ,
      escape                 % hex hex
      hex                    digit | a | b | c | d | e | f | A | B | C | D | E | F{code}
    4 is a link to RFC 1738 Uniform Resource Locators (URL)
    [http://www.ietf.org/rfc/rfc1738.txt|http://www.ietf.org/rfc/rfc1738.txt] section 5. BNF for specific URL schemes
    has :
    {code}
    httpurl        = "http://" hostport [ "/" hpath [ "?" search ]]
    hpath          = hsegment *[ "/" hsegment ]
    hsegment       = *[ uchar | ";" | ":" | "@" | "&" | "=" ]
    uchar          = unreserved | escape
    escape         = "%" hex hex
    hex            = digit | "A" | "B" | "C" | "D" | "E" | "F" |
                                 "a" | "b" | "c" | "d" | "e" | "f"
    unreserved     = alpha | digit | safe | extra
    alpha          = lowalpha | hialpha
    lowalpha       = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" |
                     "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" |
                     "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" |
                     "y" | "z"
    hialpha        = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" |
                     "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" |
                     "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z"
    digit          = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" |"8" | "9"
    safe           = "$" | "-" | "_" | "." | "+"
    extra          = "!" | "*" | "'" | "(" | ")" | ","
    {code}
    I do not see space in these RFCs for httpurl.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to handle spaces in using path to the file

    Hi Friends,
    I am getting error "file not found" if I give path of the file that contains spaces in it. (eg. C:\Users\Sample Project\file.txt)
    If I give path that doesn't contain spaces (eg. C:\Users\Sample\file.txt) then it works fine without any error.
    Basically I am invoking one command at runtime (using "exec") in my java program that excepts path of the file as one parameter.
    I can't remove space by manipulating path - othewise that path will be different.
    How can I solve this issue?
    Thanks

    Works for me:
    import java.io.*;
    public class ProcessExample {
        public static void main(String[] args) throws IOException {
            if (args.length == 0) {
                Runtime r = Runtime.getRuntime();
                dump(r.exec("java ProcessExample foo \"bar baz\""));
            } else {
                for(String s : args) {
                    System.out.println(s);
        static void dump(Process p) throws IOException {
            BufferedReader r = new BufferedReader(new InputStreamReader(p.getInputStream()));
            for(String s; (s = r.readLine()) != null; ) {
                System.out.println("[" + s + "]");
    }But ejp's advice is even better.

  • Problem launching Firefox from Windows with file path that contains space characters in the html file's file name

    We have a software application that programmatically launches the default web browser using the Windows shell execute function ("ShellExecuteA" in the "shell32.dll" library of the Windows API) along with a file path for a saved local html file that is to be displayed. In the case that FireFox is the default browser and the file path for the html file contains any space characters in the html file's file name, Firefox (in this case v7.01) will display an error message "File not Found..." and then will also proceed to open tabs for each of the individual words in the file name, launching as the URL path, each individual word appended to ".com".
    In the following example, the path "C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm" when launched programmatically, resulted in the error message "File not Found...Firefox can't find the file at /C:/KSSecOfState/Forms/Kansas." and opened up browser windows for "http://www.secretary.com/", "http://www.of.com/", "http://www.state.com/", "http://www.and.com/", and attempted to launch "http://forms.htm". If the same file (renamed) is launched using the path string "C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm" the file opens up correctly in Firefox. Clearly the presence of spaces in the file name is causing the problem.
    I should also note that either path (with or without space characters) works properly if pasted directly into the Firefox URL path menu bar for a live instance of Firefox. The test path strings I used were:
    C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm
    C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm
    Does anyone know anything about this problem or how to work around it (other than the obvious answer of taking the spaces out of the file name which is not possible for this application). It seems the problem is specific to Firefox. IE works properly if launched programmatically with spaces in the file name passed to it. I haven't tested other browsers yet.
    Thanks!

    If starting from ShellExecute works the same as starting from the command line then there are two options:<br>
    Put everything inside double quotes<br>
    '''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''"c:\test\svg test.htm"'''<br>
    Convert to a valid url with file:// protocol and percentage-escaping the space<br>
    '''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''file://c:\test\svg%20test.htm'''<br>

  • Create table space command with no specification of data file path.

    I am using following command for creating table space in oracle 11g
    CREATE TABLESPACE testTbSpace DATAFILE 'dataFileName.dbf' SIZE 50M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE 32767M NOLOGGING"
    But it is creating datafile dataFileName.dbf at disk at following path
    echo $ORACLE_HOME/dbs
    I dont want to create datafile at this path and also dont want to specify data file path in 'create table space' command.
    Is there is any parameter,which i can set and above command start to create dataFileName.dbf at that path
    Edited by: user8680179 on May 15, 2012 1:54 AM

    user8680179 wrote:
    i issued following commands from 'SYS' user;
    1. show parameter db_create_file_dest;
    NAME TYPE VALUE
    db_create_file_dest string
    2.alter system set db_create_file_dest='dataFilePath';
    System altered.
    3.show parameter db_create_file_dest;
    NAME TYPE VALUE
    db_create_file_dest string dataFilePath
    4.CREATE TABLESPACE testTbSpace2 DATAFILE 'test1.dbf' SIZE 50M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE 32767M NOLOGGING;
    Tablespace created.
    But still my test1.dbf file is creating at old path($ORACLE_HOME/dbs)Is datafilepath a real location? I don't think so! Give a proper path like "d:\oracle\" and retry.
    Aman....

  • File Path adds %20 where there are spaces

    Hi Everyone;
    I'm trying to track down a problem.
    The file path for Program Files folder in the old version of my app presents C:\Program Files\Folder in the DOS console. And the app works.
    However, the new version of the app displays the paths in the DOS console like this C:\Program%20Files\Folder
    And I get path not found errors.
    One of the difference between the 2 apps is the first is using java 1.3.1.02 the second is using jvm 1.4
    Does anyone know if 1.4 will do cause this change to happen ?
    stev

    I have found that the problem was with the java version.
    I switched from jre 1.4.1 to java 1.3.1 and the problem is resolved
    I however, have not pinpointed exactly where in the code causes this different behavior. but if anyone sees something like this in the future, you might want to double check the different behavior between 1.3 and 1.4.
    it could be a simple method etc = i haven't looked in the code to identify the exact problem however, cause this is a 3rd party java app.

  • Full file path in Office 2007 when open or save

    Am not sure i can raise this question here.
    We are using 10gR2 Application server and Windows 7 as a Client. In the client machine we have installed the Microsoft Office 2007.
    From the forms we are trying to open and save (after changes) the files of format Doc/Xls. These files will be stored in separate shared folder accessible through Application server and client.
    Now the issue is when we open/save the file it shows the Entire path (In Saving Window) which should not happen. In previous release of MS office its not like this.
    Please help us "to hide the file path to be displayed to the user". Like changing the registry for Office 2007 or workarounds or new solutions or any other oracle's product.
    Note : Showing the file name is the Office 2007s default behavior.

    The only way to avoid showing this from a Forms point of view would be to not display the open/save file dialog in the first place. In other words, control the opening and saving using your own custom dialogs. Also, be aware that using remote drives (network mapped) may cause problems. Generally speaking, doing this would not be considered supported.
    As for opening documents on the client, there is no need to use the open file dialog if you know the file name and path to that file in advance. You can simply use WebUtil's CLIENT_HOST. So let's say you wanted to open a file named mySales.doc and you knew its location, all you would need to do is this:
    Declare
         my_cmd varchar2(255);
    Begin
         my_cmd := 'rundll32 shell32,ShellExec_RunDLL '|| :t1;
         CLIENT_HOST(my_cmd);
    End;In the above example, +:t1+ is a text field on a canvas. The value would include the path and file name to be opened. Of course this could be a pl/sql variable which you programatically populate or any combination of that. The value value must include the full path (with drive letter) and full file name. If the path or name contains spaces, double quotes may likely be necessary. You will have to test.
    For saving an opened file, you are mostly out of luck from Forms unless you took control of Word/Excel as it was being opened in the first place. For example you likely can open the Office products using OLE or VB or other macro and control what the open and file save dialogs look like or if they are even accessible at all. But this has nothing to do with Oracle or specifically Forms.
    You need to refer to the MS documentation.

  • File path control - browse button colour/color

    I can't change the colour of the browse button on a file path control. I'm using LV 8.5, but I think I have the same problem on 7.1
    Is the only way to change the colour to customise the control? Every other part of it seems to take colours from the tools palette.
    Thanks for any pearls of wisdom.
    Jon.

    I am able to change the path browse button color in 8.51 are you trying to change the button color or the color of the folder on the button.  To change the buttoin color use the paint tool and make sure you hit the space bar so you are painting the left color (Background color I cant remember which is which).  This probably doesnt work on system buttons.
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • File paths and archiving (and referenced files).

    I've come to the stage where I need to start using referenced files (out of disk space on my laptop) and also start archiving projects. One of my plans was to start keeping an off-site backup of all the originals in case something really bad happened. I'm also going to have on-site backup of projects. But for the off-site originals I would like to have some simple way of finding the photos in case something bad happens, my idea was to simply create a PDF from the list view where I could see the photo and the file path to where it's stored (I plan to store them in simple year-month-day hierarchy).
    The reason why I'm not going to archive the projects off-site is simply the cost, I did a test yesterday and it looks like just storing the originals would be approx 1/3 in size of the projects.
    If someone has a better idea of how to handle this please let me knoe

    I'll try to explain.
    About the cost: Hard disk space is really cheap and I can not see how the cost should be that expensive. This is based on your statement that you still have your images on your laptop and that itself limits the amount of space hence a rather small library.
    When it comes to backing up your projects you have several options. First, if you really want to be cheap about hard disk space (I think you should not since your images really are priceless) you can export projects of your referenced images and not consolidate the images into the exported project. Not to consolidate vs. consolidate images on export really makes a difference in the exported project size. On the other hand, not consolidate images on export of a project makes you back up your images separately, which leads to more work.
    My advice is then; buy two disks (preferable three disks), and export your projects with the images consolidated into one of them and start using the other one with your referenced images.
    I always advice users to have their images in at least three different locations and IMHO the ideal solution for you would be to have your images referenced on one disk and mirrored backups on the other two disks, either one stored in two different locations in case of burglary, fire etc.
    Regards
    Paul K

  • Table or function module from for complete physical file path?

    Hi All,
    I know the Logical file and Logical path name, i can see the complete path also from logical path name i.e. the physical file address through transaction FILE, e.g. /USR/TMP/ , but i want to display this path in one of the report output,
    so please help me with the table or the function module which can give me the complete physical file path.
    I checked the the table ADMI_FILES but it contains the file name or the Logical path name but the complete physical file address e.g /USR/TMP?, like this is not available. More over i tried function module file_get_name, still the physical address is not correct one, it is giving same address for all logical paths.
    Kindly Guide me for this
    Regards,
    Nikesh Kumar

    try sth like this:
        CALL FUNCTION 'FILE_GET_NAME_AND_LOGICAL_PATH'
          EXPORTING
            LOGICAL_FILENAME = LDS_NAME
                IMPORTING
            FILE_NAME        = sfile
            LOGICAL_PATH     = pth
          EXCEPTIONS
            FILE_NOT_FOUND   = 01.
        IF SY-SUBRC NE 0.
          MESSAGE E300(BD) WITH LDS_NAME.                         " TODO MG
        ENDIF.
                                                                                    SELECT single PATHEXTERN FROM path INTO expth
               where pathintern = pth.
        replace '<FILENAME>' with space into expth.
        concatenate expth '/' sfile into sfile.
        open dataset sfile for output in text mode encoding default.
    A.

Maybe you are looking for