0

Is there any possibility to retrive data which is in ../_layouts/15/storman.aspx ?

The way which mentioned below is not what I need. I need to learn folders size, % of Parent and Last Modified dates.

var context = new SP.ClientContext.get_current();
var site = context.get_site();
context.load(site,'Usage');  
context.executeQueryAsync(
    function() {
        var siteUsageInfo = site.get_usage();                   
        console.log(siteUsageInfo.get_storage());          
        console.log(siteUsageInfo.get());             
    },
    function(sender,args){
    console.log(args.get_message());
    }
);

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.