IResource型変数のBrowse for Typesの設定方法

こんにちは
UiPath Studio 2025.0.161STS Community editionのユーザーです。

1.やりたいこと

CSVに書き込みアクティビティで、dt_inputをCSVファイルに出力したい。

2.悩んでいること

CSVに書き込みアクティビティの、「リソースCSVファイル」は、IResource型という特殊な変数型のようです。

2点ご教示ください。

1.「リソースCSVファイル」はCSVファイルのファイルパスという認識ですが合ってますか?
2.IResource型の変数パネルでのBrowse for Typesの設定方法をご教示ください。

Did you try the “Write CSV” activity?

Hi @sudster Thank you for your reply!
Since I am accustomed to use the modern activity, I did not notice the classic “Write CSV” activity.
As you suggested, it seems easier to use the classic “Write CSV” activity.
Hope to hear the exact answer to my queston.

Hi @gorby

If you have path string (Output path ex: "Data\output.csv")
Make sure to pass it in FilePath

Hope this helps from side!
Happy Automation :innocent:

@gorby

Latest improvements included Iresource as the way to specify files

you can use like this LocalResource.FromPath("Your Path Here") …this can be used in the file field

cheers

1 Like

Hi, @Anil_G, Thank you for your information!
BTW, What is Iresource?

1 Like

@gorby

It is a type of class/inferface to handle files..in cross platform automations referencing file with direct path is not possible as the paths would be different so there this would be helpful

Cheers

Hi, @Anil_G, Thank you for your information!
One more question for you!
When I use AppendWriteCSV activity, should I place original CSV file at the destination?

1 Like

@gorby

In any case when you write or append the actual csv file location is what you need to use

Cheers

Dear my countable @Anil_G ,
Sorry, you misunderstood my intention…
I could not make csv file using AppendWriteCSV activity when I did not put dummy csv file at destination file path. This behavior was diiferent from the classic Write CSV activity. Therefore, I understood dummy CSV file is mandatory to put at destination file path in case of AppendWriteCSV activity unlike the classic Write CSV activity..
Is my understanding correct?
I believe you can show me the exact answer on the dot.

Cheers with my chai!

@gorby

append csv is never directly can create a file and yes you are correct with append csv .

Write csv is different even in modern you have write csv which behaves same as classic which creates the file if not existing

old append csv activity is deprecated now

cheers

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