FormsFieldCollection Container Elements

Anyway to get a the string of a ‘browse for folder’ in a container using the forms field. I am looking for a clean solution and I dont want to use JSON.

What is the punctuation I am missing here?

Hi @rpadev77

  1. Add a ‘Form’ activity to your automation sequence.
  2. In the ‘Form’ activity properties, click on the ‘Create Form’ button to define the form fields.
  3. Add a ‘Folder Picker’ field to the form by clicking on the ‘Add Field’ button and selecting ‘Folder Picker’ from the dropdown.
  4. Specify the desired label for the ‘Folder Picker’ field.
  5. Add a ‘Set Field’ activity after the ‘Form’ activity to assign the selected folder path to a variable.
  6. In the ‘Set Field’ activity properties, set the ‘Value’ field to the following expression: YourFormName.YourFolderPickerFieldName.SelectedFolderReplace ‘YourFormName’ with the name you assigned to the form and ‘YourFolderPickerFieldName’ with the name you assigned to the ‘Folder Picker’ field.
  7. Add a ‘Message Box’ activity or any other activity to display the selected folder path using the variable you assigned in the ‘Set Field’ activity.
  8. Save and run the automation.

Hope it helps!!


Doesnt work.

Send me a xaml

Does anybody know the correct punctuation for a form element within a container through the FormsFieldsCollection?