Posts

How to Make Attachment Column in SharePoint List Mandatory?

Image
     Hi, today I'm ready with the next customization in SharePoint list....Yes, today we gonna see how to make the attachment field in SharePoint list MANDATORY.      We gonna achieve this by doing simple steps !!!!!!! Just follow the steps which I given down :) Steps ( For New Form ): Open your SharePoint list where you want to make the Attachment Column Mandatory or Required. Enabling the Attachment Column in Views (All Items) [Note: we don't need to create a separate column for Attachment because we have it already under the ( ListSettings -->  In bottom of the page we have 'Views' under the views we have 'All Items' click the All Items  ) ] . Now I have two items in my list, One item with attachment file and another item without attachment file. You can see it in below Screen Shot. Now we need to validate ( if the attachment column is empty give an alert at the same time the file should ...

How to GET Attachments from the SharePoint List by using REST API and JAVASCRIPT (Hosted App)

Image
Introduction:      Hey guys This is Siva from Chennai. I'm the SharePoint Developer. I have Come up with this awesome guide for you all to help you out from the struggles which you facing rightnow.      Here I'm explained how to get the list attachments from the SharePoint list using REST API and JavaScript.      I have used SharePoint-Hosted Add-In to do this Demo.      Lets Explore............⏩ Steps: Open Visual Studio( I have used Visual Studio 2017) for this example. File --> New --> Project --> Office/SharePoint --> SharePoint Add-in --> Give Name and Solution Name for the Project --> Click Next -->Give your Developer Site  URL (ex: https://example.sharepoint.com/sites/DeveloperSite/) then --> Select SharePoint-Hosted in radio button -->Select your Version of SharePoint and Click Finish. Copy and Paste my Html in (Default.aspx) page. Copy and Replace with my...