Posts

Showing posts with the label Uploading files

SPFx - Using FilePicker and FileTypeIcon control

Image
Hi Friends, this is a series of the post explains different capabilities of the web part using SPFx. Using DateTime control PropertyFieldCollectionData Property Pane Control Using FilePicker and FileTypeIcon control --> You are here Office UI Fabric react DetailsList & PropertyFieldCodeEditor to show the JSON data Office UI Fabric react DetailsList & PropertyFieldCodeEditor to show the CSV data In this post, I am gonna show you how you can leverage on the FilePicker and FileTypeIcon control from PnP Reusable controls on web parts. The code reference shown below will add the file as an attachment to the item in a SharePoint list called ' Demo ', which has only the ' Title ' field. Regarding the basic creation of the project and other stuff, please refer to my previous blog post . I hope those who are familiar with SPFx would know how to create the project and add the dependent npm packages. The following are some of the pre-requisites for the sol...

Problems while uploading files to SharePoint

Hi guys,             It’s been a while blogging about SharePoint. Have anyone experienced the difficulties in uploading files apart from the characters mentioned in SharePoint. I have experienced the unique thing that when I tried to migrate the documents from Humming Bird to MOSS 2007. SharePoint does not allow consecutive dots in the filename. “..” is not allowed in MOSS 2007, but “. .” is allowed and that’s something weird. One more thing I would like to share is if anyone trying to upload the documents via object model, it’s better to remove the space at the end of the file name. SharePoint allows us to upload the file with the spaces at the end. But after uploading the files, if any user has changed the metadata or something related to that file SharePoint automatically removes the trailing spaces at the end. If there are any custom properties defined in the file then SharePoint will not allow us to upload the file. It will thro...