Forum Discussion

Martin_Andersson's avatar
Martin_Andersson
Copper Contributor
May 26, 2022
Solved

No result searching for folder with rest in cloud flow

Hi all   I have a, in my opinion, strange problem. I´m trying to find a folder in SharePoint with a rest call in a cloud flow. When I run the flow the rest call does not find anything, but when I u...
  • Martin_Andersson's avatar
    May 30, 2022
    So, I found a solution

    When using filter on the rest call, ContentType did not work. When I removed it everything worked.

    Changed: "filter=ContentType eq 'Folder' and substringof('@{variables('[Prev Quarter]')}',Title)"

    To: "filter=substringof('@{variables('[Prev Quarter File Prefix]')}',Title)"

    There is still something we need to look at, since "ContentType" is working in our development environment but not i production.

    Regards
    Martin

Resources