You are viewing limited content. For full access, please sign in.

Question

Question

How to build a file upload path from a Collection in Forms?

asked on May 23, 2022

So I am trying to simplify a process I have currently and being able to do everything in a Collection would be a dream. I've seen the [ROW()] info but it doesn't seem to actually work where I need it to.

[ROW()] works flawlessly on the name of the File Upload but just descends into madness on the File Upload path. If I try to do it with tokens for each section I end up getting folders named after every item in the field, if I have a workflow build the path and add it as a field in the collection it breaks and then suddenly I have a folder path that has each individual word as it's own folder with the next word nestled inside.

I would love some help on this because I keep looking it up and just keep finding "Use [ROW()] !" but it doesn't seem to work for me.

Below are examples of what's happening. The first is using \{/dataset/Are_we_testing_this_process_}\HR\Northern Valley Indian Health Employee Files\{/dataset/Where_should_these_Employee_Files_be_stored_} Files\{/dataset/Full_Name}\{/dataset/Documents_Import_Section/Catagories[ROW()]}\{/dataset/Documents_Import_Section/Document_Type[ROW()]}\ in the File Upload Path and the second when I used a token passed to the form from Workflow, \{/dataset/Are_we_testing_this_process_}\{/dataset/Documents_Import_Section/File_Location[ROW()]}

2022-05-23 16_43_34-Window.png
2022-05-23 16_49_56-Window.png
0 0

Replies

replied on May 24, 2022

What version of Forms are you using? The “[Row()]” used in file upload path for save to repository service task is supported since Forms 10.4.3(https://support.laserfiche.com/kb/1014114/list-of-changes-for-laserfiche-forms-10-4-3):

  • Added support for using the row() function in the Path attribute of a Save To Repository task. (184212)

I checked with Forms 11 with a simple form as following:

And set the path for the files inside collation with "\{/dataset/_bp_process_name}\{/dataset/Collection/Single_Line[ROW()]}\" in the save to repository servive task properties.

The folders the save to repository service task created are as following:

0 0
replied on May 24, 2022

How do I check my forms version?

0 0
replied on May 24, 2022

@████████ click your name in the top-right while in Forms, then click "About" and the version will be listed at the bottom of the pop up window.

2 0
replied on May 24, 2022

There we go, 10.4.1, getting ahold of my VAR for an update

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.