cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
espan88
Helper I
Helper I

Get file (properties only) after ODATA filtering and retrieving FullPath from output

Hello Everyone,

I wanted to extract FullPath string from ODATA filtered Get files (properties only) script:Get files (properties only) with ODATA filteringGet files (properties only) with ODATA filteringGet files (properties only) outputGet files (properties only) output

 I wanted to save FullPath (green box) of this folder under variable preferably. 

Any ideas?

 

Kind regards,

1 ACCEPTED SOLUTION

Accepted Solutions
chasestreetdev
Helper II
Helper II

Even if you only have one file returned by Get files (properties only), it'll return in the form of an array. So you need to loop through that array to set FullPath. Use apply to each. It'll look something like this:

chasestreetdev_0-1618353865902.png

 

 

View solution in original post

2 REPLIES 2
chasestreetdev
Helper II
Helper II

Even if you only have one file returned by Get files (properties only), it'll return in the form of an array. So you need to loop through that array to set FullPath. Use apply to each. It'll look something like this:

chasestreetdev_0-1618353865902.png

 

 

espan88
Helper I
Helper I

Thank you @chasestreetdev !

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (4,006)