New answers tagged

1

slightly updated version making use of the supported CSS styles: { "$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json", "elmType": "div", "attributes": { "class": "=if(indexOf(@currentField, '.0')!=-1,'sp-field-severity--good', 'sp-field-severity--warning')" }, "children": [ { "elmType": "span", ...


0

You may refer to the answer in another thread: How can we hide New/Upload button in modern document library experience?


0

You should be able to. You can find out if the current user is a site admin using REST then use CSS to hide the See All link. I do not have an online farm to play with right now to get the CSS but here is the code I use for admin checking on the client. Put it in a Content Editor Web Part on the list. _spBodyOnLoadFunctionNames.push("loadPage"); //ensure ...


0

Excel co-authoring for Desktop versions of Excel was released relatively recently, in 2017. Related Article. For the very long time it was not supported. As of today, this should be supported, but with several important limitations (credits to Serge Tremblay ): You need an Office 365 subscription. You need the latest Office 365 version installed. ...


1

The feature you describe is avialable with Office 365 licenses. Excel/Word for Windows desktop, browser, Mac, phone, and tablet can be used by different people simultaneously to edit a document that resides in SharePoint Online or OneDrive. Important to note is that the desktop app of Excel/Word, etc. must have the AutoSave slider turned on. Otherwise, co-...


1

Sample code to add remote event receiver for host web library. private void AppInstalledMethod(SPRemoteEventProperties _properties) { using (ClientContext clientContext = TokenHelper.CreateAppEventClientContext(_properties, false)) { if (clientContext != null) { ...


3

By design the order of columns in details pane is same as the column order in Content Type. So, If you want to change the column order in details pane then you need to change the column order in Content type. How to change the order of columns in a SharePoint list or library. Note: It will also change the column order in SharePoint list/library default ...


1

Yes. ItemAdded event fires when a new file is uploaded to the document library in SharePoint. Reference: How to Implement Remote Event Receiver in SharePoint Online. Official Documentation: Use remote event receivers in SharePoint.


0

Without seeing the workflow it is hard to understand what is happening. They way I would approach this is to create a HYPERLINK column and set the URL to the files path and then set the display name as the files name like you have now. Then hide your TITLE column, and move the Hyperlink column to Position 1. Note: I would edit the Hyperlink column to be a ...


0

My experience yesterday with a modern list is that when designating a modern library with Tile as the default view is only at the personal view level, not public view.


1

I searched online, however, there is no documentation about their differences. Via my test, I found they would be directed to a same page (Copy) when clicking them, so the function of them are same, just the names are different.


0

As others have already suggested that neither will do what you want - as they both allow to view or download in some capacity. A suggestion would be to create a new column in your document library and copy the file name to this "text only" column using, say, a workflow or calculated column to populate the column. You can then create a new view for your ...


1

I haven't experienced that issue. However, if you are having trouble getting filters to do what you want, you could try creating a view instead.


0

You can loop all items of the library and use IF condition to classify different types files and folders then count them. Powershell script to get count of how many files are in a folder and its subfolders


0

The workaround is to change the trigger type from "For a selected file" to "For a selected item", which allows us to use the ID again. This trigger will work fine with Document Libraries, but you will need to enter the library name manually in the "List Name" field: I don't know why it no longer works with "For a selected file". I guess there's a chance ...


0

After uploading pictures, you can follow the @Falak Mahmood method and do whatever change on any column. This action will increase the version from a minor to a major version.


1

i have tested with several folders and meet the same confusion. The file in the folder does not show the user with sharing link. However if you do permission check, the user will show with corresponding permission level granted with the folder. And the user is able to edit files in the folder. Please check with the permission level and do tests with the ...


0

So after ALOT of digging I came across a post that suggested using Promoted Links web part. On the page I placed the PLWP and the Library View web part. Using the filters provided I filtered the list, copied the url of that view, then used that url as the link for a specific image in my PLWP. Works like a charm! Link to the post: https://social.technet....


0

To-fetch sub-folders name at Run-time we need use the following formula split(triggerBody()?['{Path}'],'/')[1]) In Move File Scope Destination Folder section we need to use split function with FolderPath using character ('/') and concat with Destination Library name Concat('Destination Folder Name','/', split(triggerBody()?['{Path}'],'/')[1]) )


0

I tested the code snippet in my On-Premise Environment, but a bit difference, the file added into the library will be checkout status, maybe this could be the issue, add a line to check in like below to see if you can see the newly added file in the library: String fileToUpload = @"C:\mytest.txt"; String documentLibraryName = "Shared ...


0

In SharePoint, to change the view of a web part, please follow the steps as below: Go to the page where you added web part and click the gear icon on the upper right corner. Select Edit page. Edit your Library Web Part. Expand the Selected View and choose the view you want to use. Click Apply to check the outcome. Click OK and save the changes. For Modern ...


1

In Move file action, you should choose the destination folder like this: /Destination Library/FolderName. Here is my sample flow to move files, hope it will help you:


0

You can create a filtered view of the library, then when you add your webpart to the page you can select what view you want to display in the webpart. So if you want multiple webparts showing different stuff you will need to setup multiple views of the document library.


0

Hi I did this but by setting it as standard..... it effects all other webpart libraries on the same page on startup..... I.e if two webparts are on the same page both show the same content.....I want them to show different content based on the filter view I have pre-assigned


1

I wound be very careful about mixing the Intranet (one to many communication) with "where we works". The main reason is that the departement structure is pretty volatile and the second reason is that this structure permissionswise does not support any cross org work. The most common approach is to have the Intranet as one Site Collection where everyone has ...


1

You could use CSR for this requirement. Sample demo: SPClientTemplates.TemplateManager.RegisterTemplateOverrides({ Templates: { Footer: function (ctx) { var rows = ctx.ListData.Row; if (rows.length<1) return String.format("<div>There are no documents in ...


0

This problem can also occur when a checkout is required for files in a document library. This is a saftey measure toprtect the document. However, if the document library isn't going to be edited by multiple people—or there is a need to co author a page simultaniously—you can remove this safegaurd. We had the problem when new files would be uploaded. It ...


0

By default, if you have custom views which filter items based on Choice column, you could set alerts on these views. So you can have a try. About customizing alert template, if you just have site owner permissions, you can't do that because alert template file is in 15 hive folder on your SharePoint server, you need to have farm account to access it. Some ...


0

You might possibly consider adding a custom view to your list or library, and making use of the "Folder Child Count" field. This will show the number of sub folders inside a folder.


Top 50 recent answers are included