Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: SPDisplayRelatedInfo not working on items in folders

Hi Mac, No Problem, Nothing that sophisticated, I probably should have explained myself a little better, I only had a few mins to get it working so i used the SPDisplayRelatedInfo that I already had, then added an on complete function that would detect if related info was found, if not it would run another function that would perform a CAML query using $().SPServices to find an image with an ID that was selected in the lookup dropdown, that’s where I used the:
CAMLQueryOptions: "<QueryOptions><ViewAttributes Scope='RecursiveAll' /></QueryOptions>" to have the query find all items, even ones in sub folders.

Im happy to go into a bit more detail, its not the cleanest solution but it seems to work OK.  

 

Cheers
Aaron


Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>