Timeline for Most efficient way of querying sites by a parameter in their url
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 17, 2016 at 12:18 | vote | accept | LeonidasFett | ||
Dec 6, 2016 at 14:26 | comment | added | LeonidasFett | no problem dude. I wasn't bummed or anything. :) | |
Dec 5, 2016 at 9:25 | comment | added | Mohamed El-Qassas MVP♦ | Hi @LeonidasFett , you didn't mention in your question that you knew this !!!! No problem, I only tried to help you , but I would like to tell you that any comparison criteria based on a specific value will require a looping specifically in your case, you tried to check if all site URL have a specific value or not so you should loop for all sites list, where i introduced a two method with contain function or with last part in your URL.so it should be efficient way because it achieve your target meanwhile it dispose the web and site object , Hope to find another efficient way,Good Luck! | |
Dec 5, 2016 at 8:56 | comment | added | LeonidasFett | I already knew that you could iterate through sites and webs. But I thought that maybe there was a more efficient way as this essentially retrieves all webs before determining whether those webs actually satisfy given parameters. | |
Dec 2, 2016 at 19:08 | history | answered | Mohamed El-Qassas MVP♦ | CC BY-SA 3.0 |