Tag Info

New answers tagged

1

The best practice (in my opinion) is to start by designing your Information Architecture. This will define the end result for how you want your data to be organised. It should include how your data is structured, what content types you have, what metadata is associated to it, what levels of access are required etc. Your IA will then drive how you design ...


0

You can create multiple document libraries as you would like. This will have many advantages as you can set permissions for the necessary users as well as enable to be searched. Even within a single document library, you can have multiple folders so it gives you an organized look. As mentioned earlier, you can create views and add them to pages so ...


0

You can organize your files in what order you want, usually you have tree-based organizing and you can implement it exactly in SharePoint. However it is not recommended as I got. Recommended approach for general use (as I know) is to upload your files nearly in flat order, and then create views and filter based on users' needs. After all there are several ...


0

When a video (Content type: Video) is stored in the asset library, they are stored as folders with folder name being the video name. What you are getting is only the name of the folder. The properties (URL, full name) and the video itself are stored within the folder as another content type known as Video Rendition. Getting the actual video can be done using ...


1

b1c10's answer is probably on the right track, stating that the problem might be on the file input, try to check if you actually upload the correct stream to the REST API. If the stream is already corrupted before the actual upload, it has nothing to do with your POST. Try to convert your stream back to the original file locally and see what that tells you. ...


2

The usual 3 step process will help you narrow down your issue: Clear browser history and cache Restart your pc Try a different browser


0

@Muhammedh's solution to use Regex is very good. Great Regex, but you can do better! According to this support article from Microsoft not only are the special characters not allowed, but certain file extensions are also not allowed! And using _vti is not allowed either - so many restrictions! Here's a Regex that takes all of them into account: ...


1

Found the solution... Here's how I changed my code. private void UploadAttachments(Helper sharePointHelper, IList<HttpPostedFile> postedFileCollection, int itemId) { // Get the list SPList listToUpdate = Helper.GetList(this.BackendListName); SPListItem itemToUpdate = null; // Get the existing item to update itemToUpdate = ...



Top 50 recent answers are included