Posts

Showing posts from September, 2018

Retrieve List Items Using JavaScript

Retrieving Items from a List Using JavaScript (CAML) The  getItems(query)  function enables you to define a  Collaborative Application Markup Language (CAML)  query that specifies which items to return. You can pass an undefined  CamlQuery  object to return all items from the list, or use the set_viewXml function to define a CAML query and return items that meet specific criteria. The following example displays the ID, in addition to the Title and Body column values, of the first 100 items in the Announcements list, starting with list items whose collection ID is greater than 10. var siteUrl = '/sites/MySiteCollection'; function retrieveListItems() {  var clientContext = new SP.ClientContext(siteUrl);     var oList = clientContext.get_web().get_lists().getByTitle('Announcements');      var camlQuery = new SP.CamlQuery();     camlQuery.set_viewXml('<View><Query><Where>...

How to create a SharePoint Project Site, SharePoint Team Site - Step by Step

Image
This article shows how Office 365 global admins and SharePoint admins can create classic SharePoint Online site collections from the Office 365 admin center. Create a classic site collection SharePoint Online has several templates for classic site collections. For example, you can create sites for blogs, wikis, record storage, and publishing. Some previous Office 365 plans can have only one site collection. Sign in to Office 365 as a global admin or SharePoint admin. Select the app launcher icon   in the upper-left and choose  Admin  to open the Office 365 admin center. (If you don't see the Admin tile, you don't have Office 365 administrator permissions in your organization.) In the left pane, select  Resources , and then select  Sites . Select  Add a site . Please Note If you don't see the options above, select  Admin centers  >  SharePoint  and then select  New  >  Private Site C...