PowerShell \ Add Group to Sites Permissions
$web=Get-SPWeb "https://portal/PWA/Subweb" $group=$web.SiteGroups["Groupname"] $roleAssignment=New-Object Microsoft.SharePoint.SPRoleAssignment($group) $roleDefinition=$web.RoleDefinitions["Read"]...
View Articlesharepoint 2013 page content using snippets
Hi guys, i currently on doing web site on sharepoint 2013. i am at stage of creating pagelayout to allow user to edit the content. to do that, i used snippet to create dynamic page content.however, now...
View Articlealtering Author, Editor, etc. office 365 specific
I have seen examples out there where using CSOM you can do something like:User usr = ctx.Web.SiteUsers.GetByEmail("person@domain.com"); ctx.Load(usr); ctx.ExecuteQuery(); Folder fldr =...
View ArticleSharepoint 2013 hidden ribbon
Hi Guys,I hope you can help me out with this one. We recently migrated to SharePoint 2013. In the previous version 2010 the ribben was displayed by default. Now you only see the: browse, items, etc.....
View ArticleSharePoint Access App Filter default list view
I am using SharePoint access App and I have bind the left filter with Title field. By default, the list shows all the data including blank title. I want to filter the default list to show data only...
View ArticleLocal term set for a site collection
Hi guys,I need to create a term set which allows only for a specific site collection (e.g. HR). It seems like that for this I can create a local term set for the SC but know I am aware about the issue...
View ArticleShow tasks rollup web part on the MySites home page
While the Tasks link is nice on the users quick links it doesnt indicate whether they have any to react to unless they click it, we would like to display the active task list on the default mySites...
View Articleasp.net error page on Feature Activation
I'm having a problem activating a feature I have written and installed. This feature should create a timer job when activated, the timer job simply queries a list and sends emails where applicable.I am...
View ArticleColumn Default Value Settings is Missing
<header> </header>I've used Column Default Value Settings in SharePoint Online before and it is still there as a feature on my own instance. However, I just logged onto a client's...
View ArticleSharePoint 2013 - Approve a documentSet or folder using REST
Hello,i have a document library in which the content approval is enabled. Inside it, once i create a documentSet, the ModerationStatus is pending (which is normal).So i'm trying to change this status...
View ArticleCreating FBA user from the timer job
Hi,I'm trying to create FBA users from the timer job,The code to it:MembershipCreateStatus createStatus; MembershipUser user = Membership.CreateUser(strUserID, strPassword, strEmail, "Test Question",...
View ArticleCheck if user exists in SharePoint group using powershell
Hi,I am adding the users to the SharePoint group as below$user = $web.Site.RootWeb.EnsureUser($username)$ownerGroup = $web.SiteGroups["groupname"]$ownerGroup.AddUser($user)But i want to test if user is...
View ArticleInvalid field name. {9da97a8a-1da5-4a77-98d3-4bc10456e700}
I have a publishing web. When I try to create add new page I am getting the errorInvalid field name. {9da97a8a-1da5-4a77-98d3-4bc10456e700} /Pages" This is pointing to Pages Library. Please refer the...
View Article(Library) List column does not show on edit form of content type
I created a custom list (document library) in which I use Custom (site) content types. In the list I also created a custom field "Approved". So when I edit the properties of an uploaded document I want...
View ArticlePeople Search Results Display Templates given no results on Custom Managed...
I have created a people search results web page that displays with several custom managed properties, two custom properties will not display in the people search results web page but all others will...
View ArticleShare list with subsites and other web applications
I know this has been asked before, and I know this can be done with a dataview webpart on a page. I need to share a list throughout my site collection(s) and use them not only for viewing purposes in a...
View ArticleSet webpart zones in horizontal mode
I need to set two webpartzones in Horzontal way (side by side) and the third zone at the bottom of these two Zones. I need help in getting the webpart zones aligned horizontally. I used Designer...
View ArticleProgrammatically created calendar view does not appear on view selector menu
Hi!I'm using the following code to create a calendar view for a list:using (var site = new SPSite("http://localhost")) { var viewFields = new System.Collections.Specialized.StringCollection {...
View ArticlePower shell script not generating logs
Hi,I have written a power shell script to add users into the SharePoint group as belowNeed to log if any user is not found butOnly file is getting created in the path without logging if any user is not...
View Article