Posts

Issue using SharePoint DateTime Control in custom webpart

Image
Creating a custom web part in SharePoint and use SharePoint's DateTime control but DateTime frame/popup is not working properly i.e. design , font and css etc. Resolution : Use below code in page load event:- dtpInvoiceDate.DatePickerFrameUrl = SPContext .Current.Web.ServerRelativeUrl + "/_layouts/iframe.aspx" ;

SharePoint Install/Uninstall SP Solution delay

Open  stsadm  and run following command:- stsadm -o execadmsvcjobs

Deny User or group access to the Web Application

Perfect Solution http://sharepointtechie.blogspot.com/2010/10/deny-users-access-on-entire-portal-web.html 

Disabling the threshold for SharePoint List and Document Library

$web = Get-SPWeb -Identity http://site $web.AllowUnsafeUpdates = $true $list = $web.Lists["ListName"] $list.EnableThrottling = $false $list.Update() $web.AllowUnsafeUpdates = $false $list.EnableThrottling $web.Update() $web.Dispose()

Sharepoint - how to set permission level from Nintex to add/edit item

Problem: The form cannot be submitted to the specified SharePoint list or document library. The SharePoint location may be read-only or you may not have permissions to access it. OR  The workflow could not update the item, possibly because one or more columns for the item require a different type of information. Solution: Go to the List Settings then Advanced Settings and then set /verify options for Read Access / Edit Access.

Get the passphrase in SharePoint 2010

Image
Run following commands in SharePoint Power Shell: $passphrase = ConvertTo-SecureString -asPlainText -Force Set-SPPassPhrase -PassPhrase $passphrase -Confirm

SharePoint Enable Audit Logs

Open SharePoint Power Shell, run following commands: $site=Get-SPSite http://sitecollection $site.Audit.AuditFlags = [Microsoft.SharePoint.SPAuditMaskType]::All $site.Audit.Update(); SPAuditMaskType: None No events or actions. CheckOut Check out of the object. CheckIn Check in of the object. View Viewing of the object by a user. Delete Deletion of the object. Update Update of the object. ProfileChange Change of a profile. ChildDelete Deletion of one of the object's child objects. SchemaChange Change of the object's schema. SecurityChange Change in a security configuration for the object. Undelete Reversal of the deletion of the object. Workflow Use of the object in a workflow task. Copy Copyi...