2

Is is possible to access the current user's "My site" and "My Content" using the ecmascript client OM? Specifically I'm looking to create a custom list, that is specific to each user, and wanted to leverage the My Content feature. I need to be able to access this list using the ecmascript client om.

2

I've tried similar things and had problems before (think they were permissions related).

If you just want to 'get' data, and are handy with jQuery, use something like SPServices for jQuery to grab the data from your MySite. You can get the MySite host using jQuery. You'll also need to get the Url to your MySite (relative to the host). I do have code for this somewhere, but you can also find it if you google about a bit. You basically need to access the UserProfile Web Service, pass in the current username, and retrieve the PersonalSite property.

Your Answer

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

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