Single quotes in find files and folder

I’m using Find files & folder activity, query to search is neha O’Kumari at SharePoint. But BOT is failing to recognize it.

Hi @Neha_Kumari2 ,

Welcome to UiPath Community.

In UiPath, single quotes can be tricky to handle in the Find Files & Folder activity. To properly search for “neha O’Kumari” in SharePoint, you can try using double quotes instead, like “neha O”“Kumari”. This should help the BOT recognize the query correctly and avoid any failures.

Thanks,

@Neha_Kumari2

check the reference

Hi @Neha_Kumari2

May be there is issue with double quote in the neha O’Kumari, instead of this use below,

"neha O'Kumari"

Hope it helps!!

Not working any of these solution
@Krishna_Raj
@RajKumar_DC

What is the error it was throwing…? @Neha_Kumari2

I’m not getting any error but I’m not getting the output: - Drive item(0)

Try by giving the below with out double quotes.

neha O'Kumari

Check the file or folder exist in SharePoint manually and take the exact name of it and try… @Neha_Kumari2

yes im tetsing with the exact name from sharepoint

Hi @Neha_Kumari2 ,

Use like this

image

“neha O”+"'"+“Kumari”

Thanks,

No Working:- “Neha O”+“'”+“Kumari”

we would recommend to check out at Sharepoint level the web address for this folder

  • could be without a single quote
  • could be with entity code, char coded

also, we would try to escape the single quote

@ppr solution is :- Use “Find Files/Folders” and in query send folder name until before single quotes alone and then use an for each to loop though each item to get the folder details.

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