Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have written a little app, which makes use of the ECMA client OM. I need to access from a site-collection "/sites/subsite" a list, which is located on the site-collection "/".

However, this shows a security-validation error.

Is there any way to work around this problem - without disabling security-validation for the web-application?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

You'll need to manually use the web services on the client side, perhaps using SPServices, to interact with the site collection, to get to the data you require.

share|improve this answer
    
That sucks. What's a client OM good for, if I have to do everything by hand :( –  nyn3x Oct 13 '11 at 13:00
    
That is the default security behavior. You can't do anything about it. –  NLV Oct 14 '11 at 8:34
    
Client OM's widest use is within the same site collection, as that is the context of most users. –  James Love Oct 14 '11 at 8:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.