Hot answers tagged

3

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( [...


2

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

CSWP might work best. Indexes do not work as you have more than 20k items. With CSWP you could use the Path parameter like Path:https://sp.company.com/somesite/somelibrary/, or some other filtering such as Site parameter to only return results from the libraries you're interested in.


1

Update to using the OneDrive for Business modern interface in SharePoint 2016.


1

While JSOM is still indeed supported, Microsoft is not working actively on JSOM and is pushing new change via RESTful endpoints. The ability to fetch property bag value is supported via REST API. You can do that as below for your code using jQuery, but you can use any other library that your prefer : $.ajax({ url: _spPageContextInfo.webAbsoluteUrl +...


1

I haven't tried this, but to view all items with those settings you need to be an "Approver" on the list. The default Approver group includes Edit/Delete access, but you might be able to create an "ApproverOnly" group (name it whatever you want), that is limited to Approving, Viewing, etc... but not Editing and Deleting items. Again, haven't tried it, but ...


1

Absolutly, showing the users Group property is pretty simple if you are familiar with item display templates. Adding the additional user property "Group" is also pretty simple but in most cases the hard part is 1) getting the users to update this property or sync it from AD property and 2) ensure the data quality of this property as group names changes over ...


1

Short answer is YES, you need to UPS to be running and the user triggering the Work Flow has to have a profile in the UPS. https://sharepointv15.wordpress.com/2013/08/07/install-and-configure-workflow-for-sharepoint-2013/


1

Start Updating your workflow association after setting: $association.AllowAsyncManualStart = $true $association.AllowManual = $true Using: $list.UpdateWorkflowAssociation($association) Or $list.WorkflowAssociations.Update($association) About StartWorkFlow() Method: The boolean parameter shows the property isAutoStart. This method comes with two ...


1

You have only one option to use js link. Below is sample code on js link on converting a field data as hyper link <script type="text/javascript"> (function () { // Create an object that have the context information about the fields that we want to change the rendering of. var nameFiledContext = {}; nameFiledContext.Templates = {}...


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)


Only top voted, non community-wiki answers of a minimum length are eligible