New answers tagged

0

Pages are stored in libraries, and like any other regular libraries read-only permission can be granted to the entire library as well to individual pages. Steps: Site Settings -> Site Content Site Pages Library if the page is in this library or Pages library Gear Icon -> Library Settings Permission for this document library Stop inheriting permission ...


0

Go to the Workflow Tasks list and go to List Settings -> Advanced Settings, set Send e-mail when ownership is assigned? to No


0

I’m afraid that is not possible. The settings you can set for navigation are all listed here: https://support.microsoft.com/en-us/office/customize-the-navigation-on-your-sharepoint-site-3cd61ae7-a9ed-4e1e-bf6d-4655f0bf25ca Also, customization for modern navigation is currently not supported, so custom solution is not an option either.


0

For Designer workflow 2013, you shall be able to assign task to users and start an approval process. I am not sure what issue you are coming across. More information will be help. And here are some examples for Designer 2013 workflow for approval. You can follow them and have Antone try. https://blog.virtosoftware.com/how-to-create-sharepoint-designer-2013-...


0

I have been having this same problem and today I found some interesting methods to try and get to the root of the problem. My concern is that reducing the logging period is a band-aid solution and if someone is doing something incorrectly on SharePoint then the problem might continue to get worse. First I found a SQL query that helps you find large tables ...


0

If you've not resolved this: Which vesion of .Net are you using? i initially had this working in 4.7.x, but when i moved it to an older project(4.0.0) i started recieving the error you mentioned: "'FileCreationInformation' does not contain a definition for 'ContentStream'" I changed my target Framework to somethign a bit more modern(4.5.2), ...


0

Today I am setting up SP2019 and the bug still exist. To solve it, first go to your search service application. Update the Global Search Center. Then restart SharePoint Timer Service. Then update the to have the Preferred Search Center in MySite setup with the same URL. This time change is saved.


0

The column formatting is handled in this document: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting Here is an example of adding a button into the list. This can connect to a Power Automate flow which can handle the approval. { "$schema": "https://developer.microsoft.com/json-schemas/sp/column-...


1

You could put different files in different folders and set unique permissions for the folders. Reference: https://support.microsoft.com/en-us/office/change-the-permissions-on-a-subfolder-5427bd7c-f20a-4f75-8cf2-5359dd45a1a6


0

If you are using the IE 10+ version, please use pure CSS like this: @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { /* IE10 and IE11-specific styles go here */ } @media screen and (min-width:0\0) { /* IE9 and IE10 rule sets go here */ } More information for your reference: Adding CSS file for IE


0

Try this: <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> <script> $(document).ready(function(){ $(".FormField").each(function(){ if($(this).text()=="01-02-21"){ $(this).html("<a href='https://google.com'>Google</a>") } ...


0

I tested in my end and observed the same behavior. It could be due to the lack of support of rating feature for modern list form. Here is a UserVoice you can vote.


0

If you're to replace "01-02-20" with a link, test out the script below. I'm assuming there would some pattern of the text that you could distinctly identify the div element. In this case, I'm checking the length, since it appears to be a date field. <!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/...


0

Edit Search Result page. Edit Search Results web part. Check in query bulider if you have -FileType:aspx in query. -FileType:aspx will not return aspx page in results. If you have this in your query you need to remove it to see aspx pages in search results. For more description see this link. https://metashare.com/en/app/help/adminmanual/how-to-create-a-...


0

For your scenario, I would assume a Power Automate which is triggered when the item is created/modified. Use condition to check if it is reviewed(reviewed by column has value ), if yes, just log the time to another list or update a current item column, both shall work.


1

The new SharePoint site theming features use a JSON schema to store color settings and other information about each theme. It is recommended to use the values mentioned in below official Microsoft documentation: SharePoint site theming: JSON schema An online Theme Generator tool can help you to define new custom themes.


0

This fixed it for me. I abandoned using the SetFieldValue altogether and did it this way instead: $session = Get-SPTaxonomySession -Site $sList.ParentWeb.Site $termStore = $session.TermStores["My Managed Metadata"] #get taxanomy group and termset $termStoreGroup = $termStore.Groups["Enterprise Taxonomy"] $...


0

Tested Successfully with the followings: CSV file Sample: Url "http://myServer.com/sites/ABC/" "http://myServer.com/sites/XYZ/" "http://myServer.com/sites/VCS/" "http://myServer.com/sites/BVC/" PS Script Cls Add-PSSnapin Microsoft.SharePoint.PowerShell $SitesColl = import-csv "C:\Temp\2020\SiteCollections....


0

The other two options you could give a try are Kerberos or Basic Authentication: Kerberos: import requests from requests_negotiate_sspi import HttpNegotiateAuth cert = 'path\to\certificate.cer' response = requests.get( r'http://mysharepoint.com/_api', auth=HttpNegotiateAuth(), verify=cert) print(response.status_code) Basic: import requests ...


0

Go to Site settings -> Search Result Sources under Site Collection Administration -> Check whether you choose Local SharePoint results.


0

You need to capitalize s in $site Correct code: Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue $SitesColl = import-csv "C:\Users\xxxxxxx\test.csv" foreach($Site in $SitesColl) { Set-SPSite -Identity $Site.Url -LockState "ReadOnly" }


0

Here’s a check list for you: Go to Top-level Site -> Site Settings -> Result Types under Search section -> Check whether “SharePoint List Item” exist: Check whether Search is enable in your list: List Settings -> Advanced Settigns -> Search -> Select “Yes”: Check whether you set filter to change query: 1)Navigate to your search center; ...


0

You need to remove the quotation mark around $site.Url. Use this, it should work for you: Set-SPSite -Identity $site.Url -LockState "ReadOnly"


0

I noticed that the "TEAM COMMUNICATION SITE" look book has the hub site navigation feature. Please register current site as a hub site via SharePoint admin center> Active sites, then re-provision the look book again. Reference: https://docs.microsoft.com/en-us/sharepoint/create-hub-site#create-a-hub-site-in-the-new-sharepoint-admin-center


0

https://social.technet.microsoft.com/Forums/en-US/7819a3cc-2b07-4656-aa75-872e400e2629/sharepoint-search-need-to-search-only-list-items?forum=sharepointsearch In search center in results page, click Edit page. In search results web part, click dropdown in the upper right corner -> click Edit Web Part. Click Change query -> in Property filter field -&...


0

Please refer to the following script to get the ids you need in your script: #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft....


1

You can try this: =IF(AND(NOT(ISBLANK(ReceivedDate)),NOT(ISBLANK(CompletionDate))),DATEDIF(ReceivedDate,TODAY(),"d"),"") OR =IF(AND(NOT(ISBLANK(ReceivedDate)),NOT(ISBLANK(CompletionDate))),TEXT(NOW(),"mm/dd/yyyy")-ReceivedDate,"") The updated formula =IF(AND(NOT(ISBLANK(ReceivedDate)),ISBLANK(CompletionDate)),...


0

Is it not possible to have same folder preview at parent level, as we have in modern view like below ?


0

You could create event receiver in Visual Studio to achieve this. There are two such events - WebAdding (When the site is started to create) and WebProvisioned - When the site has been created. And you can use these event recievers to add some custom code to create pages and lists. SPWebEventReceiver.WebAdding method: https://docs.microsoft.com/en-us/...


1

For modern experience in SharePoint Online, I assume using JSON formatting will be a good way to change the text displayed on the thumbnail. Per my test, after applying still I can click on the thumbnail and open it in a new tab. { "schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json", "...


0

It is used in External Sharing with email address.


0

Figured it out. The _spPageContextInfo.currentLanguage and currentCultureName is based on what preference is saved on the user's profile settings. The region/locale field specifically. It is not based on which label the current site is on. Best way to detect language is check the URL directly.


0

Same worked for me as for Upendra Yadav - Here are some more details: Add filter to user profile connection in SharePoint central administration and add userAccountControll Bin on equals 2 Run Full Sync, now you see the userprofiles in the userprofile services in the section of "Missing import profiles" because of the filter Wait for your daily &...


0

Our experience is slightly different. Typically, one user edits the Excel file and from then on nobody else can open it. If the user is editing in the desktop app instead of the browser, the work performed by the initial user is often lost, too, when the file fails to upload back to SharePoint, and the file in SharePoint remains locked. This happens ...


0

Install the security update KB4011244 You can download From https://support.microsoft.com/en-us/help/4011244/descriptionofthesecurityupdateforsharepointserver2016november14-2017


0

You don't need coding at all to achieve that, it's an OOTB functionality. To display the past Due date column in red, there is the only requitement - "Due date" column should show date only (not sate and time), change that in the column' settings.


0

The issue I'm seeing is that we were only provided with .master and .preview files for the master pages - there is no .html file in the bundle, so I cant insert webpart code snippets into the .html file, which is then transpiled into the .master file. Is this a common issue? Am I missing something here? This is normal. Many vendors never bothered to use the ...


0

Each security update includes all fixes that have been released for both security and non-security related issues up to that point for the patched component. Just install the Uber packages of the latest CU and you are good. Reference: https://blog.stefan-gossner.com/2020/02/11/sharepoint-patching-best-practices/


0


1

Quote from Microsoft: "The securityadmin and dbcreator SQL Server security roles might be required for this account during a complete version-to-version upgrade because new databases might have to be created and secured for services" More inforamtion: https://docs.microsoft.com/en-us/sharepoint/install/account-permissions-and-security-settings-in-...


0

In the parent list of the lookup column, you can create a new calculated column, which uses a formula like =IF(([AssignDate]-Today())<14, Title,""). Then this column will have value only if the column AssignDate has a value for the last two weeks. Then change the look up column to get value from the calculated column. It shall work now.


0

Thank you Amos, But I found a simpler solution. I just added &selectproperties=CreatedBy to my URL Query string. Thank you anyway, your answer was helpful.


1

It also has to have rights on the service application (search above) to run. I generally run psconfig as the farm account to not have to futz with permissions.


1

If you want to append the field value, just add the current field value in string builder, then fill in the required new content into the text field.


1

Shouldn't it be console.log(jQuery("#__REQUESTDIGEST").val()); instead of console.log(("#__REQUESTDIGEST").val());?


0

You could use "Send an email" action to alert the user when a new item is created in Calendar list: Select the workflow Start Options as shown below:


0

Use following powershell to update SharePoint service account password: Set-SPManagedAccount -identity "AzureAD\SA_ManagedAccount" -NewPassword (ConvertTo-Securestring "password-2" -AsPlainText -Force) –SetNewPassword More information: https://docs.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage https://www.c-...


Top 50 recent answers are included