Posts

Showing posts with the label SharePoint

Error InfoPath while publishing customize form

Yesterday, i have faced an error " the soap message cannot be parsed " while publishing InfoPath customized on SharePoint 2013 List. Tried multiple solution. Increase executionTimeout in web.config to 3600 Use Retention Policy to reduce list data. But finally found solution to remove Calculated fields,  then publish  customized InfoPath form  and  it works for me.

Check and clean missing features / objects from the content database

Run command -    test-spcontentdabase , this will provide list of issues. Use this command before migration. Use  http://featureadmin.codeplex.com/  tool useful for removing missing Features and cleaning up the environment. 

SSRS chart does not show all labels on Horizontal axis

http://stackoverflow.com/questions/9692628/ssrs-chart-does-not-show-all-labels-on-horizontal-axis  "Chart Axis" properties set the Interval value to "=1". Then all the labels will be shown.

Add,Remove Links in Top Suitebar (SkyDrive,Sites,NewsFeed) in SharePoint 2013

http://www.learningsharepoint.com/2013/02/10/addremove-links-in-top-suitebar-skydrivesitesnewsfeed-in-sharepoint-2013/

How to: Customize the Document Set Ribbon in SharePoint Server 2010 (ECM)

This is to allow user  to download all contents of document set as zip file rather than download each file individually. https://msdn.microsoft.com/en-us/library/ff512775.aspx 

Audit Log Reports Link Missing

Problem Audit Log Reports Link is missing even though you have enabled Auditing on the site collection. Solution Enable the  Reporting  feature under Site Collection Features.

SharePoint Web Service Cross Domain Ajax Calls

Image
Handling Cross-Domain Ajax Calls,  Internet Explorer (IE) to enable cross-domain access.

Help - How to aggregate ULS logs for Nintex Support

https://community.nintex.com/community/support/blog/2014/10/02/how-to-aggregate-uls-logs-for-nintex-support 

Get entire SharePoint farm webs inventory

function Get-DocInventory() {     [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")     $farm = [Microsoft.SharePoint.Administration.SPFarm]::Local     foreach ($spService in $farm.Services) {         if (!($spService -is [Microsoft.SharePoint.Administration.SPWebService])) {             continue;         }         foreach ($webApp in $spService.WebApplications) {             if ($webApp -is [Microsoft.SharePoint.Administration.SPAdministrationWebApplication]) { continue }             foreach ($site in $webApp.Sites) {                 foreach ($web ...

Apply Rule to Check Day in Nintex Workflow

Please visit: https://community.nintex.com/thread/1417  contains(formatDate( currentdate ,"D"),"Sunday")

Error in request approval action. Could not find stored procedure 'SetHumanWorkflowApproversMetadata_SystemUpdate'

The solution is to run database update for Nintex Workflow in SharePoint Central Administration

SPSecurityTrimmedControl or "How to hide stuff from people"

Useful attributes of the control: PermissionContext  - against which user permissions will be tested (possible values: CurrentSite, CurrentList, CurrentFolder, CurrentItem or RootSite) PemissionMode -  does the user have to meet all role definitions or just one of them (possible values: All or Any) PermissionsString -  what permissions does the user need to see the content - can enter some values separated by comma (possible values are from the enumeration SPBasePermissions: EmptyMask,ViewListItems,AddListItems,EditListItems,DeleteListItems,ApproveItems,OpenItems,ViewVersions, DeleteVersions,CancelCheckout,ManagePersonalViews,ManageLists,ViewFormPages,Open,ViewPages, AddAndCustomizePages, ApplyThemeAndBorder,ApplyStyleSheets,ViewUsageData,CreateSSCSite, ManageSubwebs,CreateGroups,  ManagePermissions,BrowseDirectories,BrowseUserInfo,AddDelPrivateWebParts, UpdatePersonalWebParts,ManageWeb,  UseClientIntegration,UseRemoteAPIs,ManageAlerts...

Cannot start service SPAdminV4 on computer '.'

Error: Failed to upgrade SharePoint Products. An exception of type System.InvalidOperationException was thrown.  Additional exception information: Cannot start service SPAdminV4 on computer '.'. System.InvalidOperationException: Cannot start service SPAdminV4 on computer '.'. ---> System.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion    --- End of inner exception stack trace ---    at System.ServiceProcess.ServiceController.Start(String[] args)    at Microsoft.SharePoint.PostSetupConfiguration.ServiceHelper.Start(String serviceName)    at Microsoft.SharePoint.PostSetupConfiguration.ServiceHelper.TryToStartService(String serviceName, Boolean autostart, Boolean throwOnFailure)    at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()    at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask() Resolution: http...

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 

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...

SharePoint Feature Element Scope

Farm   - this means that the feature will be available on the farm level. You be able to activate it from Central Administration > Operations > Manage Farm Features. WebApplication  - this means that the feature will be available on all web applications. You will be able to activate this from Central Administration > Application Management > Manage Web Application Features Web  - this means that the feature will be available on the web's site level. You will be able to activate this from Site Settings > Site Features Site  - this means that the feature will be available on all site collections. You will be able to activate this from Site Settings > Site Collection Features

SharePoint Page Webpart Maintenance Mode

http://site/Pages/default.aspx  you need to append the above URL with a ?Contents=1 query string parameter like this: http://site/Pages/default.aspx? contents=1

Restore a Deleted Site Collection

1.         1.    Run Get-SPdeletedsite from PowerShell. You will see your site collection here with Site ID 2.        2 .  Then run Restore-SPDeletedSite –Identity “XXXXXXXX-XXXX-XXXXX-XXXX-XXXXXXXXXXXX”