Pulling links to all documents that have a column "XXXX" in sharepoint -


i have site collection in there lot of sites, , each site has number of documents tagged "xxx" in particular column. now, if have pull links documents in site collection tagged "xxx" , display them in list, how go it? mean how start it?

do have knowledge javascript ? because use kind of task...

for example spservices can sites:

$().spservices({   operation: "getallsubwebcollection",   completefunc: function(xdata, status) {     $(xdata.responsexml).find("webs > web").each(function() {       var $node = $(this);       getdocuments( $node.attr("title") );     });   } }); 

then sharepointplus (because syntax easier can still use spservices) can documents:

function getdocuments(site) {   $sp().list("my document list", site).get({fields:"title",where:"my_x0020_column = 'xxx'"}, function(data) {     (var i=data.length; i--;) console.log(data[i].getattribute("title"))   }) } 

of course @ point, instead of console.log should inject link webpage. it's basic example of do.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -