Forum Discussion

pfurbish's avatar
pfurbish
Frequent Visitor
6 years ago
Solved

Bug: Folder.Content exception

A SharePoint Folder.Content operation is throwing an exception. The query has been working for many months.  Recently, additional sub-folders were added to the root folder and now the query fails.  B...
  • pfurbish's avatar
    6 years ago

    I figure this out. 

     

    Folder.contents will crash if the results contains a folder name with a "&".  I'm assuming an "&" in a file name will also cause a crash.