kwizcom banner advertisement

How to Disable Alerts in SharePoint

6:34 PM    , , , , , , ,
Event wanted to disable All the alerts in SharePoint environment? While removing Outgoing Email settings in Central Admin is one option, There is an another-proper way, Here is how: How To Disable Alerts in SharePoint 2007 / 2010 / 2013 Run this command: stsadm -o setproperty -propertyname alerts-enabled -propertyvalue false -url http://<Web-APP-URL> To Enable Alerts stsadm -o setproperty -propertyname alerts-enabled -propertyvalue true -url http://<Web-APP-URL> You may need to restart " Windows SharePoint Services timer" or execute stsadm -o execadmsvcjobs once. Ok, How to Disable Alerts in SharePoint 2010/2013 using PowerShell? To disable alerts at web application level, Here is the PowerShell script. $webapp= Get-SPWebApplication "http://your-sharepoint-url" # To disable alerts for SharePoint Web application $webapp.AlertsEnabled = $false $webapp.Update() # To enable alerts in SharePoint Web application $webapp.AlertsEnabled = $true
How to Disable Alerts in SharePoint How to Disable Alerts in SharePoint Reviewed by Salaudeen Rajack on 6:34 PM Rating: 5

Using Log Parser with SharePoint

11:18 PM    , , , , , ,
What is Log parser? Well, as per Microsoft's definition: Log parser is a powerful, versatile tool that provides universal query access to text-based data such as log files, XML files and CSV files, as well as key data sources on the Windows operating system such as the Event Log, the Registry, the file system, and Active Directory. With Log parser, we can analyze the IIS Logs and get info like:      • Number of unique users      • Top IP hits      • What referrers were sending people to my site      • Which pages were most popular      • How much data out     • Which HTTP status codes are being generated , etc Say for example, I would like to retrieve the user information in CSV format for my SharePoint site, from multiple WFEs, I can do by the following query: LogParser -i:W3C "SELECT distinct TO_LOWERCASE(cs-username) As UserName INTO 3319_User_names.csv FROM <IIS LOG FOLDER>,<IS LOG FOLDER of another server> WHERE UserName Is Not Null" -o:CSV
Using Log Parser with SharePoint Using Log Parser with SharePoint Reviewed by Salaudeen Rajack on 11:18 PM Rating: 5

How to Disable Multiple File Upload in SharePoint

3:41 PM    , ,
Had to disable Multiple File Upload in SharePoint to enforce the users to enter mandatory Meta-data.  OK, How to Disable Multiple File Upload in SharePoint? Well, If we want to disable Multiple file upload feature in all SharePoint sites, There are 2 options available for us: Disable client integration Edit the files are mentioned below. (Yes, Its not supported by Microsoft!) Navigate to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES Open the file: DefaultTemplates.ascx Search for: <SharePoint:MenuItemTemplate and then delete the entire node, That is: <SharePoint:MenuItemTemplate     ID="MultipleUpload"     Text="<%$Resources:wss,ToolBarMenuItemMuliUpload%>"     Description="<%$Resources:wss,ToolBarMenuItemMuliUploadDescription%>"     Sequence="200"     ImageUrl="/_layouts/images/MenuUploadMultiple.gif"     HiddenScript="!browseris.ie55up"    
How to Disable Multiple File Upload in SharePoint How to Disable Multiple File Upload in SharePoint Reviewed by Salaudeen Rajack on 3:41 PM Rating: 5

How to Disable SharePoint Designer in SharePoint 2010, MOSS 2007?

3:41 PM    , , , , , ,
How to Disable/Block SharePoint Designer in SharePoint 2010: SharePoint 2010 provides nice/easy feature to Disable the SharePoint Designer at web application level. Here is how: Get into: Central Administration >> Application Management >> Manage Web Applications >>  Select the target web app >> Select "SharePoint Designer" from General settings drop down in Ribbon >> Uncheck the "Enable SharePoint Designer" check box. That's all! You can access the same from: Central administration >> Configure Designer settings >> Configure SharePoint Designer Settings  also! This will stop using SharePoint Designer for every one including Site collection Administrator. Disable SharePoint designer 2010 at Site Collection Level: Don't want to disable SharePoint designer at web application level and for at site collection level? Sure.  Go to Site Actions >> Site settings at the site collection >> click on &q
How to Disable SharePoint Designer in SharePoint 2010, MOSS 2007? How to Disable SharePoint Designer in SharePoint 2010, MOSS 2007? Reviewed by Salaudeen Rajack on 3:41 PM Rating: 5

ViewFormPagesLockDown - Restrict Permission to Application Pages in SharePoint

3:40 PM    , , ,
ViewFormPagesLockDown is a SharePoint Feature (not in WSS) that helps us in: Allows anonymous users to only view the Publishing pages, not any of the form or view pages (DispForm.aspx, AllItems.aspx) Disallows anonymous access to pages in the _layouts directory that inherit from LayoutsPageBase. By default all publishing sites have the feature called ‘ViewFormPagesLockdown’ activated, but not on the Collaboration Portal site or Team sites's definition. Without this Feature active on anonymous public sites, any users - including search engines like Google will be able to view (and crawl) SharePoint out-of-box pages which are tied to lists and webs that allow viewing by anonymous users. Yes, These users might not have the ability to do anything, but you may not want anonymous users to view the form pages. If you want to place your custom application pages inside the _layouts directory, which anonymous users must hit, there's the UnsecuredLayoutsPageBase class you can use
ViewFormPagesLockDown - Restrict Permission to Application Pages in SharePoint ViewFormPagesLockDown - Restrict Permission to Application Pages in SharePoint Reviewed by Salaudeen Rajack on 3:40 PM Rating: 5

Dedicated WFE for Search Crawling

3:03 PM    , , , ,
How to set your SharePoint index server to use a dedicated WFE server for crawling? In our Farm, we are running with 3 WFEs. What I wanted to do is: Let the Search crawler hit and crawl the content from ONLY one WFE rather hitting and degrading the performance of all of the WFEs. So, I went into "Central Administration > Operations > Services on Server > Office SharePoint Server Search" to get into the Search Service Settings. I chose "Use a dedicated web front end computer for crawling" option and chose a WFE from the list. How simple it is...isn't it? In case, If SharePoint does places the WRONG IP of the WFE in the HOST file of Index server, Revert the Search server setting to "Use all web front end computers for crawling" and get into the Index server, Manually place the desired WFE's IP which you wants to act as the dedicated crawl source. Index server's HOST file can be found under: c:\WINDOWS\system32\drivers\etc add
Dedicated WFE for Search Crawling Dedicated WFE for Search Crawling Reviewed by Salaudeen Rajack on 3:03 PM Rating: 5

How to use PowerShell with MOSS 2007?

12:54 PM    , ,
Powershell has become more widely used platform to administer and automate common administrative tasks. Can we use PowerShell with SharePoint 2007? Because I was told PowerShell cmdlets (like Get-SPWeb, Get-SPSite, etc) are designed for SharePoint 2010.  Can we use PowerShell for SharePoint 2007? Of course, You can! As PowerShell allows us to use .NET assemblies, we can use SharePoint objects, properties and their methods as we use object model in C# or any other .Net language. You can use PowerShell to manage SharePoint 2007, but not the cmdlets for SharePoint 2010, as SharePoint 2010 powershell snap-in or cmdlets are incompatible with SharePoint 2007. Getting started powershell in SharePoint 2007: Install PowerShell on SharePoint Servers Set Executing Policy Load necessary SharePoint Assemblies Write PowerShell Code using SharePoint Object Model 1. Install PowerShell on moss 2007 Servers To run PowerShell on MOSS 2007, we must Install it first. If you are running SharePoi
How to use PowerShell with MOSS 2007? How to use PowerShell with MOSS 2007? Reviewed by Salaudeen Rajack on 12:54 PM Rating: 5

Event ID 6398 and 5586 in SharePoint - Resolution

12:13 PM    , , ,
In a SharePoint Implementation, after provisioning Search Service application, Event log gets filled by these two events every minute: 6398 and 5586. Event ID: 5586.    Unknown SQL Exception 2812 occurred. Additional error information from SQL Server is included below. Could not find stored procedure ‘dbo.Search_GetRecentStats’ . Event ID: 6398 The Execute method of job definition Microsoft.Office.Server.Search.Monitoring.HealthStatUpdateJobDefinition (ID 9cb6be54-0384-4c6e-abfc-c2f25621a3ed) threw an exception. More information is included below. Could not find stored procedure ‘dbo.Search_GetRecentStats’. This is because you have the Usage and Health Data Collection Service Application installed. Intern this service application creates a database for logging and Search Service will try to make entries in that database and it couldn’t :-) The solution is:   Enable health data collection. go to "Central Administration >> Monitoring >> Configure u
Event ID 6398 and 5586 in SharePoint - Resolution Event ID 6398 and 5586 in SharePoint - Resolution Reviewed by Salaudeen Rajack on 12:13 PM Rating: 5

Create - Edit - Find - Delete SharePoint Alerts using PowerShell

9:11 PM    , , , ,
Welcome to another PowerShell walk-through. In this article I'm exploring Management of SharePoint Alerts using PowerShell! Enable or disable alerts for Web application ## To enable alerts for Web application $SPwebapp=Get-SPWebApplication "http://SharePointSite.com" $SPwebapp.AlertsEnabled = $true $SPwebapp.Update() # To Disable alerts for a Web application $SPwebapp.AlertsEnabled = $false $SPwebapp.Update() Create Alert in SharePoint using PowerShell ##### Create a New alert for a user ######### $SPsite = Get-SPSite "http://SharePointSite.com" $SPweb=$SPsite.Rootweb $SPlist=$SPweb.lists["Shared documents"] $SPuser = $SPweb.EnsureUser('Domain\Salaudeen') $SPnewAlert = $SPuser.Alerts.Add() $SPnewAlert.Title = "My Custom Alert" $SPnewAlert.AlertType=[Microsoft.SharePoint.SPAlertType]::List $SPnewAlert.List = $SPlist $SPnewAlert.DeliveryChannels = [Microsoft.SharePoint.SPAlertDeliveryChannels]::Email $SPnewAlert.EventType
Create - Edit - Find - Delete SharePoint Alerts using PowerShell Create - Edit - Find - Delete SharePoint Alerts using PowerShell Reviewed by Salaudeen Rajack on 9:11 PM Rating: 5

'Feature {Guid} for list template 'template id' is not installed in this farm. The operation could not be completed'

5:07 PM    , , , ,
We received the below Error in Site Manager page in SOME of the sites. Here is the RCA and resolution: Root cause: We have installed some third party products, which internally created its Templates(List template, Document Library template, etc) ,we removed those third party products and the objects created with their template are broken now! When we open the site manager it tries to get the custom list template, its icon, etc. and if its broken sitemanager.aspx throws the error. Say for e.g. we have installed the Bamboo solutions video product, created some video libraries, and then uninstalled the product. Now ALL the video libraries are broken because: we’ve uninstalled the product, its wiped out along with its templates J . Resolution: So the solution Is: Either to delete the objects(We have to use either stsadm: stsadm -o forcedeletelist -url http://youdomain/yourListNameThatHasAPloblem/  or SPD to delete the broken objects.) created with custom template or us
'Feature {Guid} for list template 'template id' is not installed in this farm. The operation could not be completed' 'Feature {Guid} for list template 'template id' is not installed in this farm. The operation could not be completed' Reviewed by Salaudeen Rajack on 5:07 PM Rating: 5

List Aggregation/Rollup in SharePoint - Third Party Products

12:44 PM    , , ,
There are many third party products are available to achieve List Aggregation or Roll-up in SharePoint. Here is the comparison table in my View:  Feature Bamboo solutions   SharePoint Boost URL: https://store.bamboosolutions.com/ http://www.boostsolutions.com/listcollection.html Export to Excel/PDF No No Across Sites and Site Collections Yes No. ONLY with in Site collection! Cross Site collection/Sub-sites Yes Yes Filtering/Sorting Yes Yes SharePoint 2010 version   Yes Yes License $995 per WFE + $248 for Support per Year $ 799 per WFE + $400 Support - Per Year   Feature Lightening Tools Kwizcom URL: http://lightningtools.com/pages/lightning-conductor-web-part.aspx http://www.kwizcom.com/sharepoint-add-ons/sharepoint-list-aggregator/overview/ Export to Excel/PDF No Yes Across Sites and Site Collections Yes Yes Cross Site collection/Sub-sites Yes Yes Filtering/Sorting Yes Yes SharePoint 2010 version   Yes Yes License $799 Per WFE $1320 ONE Time per WFE and thei
List Aggregation/Rollup in SharePoint - Third Party Products List Aggregation/Rollup in SharePoint - Third Party Products Reviewed by Salaudeen Rajack on 12:44 PM Rating: 5

Redirect Users to Thank You page from NewForm.aspx after form submission

6:52 PM    , ,
Here is my requirement: I've a SharePoint request tracking system. When users create a new entry, what I want is to redirect them to "Thank you! We have received your request. We will get back to you on this soon!", typical acknowledgement page :-) So, to redirect page after form submission in SharePoint, create a custom NewForm.aspx, hide the default "Ok" and "Cancel" buttons, and then insert the below code: Redirect NewForm EditForm Submit button : <input type="button" value="Submit" name="btnSave" onclick="javascript: {ddwrt:GenFireServerEvent('__commit;__redirect={/sites/marketing/SitePages/thankyou.aspx}')}" /> Change SharePoint Cancel button Redirect: <input name="btnSave" onclick="javascript: {ddwrt:GenFireServerEvent('__redirect={/sites/marketing/SitePages/Home.aspx}')}" type="button" value="Cancel"> Alternate approach: Using So
Redirect Users to Thank You page from NewForm.aspx after form submission Redirect Users to Thank You page from NewForm.aspx after form submission Reviewed by Salaudeen Rajack on 6:52 PM Rating: 5

SharePoint 2010 Service Accounts - Necessary Permissions and Naming Convention Best Practices

1:56 PM    , , , , ,
There are lot of naming conventions/patterns in naming service accounts for SharePoint. Here is mine: Service Accounts Naming Pattern - Best Practice: svc + environment (Such as Dev, Test, Prod) +  SP + account name (keep the service account names to less than 20 characters) SharePoint 2010 Service Accounts List and required Permissions: Account name Role Local Server rights needed svcPrdSPSetup Setup Account - Used to install SharePoint binaries.  Local administrator on all SharePoint boxes (with Remote Login Enabled).  Needs Logon as a service right (GPO) rights. SQL: Explicit dbcreator and securityadmin SQL roles svcPrdSPFarm Farm account. Used for Windows Timer Service, Central Admin and User Profile serve SharePoint Managed Account. Local Administrator on all SharePoint boxes. Needs Logon as a batch job rights (GPO), Log on as a service. DB Access will granted by SharePoint Config Wizard. svcPrdSPAdminPool App pool account for Central Administration application Pool Sh
SharePoint 2010 Service Accounts - Necessary Permissions and Naming Convention Best Practices SharePoint 2010 Service Accounts - Necessary Permissions and Naming Convention Best Practices Reviewed by Salaudeen Rajack on 1:56 PM Rating: 5
Powered by Blogger.