In Progress
Thursday, January 16, 2025
Monday, September 23, 2024
Friday, June 7, 2024
No delete option for a SharePoint folder
If you use the global admin account and am running into a problem with a folder on a SharePoint site.
-There is nothing inside of the folders.
-I have listed as the owner of the folders.
-There was previously a Teams channels with the same name which has been deleted.
-There is another folder in the same site at the top of the directory that does have the delete options.
Can someone please provide guidance as to why this folder cannot be deleted?
Solution:
Thursday, December 15, 2022
Hide Sharepoint Web Parts using Javascript
I have placed List webpart to filter some value then pass to other Webpart to display filtered Content.
The following code will hide the List webpart then users will not see those Hidden Value.
you just find that webpart ID and add in the following code.
Add this to Script Editor Webpart. Publish the page then the web part will be hidden.
Work Around Code:
<script type="text/javascript">
document.getElementById('MSOZoneCell_WebPartWPQ6').style.display='none';
</script>
Wednesday, September 28, 2022
Impact of deactivating the Limited-access user permission lockdown mode feature
Rquirement:
To provide granular & Folder level permissions to individual folders in a document library. I attempt to do this by clicking the Share function on the folder but get a message that I cannot because of the Limited-access user permission lockdown mode feature. What is this feature used for? Are there features that are dependent on this feature? What is the impact of disabling it?
if you want to use the sharepoint server publishing infrastructure feature, you will lose the feature of sharing a folder. you can share files in the folder with other users instead.
if you don’t use the sharepoint server publishing infrastructure feature, you can disable the limited-access user permission lockdown mode feature to restore the feature of sharing a folder.
Monday, August 16, 2021
Access denied to Style library on SharePoint Online while create new folder or uploading files
Issue Details
Cause
Resolution
Run this scrip then you can create folder and upload files
Friday, January 11, 2019
Sharepoint Online - Quick Edit supports JS Link and Client Side Rendering
when I renamed a file to become “kar.txt” it turns the background green & text white colour tag. This could be leveraged to give end users real-time feedback on the values entered. Unlike a JQuery page load event which only triggers once, this triggers per row as values are changed.
Upload JS file to Site Asset library and Provide in the following
~site/SiteAssets/CSSQEdit.js
Friday, August 17, 2018
Sharepoint 2013 or Online Enter date picker in the data sheet view scrolls form to the top of the Page
Users are trying to enter or change Date from Data Sheet view in the Chrome Browser.
ExecuteOrDelayUntilScriptLoaded( function() { if (typeof(window.original_OnIframeLoadFinish) !== 'function') { window.original_OnIframeLoadFinish = window.OnIframeLoadFinish; window.OnIframeLoadFinish = function() { original_OnIframeLoadFinish.apply(this, arguments); window.Picker.contentWindow.original_setFocusDatepicker = window.Picker.contentWindow.setFocusDatepicker; window.Picker.contentWindow.setFocusDatepicker = function() { workspaceTop = document.getElementById('s4-workspace').scrollTop; window.Picker.contentWindow.original_setFocusDatepicker.apply(this, arguments); document.getElementById('s4-workspace').scrollTop = workspaceTop; } } } }, "datepicker.js");
ExecuteOrDelayUntilScriptLoaded( function() { if (typeof(window.original_OnIframeLoadFinish) !== 'function') { window.original_OnIframeLoadFinish = window.OnIframeLoadFinish; window.OnIframeLoadFinish = function() { original_OnIframeLoadFinish.apply(this, arguments); window.Picker.contentWindow.original_setFocusDatepicker = window.Picker.contentWindow.setFocusDatepicker; window.Picker.contentWindow.setFocusDatepicker = function() { workspaceTop = document.getElementById('s4-workspace').scrollTop; window.Picker.contentWindow.original_setFocusDatepicker.apply(this, arguments); document.getElementById('s4-workspace').scrollTop = workspaceTop; } } } }, "datepicker.js");
Thursday, May 3, 2018
Save site as template in SharePoint Online or Sharepoint Site
- Open your the site with SharePoint Designer
- In the ribbon go to Site Options
- Locate the option SaveSiteAsTemplateEnabled and modify the value to true
- Since the site template is disabled in the Publishing sites the option Save Site as Template is not available in the Site Settings you will need to navigate to the page directly: http://yourdomain.sharepoint.com/_layouts/savetmpl.aspx Provide all the details and click OK after a couple of minutes you will have the WSP site template generated
Monday, March 19, 2018
Apply Custom CSS to Sharepoint List View Webpart Pages
Add Style Tag begin and end in the following code:
Method 1:
/* ---------- Table Rows ----------*/
/* Set background for every row */
.ms-listviewtable > tbody > tr {
background: white;
}
/* Set border for every row */
.ms-listviewtable > tbody > tr td{
border-bottom: 1px solid #AFAFAF !important; /* !important needed over override SharePoint inline style */
border-left: 1px solid #AFAFAF !important;
border-right: 1px solid #AFAFAF !important;
}
/* Set background for every alternating row */
.ms-listviewtable > tbody > tr.ms-alternating {
background: #E2E3E5;
}
/* ---------- Table Header Row ----------*/
/* Remove background set in SharePoint's general data table style */
.ms-listviewtable tr.ms-viewheadertr {
background: transparent;
}
/* Modify background color */
tr.ms-viewheadertr > th.ms-vh-icon, /* Input box and attachment icon */
tr.ms-viewheadertr > th.ms-vh, /* Text */
tr.ms-viewheadertr > th.ms-vh2,
tr.ms-viewheadertr > th /* Text */ {
background: #2E4C70;
}
/* Modify background color on hover */
tr.ms-viewheadertr > th.ms-vh:hover,
tr.ms-viewheadertr > th.ms-vh2:hover,
tr.ms-viewheadertr > th {
background-color: #273C51;
border-color: #273C51;
}
/* Modify font color */
.ms-viewheadertr a,
.ms-viewheadertr div {
color: white;
}
/* Modify font color on hover */
.ms-viewheadertr a:hover,
.ms-viewheadertr div:hover {
color: white;
}
tr.ms-viewheadertr > th.ms-vh-icon:last-child {
display:none;
}
Method 2:
/* Modify font color */
.ms-viewheadertr a {
color:White;
}
.ms-viewheadertr div {
color: Blue;
}
/* Modify font color on hover */
.ms-viewheadertr a:hover{
color: White;
}
.ms-viewheadertr div:hover {
color: #F36F21;
}
tr.ms-viewheadertr > th /* Text */ {
background: #034EA2;
}
tr.ms-viewheadertr > th {
background-color: #034EA2;
border-color: #034EA2;
}
li[text="Alert me"] {display:none;}
Screens: