show / hide menu

GridGetFileName and GridSetFileName

GridGetFileName

GridGetFileName() function is used to get the file name from the file upload control inside a dynamic grid. Here we are illustrating how to achieve this scenario.
Drag and drop a dynamic grid control and configure it with a data source.

Now in the form drag and drop a button control and text box. So on the trigger of this button the file name should be passed on to the text box.

GridGetFileName Syntax

Write a rule as follows to achieve the scenario

On the form preview upload an image to the file control, and click the button to fetch the file name.

GridSetFileName

GridSetFileName() function is used to set a new file name for the file uploaded.
Drag and drop a button control. On the trigger of this button control write a rule to set a new file name.

Syntax of GridSetFileName is,

Form Preview