TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Murali Kris
1.5k
254
48.1k
How to load WebTemplate
Jan 29 2018 9:02 AM
Hi ,
error: Filed or Property "WebTemplate" DoesNot exist.
How to load web template for a give site please find below script
sitecontext.Load(owebsite,w=>w.AssociatedOwnerGroup,w=>w.WebTemplate);
sitecontext.ExecuteQuery();
Console.WriteLine(owebsite.AssociatedOwnerGroup.OwnerTitle);
The above line i can able to load site assosciatedOwnerGrop alone, but i tyied different ways i cant abe to load webtemplate.
error: Filed or Property "WebTemplate" DoesNot exist.
Note: I can load AssociateOwnerGrop, but i cant load webtemplate.
please help me here to load webtemplate using c# for SP2010 sites.
Thanks
Murali
Reply
Answers (
2
)
Get list of all users and sites they are following
number of views for a post and name of users who viewed it