New answers tagged

0

There is a maximum 256 character limit in SharePoint for REST URLs - reference: https://msdn.microsoft.com/en-us/LIbrary/dn292556.aspx However URL parameters are not included in the length-restriction, so can be used to get round this limit. Here is an example of using URL parameters to bypass this limit: ...


1

Go to library settings and in advanced settings, check "Allow management of content types" as yes. This will prompt the form to fill in the columns. Alternatively, you can also set any of the columns as required to prompt the form to fill the column values.


0

add this in your custom css div[id^=MSOZoneCell_] { position:relative; } #ms-dnd-dropbox{ left:0 !important; top: 0 !important; }


0

My issue is resolved. I used Fiddler and found that I was exceeding the maximum request length allowed by SharePoint. I changed the value of maxRequestLength attribute in web.config files in SharePoint and able to now upload large files.


0

There are ways to disable multiple document upload option using SPD after modifying in masterpage and applying some of the javascript code that including hide or delete multiple upload option. Please go through this article How to Disable Multiple File Upload in SharePoint and let me know is it the right approach for you?.


0

Thank you for this thread. I was able to to resolve my issue by inserting the following in a content editor web part on my page where I had ben using Bootstrap. I had to match the relatedWP to the specific webpart. <div id="ms-dnd-dropbox" class="ms-dnd-dropbox" style="display: none;" relatedWP="WebPartWPQ6"></div>


0

public class ReadExcel { #region readExcel public static DataTable ReadData(Stream theStream, string sheetName) { DataTable dt = new DataTable(); try { using (SpreadsheetDocument spreadSheetDocument = SpreadsheetDocument.Open(theStream, false)) { WorkbookPart workbookPart = ...


0

The below example demonstrates how to upload a file using SharePoint REST client for PHP: $authCtx = new AuthenticationContext($webUrl); $authCtx->acquireTokenForUser($userName,$password); $ctx = new ClientContext($webUrl,$authCtx); $localFilePath = "./data/user guide.docx"; $targetFileUrl = "Documents/user guide.docx"; $fileContent = ...



Top 50 recent answers are included