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.
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions