How does opening/saving a file work once robot is deployed?

Hi all,

Just wondering how interaction with files will work on different machines once a robot has been deployed. For example, if you want to read a text file you must provide a local path. How can you ensure that this function works properly on a different machine where the name of the user may be different?


Hi @Hoang

We usually use a config file to handle this. An example can be found in REFramework template which can be generated through studio.

We use the config file to hold the values that tend to change time to time. Or else, we can also use a orchestrator asset to hold such values. This way, we just need tocm change the value, and no code change is required

1 Like

Thanks @Lahiru.Fernando, it would make sense to store the local path as an asset on orchestrator which can be changed easily.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.