2

SharePoint web parts (modern and classic) are by default security trimmed, i.e. it won't show content to a user which are not allowed through permission.


2

Try below endpoints and see which suits best for your use: 1) Using FileLeafRef property: /_api/web/lists/getByTitle('<library title>')/items?$select=FileLeafRef 2) Using File/Name property: /_api/web/lists/getbytitle('<library title>')/items?$select=File/Name&$expand=File 3) Using Folder/Files property: /_api/web/...


1

The OOB content type and list modification report will not give which column is created/changed by the user, it will only give the user who edit column in lists. To get more detailed information about the column event, I recommend you use Audit log search in Office 365 Security & Compliance.


1

You cannot grant a permission on a file before uploading it as there is nothing to set the permission on before the file has been uploaded, unless you have a container (folder). In any case, if you upload the file and then set the permission, the file would only be visible for a second or so, and probably just a fraction of a second. If you use folders, you ...


1

Try to use Search Query Tool to check if you can get the results when set the Trim Duplicate option to disable. If so, you need to query with more unique text to get the result. Or there is a workaround to search in the search center to edit the search result web part to group the refiner by documentsignature, more information check the blog below: Search ...


1

What you are seeing is an iframe, so go check the url that is being displayed. Most probably it is something along the lines of https://my.sharepoint.com/path/to/site/_layouts/15/Upload.aspx?List=%7B[id-of.list]%7D&RootFolder=%2Fsome%2Fpath then you know "what" to show. As to how: Use SP.UI.ModalDialog.showModalDialog So, most probably you need to ...


1

Sample script for your reference, file Title is empty by default, so make sure Title has value. #region Variables $Username = "user@tenant.onmicrosoft.com" $Password = "password" $siteURL = "https://tenant.sharepoint.com/sites/lee" #endregion Variables #region Credentials [SecureString]$SecurePass = ConvertTo-SecureString $Password -AsPlainText -...


1

We can use Open XML SDK to create Office documents, then using SharePoint client object model File.SaveBinaryDirect Method to upload the document to folder in SharePoint library. Example code: string siteUrl = "https://tenant.sharepoint.com/sites/lz"; var login = "lz@tenant.onmicrosoft.com"; var password = "xxx"; var documentLibrary = "DL0627"; var ...


1

You can upload documents to SharePoint libraries using the Object Model or SharePoint Webservices. Upload using Object Model: String fileToUpload = @"C:\YourFile.txt"; String sharePointSite = "http://yoursite.com/sites/Research/"; String documentLibraryName = "Shared Documents"; using (SPSite oSite = new SPSite(sharePointSite)) { using (SPWeb oWeb = ...


1

You could check if there is “published state” column in the site column. Go to site settings->Web Designer Galleries->site columns. If there is no “published state” column in the site column, then the “published state” column is not the site column and cannot be added to the library or list. It is by design.


1

It looks like a limitation of SPFx's feature framework's that you can't associate field customizer to existing OOTB fields. Reference - Highlighting which page is the welcome page in a site Having said that, you can associate Field Customizer extension to existing OOTB list columns or site columns by setting ClientSideComponentId property of column with ...


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