Testing File reference - Load From Path Error

Testing File reference - Load From Path Error

Comments

  • Hello, I am working with on the File Reference example and when I add a path and file name I am getting and exception error saying the file cannot be found. I confirmed the directory rights and the file path + file name. Not sure what else to look for.

  • Peanut Peanut Fairest of Them All,

    Theres a difference between using the file upload on a form and grabbing file data from that vs loading from a path.

    When you load a file using the Upload File component on a form, Decisions has a reference to it and so the Load from File Data step works no problem.

    When you give it a file path to load from, that path is relative to the app server, not your local computer. Even though you are uploading the file from the same place, the Upload File component is not acting relative to the app server, but rather your local setup.

    If you were able to add a document in the Studio and it can be downloaded and viewed, then you should not need to change anything setup wise. You just need to be thinking in terms of what the app server has access to.

Sign In or Register to comment.