I am trying to upload the files from local folde into the sharepoint folder.
Under microsoft 365 scope activity, I have used for each activity, Argument type as System.collections.Generic.IEnumerable<UiPath.Platform.ResourceHandling.IResource>
Then Used Upload files of microsoft 365 scope activity under For each.
Please check the screenshot Facing the issue on For Each Type
I have changed the variable.
Now I am getting error on upload file activty from Files. Do i need to change argument type in the for each here please guide me.
Use Assign activity, to store the files. Variable type array of string
2.use for each dont change any argument, just check whether argument type is string or not.
if not change to string.
3.Use upload file activity
4.Click on + icon of file(s) section
That would be static solution with fixed number of files. Mine will be a dynamic one. If change in the number of file, won’t require any code change but whatever works for you is the best.