hi, I am using Box Integration Activities. For Download File Activity output parameter contains (IResource) Data Type. I cant give FilePath as String. I Updated My Packages Also.
I used Path Exists Activity to get value in form of IResource. But it gave in the form of ILocalResouce.
So How to covert It into IResouce.
Thanks
Yoichi
(Yoichi)
December 6, 2022, 8:04am
2
Hi,
As File Resource property is out type, we can set new variable to it (using ctrl+K), i think.
If you need to set local folder, Folder property will work.
Regards,
Hi @Yoichi ,
I am using UiPath.Box.IntegrationService.Activities Package. For me its different.
I want to give local file Path to it. Don’t Know how
Can you tell me which box package are you using?
Yoichi
(Yoichi)
December 6, 2022, 8:26am
4
Hi,
It’s Box.IntegrationService 4.0.3 on Studio 22.4.6 - Windows project.
So if you use 22.10.x, can you try to use it in Windows-Legacy project, for now?
Regards,
1 Like
Hi @RpaNoobMax , did you manage to get this resolved? I am also facing the same issue. Please let me know the solution, if you have. Thanks in advance
SenzoD
(Senzo Dlomo)
May 23, 2023, 1:56pm
6
Hi There,
To get the fullpath from iLocal variable type, take your output varibale and add .LocalPath
example: iLocalVariable.LocalPath
Or if you just want the file name use the .FullName
example: iLocalVariable.FullName
2 Likes
You can use below function to convert the File into LocalResource
LocalResource.FromPath(“C:\Users\niranjan\Downloads\[Untitled].pdf”)
1 Like