Posts

SharePoint Online Send email using rest API - Multiple USERS

function processSendEmails() { debugger; var recipients1 = [];  recipients1.push("myemail1@gmail.com"); recipients1.push("myemail2@gmail.com");  recipients1.push("myemail3@gmail.com");  body = 'Mail Body',  subject = 'Mail Subject '; var from = ' ',  to = recipients1,  body,  Subject;  sendEmail(from, to, body, subject);  }  function sendEmail(from, to, body, subject) {  debugger;   var urlTemplate = siteUrl + "/_api/SP.Utilities.Utility.SendEmail";   $.ajax({ contentType: 'application/json',   url: urlTemplate,   type: "POST",   data: JSON.stringify({ 'properties': { '__metadata': { 'type': 'SP.Utilities.EmailProperties' },   'From': from,   'To': { 'results': to // This is the main Part, if you want to send email to Single user just replace to with[to]   },  'Body': body,   'Subje...

Add Marquee to SharePoint 2013/ Online Classic

Image
Login SharePoint Site Click on Site Sitting Gear and Select Edit Page Click on Insert > Web Part > Media and Contents > Script Editor Web Part > Add Click on Down arrow > Edit Web Part as mentioned on below image Paste below snippet and click on Insert. <marquee behavior="scroll" direction="left">Welcome to My Dev Site</marquee> it's done.. :)

Get Data from Multilines of Text Column using RestApi

"Multilines of Text"  allows users to store a large amount of data in different formats like : HTML, Images, Tables and links. It can store data up to 2 GB. I will not go to theory portion as it is easily available.  If you are here, it means you know that "Multilines of Text" returns data in HTML format and when we assign this data to any HTML field it will show like this. "<div> World is suffering from COVID-19 CORONA <br></div>" Steps to display this text on Page. 1. Add a HTML file some where in site contents. 2. Add Content Editor Web Part on page. 3. Edit a Web Part and enter above HTML file URL to Content Link. Sample HTML File : <html> <head> <style> .multiLine {    background-color : white; } </style> // Add required jquery library here <script>                function getData(){ // Here restApi returns multiline of text and assign this t...

SharePoint 2013 Interview Questions - Part 1

Tell me something about yourself? Describe your roles and responsibilities? What’s your current project, which technologies you are using?   Have you faced any challenges in SharePoint? What is SharePoint? What are Different versions of SharePoint?   What’s new in SharePoint?   SharePoint Page life Cycle?   Why did you choose SharePoint?   Can SharePoint be replaced by Other software?   Any 3 features that you like most about SharePoint?   What is SharePoint list and what is difference between List and Library?   What is managed meta data? Define it’s terminology?    How do you manage Meta data?   Can managed meta date be used in SharePoint site?   What are content types?   How to create content types?   What is Site column. How it is important in SharePoint?   Can a list use multiple content types?   What is a Workflow?   What type of workflow you created?    What do...