New answers tagged

1

For an on-prem farm, it won't be possible to 'retire' the use of the SharePoint snapin due to functions that are simply not available via CSOM to manage a farm. I think it is a great idea to learn the PnP module and CSOM as it will provide you a better understanding of the capabilities available in SPO should you migrate, but I wouldn't put a lot of effort ...


2

You can do this with a validation formula. It can get quite long, depending on the number of holidays, and how far out into the future you want to go. =NOT( OR( [TaskDate]=Date(2019,12,25), [TaskDate]=Date(2020,1,1), [TaskDate]=Date(2020,4,1) ) ) You can also block weekend days in a similar manner: =NOT( OR( WEEKDAY( [...


1

One option coould be to use Column Validation, however it might be tricky to define a formula for 'holiday' Another option could be to create an event receiver on ItemAdding, there you can check the date against a SPlist that defines the start and end date for holidays ( or similar setup)


0

Ooops my bad... For 2016 as you rightly said we don't have SuiteBarLinks in master page. Ref link - Edit Suite Bar Links in Sharepoint 2016 <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.4.min.js"></script> <script> var customLi = "<li class='ms-core-suiteLink'><a class='ms-core-suiteLink-a' target='_blank' href='...


0

Check followings: Check the permissions for the Setup account which you are using to run the wizard or PowerShell. Make sure the setup account is granted with "DB_Creator" and "Security_Admin" Server Roles. In case of Named instance, it should be "Server\InstanceName". If it is SQL Alias, make sure the alias is properly configured and should be accessible ...


0

For the original workflow history, it is a list with the url: http://yoursite/Lists/Workflow%20History/AllItems.aspx Check more information here:https://blogs.msdn.microsoft.com/voyage/2015/01/23/where-is-workflow-history-list/ You can use it directly in your CEWP. The potential problem is that the list only shows GUID, which is hard to get the idea. ...


0

That is a hard one to answer, but if you are only loading custom CSS and some jquery then it should carry over ok, as long as best practices were followed. Really with a migration you have to run a test to find all the issues.


0

You need to trigger wf start when item is modified or created. Then as first action check the condition if the email is yes then send whatever comms you need if not just terminate the wf.


0

I would try to modify your process, and not your code. Add the AD group to the SharePoint group, then add users to the AD group.


1

How did you migrate the data? Using the database attach method or with a third party tool? I've seen this behavior before when using tools like Content Matrix or ShareGate, the only way to troubleshoot is to look at the migration error logs.


1

That is mostly due the async nature of the HTTP requests. To upload the file and then set it properties correctly, you can do so as below: pnp.sp.web.getFolderByServerRelativeUrl("/sites/mysite/ConfigDL").files.add(fileOgg.name, fileOgg, true).then(f => { f.file.getItem().then(item => { //update start Below Call to Doc List will update ...


1

The following function for your reference. function UploadFiles() { var files = document.getElementById('exampleInputFile').files; var file = files[0]; //using File Api if (file!=undefined || file!=null){ $pnp.sp.web.getFolderByServerRelativeUrl("/Documents").files.add(file.name, file, true).then(function (data) { var ...


1

Is the issue existing in every file or a few files? Try to troubleshoot this issue as following: Make sure the search service application is actively crawling the content, and the files are crawled. Please check if the following timer jobs is running, then re-run them and check again: Microsoft SharePoint Foundation Usage Data Import Microsoft SharePoint ...


1

I solved the problem by change the default AAM from "https://servername" to "https://mysharepoint.abc.xyz". The search is working for this string pattern now. https://mysharepoint.abc.xyz/sites/abc/_layouts/15/osssearchresults.aspx?u=https%3A%2F%2Fmysharepoint%2Eabc%2Exyz%2Fsites%2Fabc&k=* However now something else is breaking. When I click my name at ...


0

Is out of the box Search an option? You could set up a search result source looking for ContentType:'Your Content Type' ( and perhaps limit the scope to either this site, this site collection or a specific site/site collection


0

If I understood you question correctly, you want to disable online browsing/editing experience of document library. Disable Office Online (Browser Mode) for a Document Library Go to the library where you want to change the browser behavior. Click on Gear Icon > Library Settings Choose Advanced Settings Under Opening Documents in the Browser, choose Open ...


1

Please check if SSL is configured correctly as per below link. https://blogs.msdn.microsoft.com/fabdulwahab/2013/01/20/configure-ssl-for-sharepoint-2013/ Also check if you are passing http:// (without S) in u, does it work? Definitely it has something to do with your SSL certificate not configured correctly. If you SharePoint admin, please check if SSL is ...


0

The function of Document ID is to remain the same for the life time of the document and to never change. For example if document A is in library A and you decide to move it to library B, the Document ID will remain the same. The Document ID property is a URL in this format: http:///_layouts/DocIdRedir.aspx?ID=J2W3DN6QF6XW-2-40. When this URL is clicked, ...


0

You can achieve this type of requirement by Creating custom level permission and Breaking Inheritance on Document Library. Create a permission level: Create custom permission level by checking check boxes of Add Items and View Items. follow below steps: Open the site collection site (the root site not a subsite) Go to site setting. below Users and ...


0

Yes, you could create the custom permission level and grant the custom permission in the document library. You could create the custom permission level as below: List Permissions: Add Items, View Items and Open Items. Site Permission: View Pages, Open. Then use the unique permission in the document library and grant the user with the custom permission ...


1

Did you set AAM for your web application? If yes, you need to configure content source using the default zone url. In addition, if you configure Server Name Mappings, remember to do a full crawl for your content source. There are two articles for your reference: https://blogs.msdn.microsoft.com/enterprisesearch/2010/05/28/server-name-mapping-and-alternate-...


0

We eventually upgraded from SharePoint 2013 to 2016 and upgraded our UPSA in the method described in the question. This is also officially supported per Upgrade the User Profile service application. What ended up being the reason for the missing mapping is that these apparently are all considered default mappings as we had no custom mappings. Properties are ...


0

Since you are referring to Sharepoint 2016 you can try building a visual web part with a logic to show all the site collection in the web application and then deploy it to your farm you can check the below link for create visual webpart Create Visual webpart in Sharepoint 2013/2016


0

You could use a Search Results Webpart (Which is what is shown in you screenshot). When you edit the Webpart you can open the "Build Your Query" window, and set it to "Only return sites". You can also configure the sort order / and number of results to display on each page.


1

Try using your endpoint URL like given below: var endPointUrl = url + "/_api/web/GetFolderByServerRelativeUrl('Style%20Library')/ListItemAllFields/breakroleinheritance(copyRoleAssignments=true, clearSubscopes=true)" Similar questions for Reference: Break inheritance on a folder using REST. Sharepoint Rest API breakRoleInheritance Of Folder.


0

I had a similar issue and to resolve the same, I had to enable the setting, Miscellaneous -> Server Rendering on the List View web part.


1

It can be done with PowerShell, since reording via UI always gets stuck with "Picture Placeholder State" property Article First create a connection to the User Profile Manager $MySite = Get-SPSite <MySiteHostURL> $context = Get-SPServiceContext $MySite $profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context) ...


Top 50 recent answers are included