Olá,
Usando Client Object Model - CSOM no sharepoint 2010 levo erro ao usar a página com o csom para usuário com permissão apenas de leitura no site.
O erro acontece para o código abaixo:
function CarregarSites() {
var clientContext = new SP.ClientContext("/Site");
this.webSubs = clientContext.get_web().get_webs();
clientContext.load(this.webSubs, 'Include(Title, ServerRelativeUrl,Description)');
clientContext.executeQueryAsync(Function.createDelegate(this, this.onQueryWebSubsSucceeded), Function.createDelegate(this, this.onQueryWebSubsFailed));
}
Alguém sabe como resolver isto?
Obrigado
Analista de Sistemas desde 2010 - Analista de Sistemas Sênior
Se não for para compartilhar o conhecimento, não tem graça então