Forum Discussion
Audi86
Aug 25, 2022Brass Contributor
Converting code to run on single item by disabling for loop
hi, Below i have a chunk of code which is running on each item in my SharePoint online classic document library using a for loop. I want to modify it as a test to run on a single ite...
- Aug 26, 2022After line 36 with a if ($ListItem | where id -eq 10) {
Audi86
Aug 26, 2022Brass Contributor
this part is just displaying the results.
i am also suggested by someone to try using
$ListItem | where id -eq 10
but not sure how to put it or use it in my case
i am also suggested by someone to try using
$ListItem | where id -eq 10
but not sure how to put it or use it in my case
Aug 26, 2022
After line 36 with a if ($ListItem | where id -eq 10) {
- Aug 29, 2022Good to hear 🙂
- Audi86Aug 29, 2022Brass ContributorHarm_Veenstra
that worked! thanks