Posts

Showing posts from September, 2017

SharePoint 2013 Increase List Title column width using jQuery

http://www.enjoysharepoint.com/Articles/Details/sharepoint-2013-increase-list-title-column-width-using-jquery-21198.aspx

Create simple custom lookup picker in "Hyperlink or Picture" Column

http://aaclage.blogspot.com/2013/10/create-simple-custom-lookup-picker-in.html

Configure Variations Feature in SharePoint 2013 - Step by Step

http://www.sharepointdiary.com/2015/10/configure-variations-feature-in-sharepoint-2013-step-by-step.html

Cannot delete content type - possibly because it's referenced in SharePoint's UI

https://sharepoint.stackexchange.com/questions/134128/cannot-delete-content-type-possibly-because-its-referenced-in-sharepoints-ui The content type was added to the available content types for your Pages Library. Go to  Pages > Library ribbon > Library settings > Content types section . Click on the content type name there and then delete. That will remove it from the Pages library. Then you can go into Site Settings > Content Types and delete it there.

Reset List Item ID in SharePoint 2013 List

SELECT * FROM [WSS_Content].[dbo].[AllListsAux] where ListID='listGuid' UPDATE [WSS_Content].dbo.AllListsAux set NextAvailableId=1 where ListID='listGuid'

SharePoint 2013 Workflow Mode Configuration

https://collab365.community/configuring-sharepoint-2013-to-support-workflow-management/ # sharepoint   # Workflow2013   # Configuration SharePoint 2013 Workflow Mode Configuration 1) Check status  http://envsp2016:9999/_admin/WorkflowServiceStatus.aspx 2) install the web Platform Installer 3) Install the Workflow Manager 1.0 3.1) Workflow Manager 1.0 cumulative update 3 3.2) Workflow Manager Client 1.0 cumulative update 3 3.3) service bus 1.0 3.4) service bus 1.0 update 1 4) Install Service Bus 1.0 Cumulative Update 1 5) Install Workflow Manager 1.0 Cumulative Update 3 6) IISRESET 7) get-command *register* to check whether SPWorkflowService is available or not 8) Add-PSSnapin "Microsoft.SharePoint.PowerShell" if not available 9) Register-SPWorkflowService -SPSite "http://envsp16/sites/Training/" -WorkflowHostUri "http://loc alhost:12291" –AllowOAuthHttp -force 10) http://envsp2016:9999/_admin/WorkflowServiceStatus.aspx check

How to Create an Auto-Incrementing Number Field in a SharePoint List

Auto-numbering is a common requirement when working with SharePoint lists. You may want an auto-incrementing number on Issues list items such as “ISS-001” and so on. If you try using calculated column with ID field and entered a formula such as = (“ISS-00” & [ID]), this won’t work for new items! The reason being ID field is filled ONLY after the item is created. Here are the steps to create an auto-incrementing number field in a SharePoint list designer workflow: Create a new column, such as :  Increment Number  in issue list with Number type. Make this column hidden in a view. Create another column, such as :  Issue No.  in issue list with Formula type and add the following formula = “ISS-00” & [ Increment Number ]. This Column will show the increment items’ numbers in the list. Open SharePoint designer, create new list workflow (for issues list). Add a workflow action: “Update list Item” >> Current Item >> Add >> Set this field to your Target field

How to Hide fields of list on customized Disp/Edit/newForm.aspx in SharePoint 2013

$web = Get-SPWeb "sitename" $list = $web.Lists["listname"] $f = $list.Fields.GetFieldByInternalName("fieldname") $f.ShowInDisplayForm = $false $f.ShowInEditForm = $false $f.ShowInDisplayForm = $false $f.ShowInNewForm = $false; $f.Update() https://social.msdn.microsoft.com/Forums/office/en-US/a62c6ff4-f079-4b4a-bee6-49d646cd7f4a/how-to-hide-fields-on-customized-dispformaspx-in-sharepoint-2010?forum=sharepointdevelopmentprevious

show only the year field in Sharepoint date and time(Today)

= CONCATENATE ( YEAR ([ Created ])) https://stackoverflow.com/questions/19955643/how-to-show-only-the-year-field-in-sharepoint-date-and-timetoday