Articles → UIPATH → Initallsettings.Xaml File In Reframework In Uipath
Initallsettings.Xaml File In Reframework In Uipath
Arguments In Initallsettings.Xaml File
Click to Enlarge
- in_ConfigFile → This argument contains the path of the config file
- in_ConfigSheets → This argument is a string array that contains the name of the first 2 sheets of the config file
- out_Config → This is an output argument of type dictionary. This argument contains the list of name-value pairs from all the 3 sheets of the config file
High-Level Flow Of The Initallsettings.Xaml File
- Initialize the output argument "out_Config"
- Read all the values in the first 2 sheets i.e., "Settings" and "Constants" and assign it to the "out_Config" argument
- Read the name of the assets from the third sheet i.e., "Assets" and get the value of assets from the orchestrator and assign it to the "out_Config" argument
Click to Enlarge
Read Data From The Settings And Constants Sheet
- Loop through the string array "in_ConfigSheets"
- Read the sheet using the "Read Range" activity and assign the value in the data table
- Loop through all the rows in the data table and assign the value to the "out_Config" arguments
Click to Enlarge
Read Data From The Assets Sheet
- Read the sheet using the "Read Range" activity and assign it to the data table
- Loop through the rows in the data table
- For each name in the row, get the value from the orchestrator
- Assign the Name and Value to the "out_Config" argument
Click to Enlarge