Posts

Read Query string parameters: <script> $(document).ready(function(){ var ID= getUrlVars()["queryparam"]; $("input[title='test']").val(ID); }); function getUrlVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for(var i = 0; i < hashes.length; i++) { hash = hashes[i].split('='); vars.push(hash[0]); vars[hash[0]] = hash[1]; } return vars; } </script>
Javascript / jquery on hover or click event for sharepoint search results pagination. jQuery('#MSOZoneCell_WebPartWPQ3').on('mouseenter','a',function(event){ $(this).attr('Target','_blank'); } );
first list workflow: Start approval process > Edit approval task by clicking approval task name > In Task Form Fields section, click New > create a people or group field, named it next approver > Change the behavior of a single task > Under when a task completes section, under If current task: outcome equals Approved, and Update list item action (update current list item: a people or group field (named approver2) to Current Task: next approver field) > Save and Publish the workflow. Second list workflow: Wait for approver2 to be not empty, and then start approval process on current item with current item: approver2.
Missing “Save Site as Template” for Publishing Sites in SharePoint 2013? open site in sharepoint designer -> site options -> (modify) SaveSiteAsTemplateEnabled : true 
Sharepoint site columns visual studio: Single Line of Text: field id=”{FDDC4E38-25E0-4FD9-92E7-D17F34A5AB12}” description=”My Content ID of Item” staticname=”ContentID” name=”ContentID” displayname=”ContentID” type=”Text” group=”Sample Site Columns” sourceid=” http://schemas.microsoft.com/sharepoint/v3&#8243 ; Number: Field ID=”{13b3652a-d543-465d-91cb-a9d625637855}” StaticName=”Read_Times” Name =”Read_Times” DisplayName =”Read_Times” Description=”Read Time count of Item” Type=”Number” Group =”Sample Site Columns” SourceID =” http://schemas.microsoft.com/sharepoint/v3&#8243 ; Date Time: Field ID=”{d076e4d5-c785-4c04-8b56-c1f021721749}” StaticName=”CreateDate” Name=”CreateDate” DisplayName=”Create_Date” Description=”Create Date of Item” Group=”Sample Site Columns” Type=”DateTime” Format=”DateOnly” SourceID=” http://schemas.microsoft.com/sharepoint/v3/fields&#8221 ; Multiple lines of text: Field ID=”{2ae59f08-0fb0-4a9c-8a31-a180161b1029}” StaticName=”PublisherDescrip...
Set time zone for sharepoint online global. https://yoursite-admin.sharepoint.com/_layouts/regionalsetng.aspx to change time zone by site: go to site settings -> regional settings -> you can change the time zone and can apply chnage to all sub sites .
Sharepoint The server was unable to save the form at this time. Please try again solution: its a permissions issues but for some reason it shows a different error message. If your user who is facing this issue has restricted read access on site change it to read and the issue will be resolved . There is some service call that is blocked for uses with restricted read  even thogh they have full control on sharepoint list or library . So changing access level to read fixes the issue for sharepoint online. On premises: this issue is caused due to memory full. RAM. So do a iss reset or stop and start sharepoint service and that should fix the issue.