How do I bring the Rating Feature from Share Point to my website

I have created a coupon page and I would like to implement the rating feature Share Point offers. I created a Rating Column in my list and then made an Ajax call to retrieves all the items from that list. The JSON gives me AverageRating and Rating Count but I want people to be able to rate my discounts using the stars. Discounts Page

JSON Response

Share Photos library with other user on same Mac

I would like to share my Photos library with another account on the same Mac. I have done exactly what @metatechbe suggested in his answer to How can I share Photos across multiple users on Apple Photos, without paying for iCloud?.

A actually can access the Photo library from both accounts now. But after user1 has used it, user2 sees a Repair Library Permissions dialog:

This photo library is locked or you do not have permissions to make changes to it. Photos can try to repair the permissions. 

Other posts like

  • Sharing a iPhoto Library between users on the same computer
  • Sharing a Photos library across multiple accounts

aimed in the same direction, but no solution was found.

Is there a way to seamlessly make the a Photos library usable by two users? Of course, one needs to quit Photos before the other open the library. But the permissions dialog should not appear all the time.

How do I create Rows and Columns in jQuery after pulling data from a Share Point List

I created an accordion in JavaScript that contains 7 categories,I am also pulling data from a Share Point list and filtered the items by category. After filtering the items by its category and append it to its respective category panel I want to create 4 columns and whatever rows necessary with the items pulled from the list. The desired end result is attached. enter image description here enter image description here

This is the code I have developed so far

$  (document).ready(function () {   $  .ajax({     url: "http://bc-net/_api/web/lists/GetByTitle('specialDiscounts')/items",     method: 'GET',     headers: {       'Accept': 'application/json; odata=verbose'     },     success: function (data) {       var items = data.d.results;       console.log(items);         var auto = $  ('#automotive');        var entertainment = $  ('#entertainment');        var healthBeauty = $  ('#healthBeauty');        var travel = $  ('#travel');        var electronics= $  ('#electronics');        var services= $  ('#services');        var housing= $  ('#housing');         for (var j = 0; j < items.length; j++) {         var panelsContent ='<div class="row animated fadeInUp">' +                         '<div class="col-md-4">' +                         '<div class="card-body card-body-cascade text-center">' +                         '<a href=" ' + items[j].Link.Url + '" target = _blank> <h4 class="card-title my-4"><strong>' + items[j].Title +                         '</strong></h4></a><p class="card-text">' + items[j].Description + '</p>'                               // branching logic,         // append the <p> in different places based on         // different possible Category values          switch (items[j].Category) {             case 'Automotive':                 auto.append(panelsContent);                 break;             case 'Entertainment':                 entertainment.append(panelsContent);                 break;             case 'Health and Beauty':                 healthBeauty.append(panelsContent);                 break;              case 'Travel':                 travel.append(panelsContent);                 break;              case 'Electronics':                 electronics.append(panelsContent);                 break;             case 'Services':                 services.append(panelsContent);                 break;              case 'Housing':                 housing.append(panelsContent);                 break;          default:                 break;                 }     }        },     error: function (data) {       alert('Error: ' + data);     }   }) // End Service Icons  //End Service Icons }) // End ready function  

This is a piece of the HTML

<div id="housing" class="accordion-content list-reset leading-normal px-8 py-4 hidden"> <!--Services Content Injected-->  </div> 

This is what I get. enter image description here

Justupload.io – File Hosting – Upload Share & Earn Money

Hello,

We are happy to introduce Justupload.io, We offer PPD, PPS and MIX offer programs you can select which ever suitable for you.

Why to choose Justupload?

  1. Minimum payout is 10$
  2. Incomplete downloads are also counted but user has to pass the CAPTCHA.
  3. Adult contents are allowed!
  4. Payments are made via Paypal, Skrill & Bitcoin (More options will be added soon).
  5. We process payments daily including weekends….

Justupload.io – File Hosting – Upload Share & Earn Money

PowerShell to Copy files and folders from File Share to SharePoint library

How do you copy files and folders from shared drive to SharePoint document library using PowerShell? If files or folders are deleted from file share it should remove from SharePoint library as well. But if files or folders are deleted from SharePoint, then it should put it back if file share has it. I basically want to sync from file share to SharePoint maintaining folder and file structure with metadata. Thanks for all the help!

How to fix a broken page share button?

When I try to share a post in a group I’m part off from my Facebook page it won’t work anymore. I have shared hundreds of time until this problem started last Saturday.

I can share when I visit a group and I can share something from a group I visit but I can’t share anymore from my own page to any of my joint groups.

Am I blocked? Is this temporary?

Copy files and folders from file share to SharePoint library

I got below code from Phil Childs website. How do you add a delete block if files or folders do not exist on file share from below: function Copy-FilestoSP { Param ( [parameter(Mandatory=$ true)][string]$ LocalPath, [parameter(Mandatory=$ true)][string]$ SiteUrl, [parameter(Mandatory=$ true)][string]$ Library, [parameter(Mandatory=$ false)][string]$ LibraryStartFolder, [parameter(Mandatory=$ false)][string]$ ManifestFilePath, [parameter(Mandatory=$ false)][switch]$ IncludeSubFolders, [parameter(Mandatory=$ false)][switch]$ Approve, [parameter(Mandatory=$ false)][switch]$ CheckIn, [parameter(Mandatory=$ false)][switch]$ Overwrite, [parameter(Mandatory=$ false)][switch]$ Force, [parameter(Mandatory=$ false)][switch]$ FlattenStructure )

#Get web and document library objects $  web = Get-SPWeb $  SiteUrl $  docLibrary = $  web.Lists[$  Library]   #Check for the LibraryStartFolder parameter to specify a root folder if ($  PSBoundParameters.ContainsKey('LibraryStartFolder')) {     $  folder = $  web.GetFolder($  docLibrary.Title + $  LibraryStartFolder) } else {     $  folder = $  docLibrary.RootFolder }  #Attach to local folder and enumerate through all files if($  IncludeSubFolders) {     $  files = Get-ChildItem $  LocalPath -Recurse } else {     $  files = Get-ChildItem $  LocalPath }  $  files | ForEach-Object {      #Check if the object is a folder - if so, create it in doc library     if ($  _.PSIsContainer) {         if (($  IncludeSubFolders) -and (!$  FlattenStructure)) {             #Generate folder path for creation in SharePoint             #by looking at the parent folder on the local path             $  spFolderPath = ($  _.Parent.FullName.Replace($  LocalPath,"")).Replace("\","/")              #Get the folder into which the new folder will be created             #by adding the folder path generated above, if one existed             if ($  spFolderPath -eq "") {                 $  currentFolder = $  web.GetFolder($  folder.Url)             }             else             {                 $  currentFolder = $  web.GetFolder($  folder.Url + $  spFolderPath)             }              #Check to see if subfolder already exists             #and create it if not             $  testFolder = $  currentFolder.SubFolders[$  _.Name]             if ($  testFolder -eq $  null) {                 $  newFolder = $  currentFolder.SubFolders.Add($  _.Name)             }         }     }     else     {            #Generate file path for upload into SharePoint         if ($  FlattenStructure) {             $  spFilePath = ("/" + $  _.Name)         }         else         {             $  spFilePath = ($  _.FullName.Replace($  LocalPath,"")).Replace("\","/")         }          $  spFullPath = $  folder.Url + $  spFilePath          #Check if the file exists and the overwrite option is selected before adding the file         if ((!$  web.GetFile($  spFullPath).Exists) -or ($  Overwrite) -or ($  Force)) {             #Add file             $  spFile = $  folder.Files.Add($  spFullPath, $  _.OpenRead(), $  true)             $  spItem = $  spFile.Item      $  web.Dispose()             }         }     }         

}

How do I filter elements from a Share Point list by category in Java Script

I have a created an accordion that has 7 different categories (Auto, Entertainment, Health and Beauty, etc). The content of each category lives in a SP2013 List; each list item was given the respective category (Auto, Entertainment, Health and Beauty, etc). The main idea is to filter that content by category and inject the item into its respective category enter image description here

This is a piece of the HTML code:

<div id="entertainment" class="accordion-content list-reset leading-normal px-8 py-4 hidden"> <!--Entertainment Content Injected--> </div> 

This is the JS code I have developed so far

$  (document).ready(function () {   $  .ajax({     url: "http://bc-net/_api/web/lists/GetByTitle('specialDiscounts')/items",     method: 'GET',     headers: {       'Accept': 'application/json; odata=verbose'     },     success: function (data) {       var items = data.d.results       console.log(items)        var categories = [];        const auto = document.getElementById('automotive');        const entertainment = document.getElementById('entertainment');        const healthBeauty = document.getElementById('healthBeauty');        for (var j = 0; j < items.length; j++) {          var categoriesFromSharePoint = items[j].Category;         console.log(categoriesFromSharePoint);         categories.push(categoriesFromSharePoint);        }       categories.forEach(function (categoryName) {          if (categoryName === 'Automotive') {                 var paragraph = document.createElement("p");                 paragraph.innerText = items[j].Title;                 auto.appendChild(paragraph);           } if (categoryName === 'Entertainment') {                  var paragraph = document.createElement("p");                 paragraph.innerText = items[j].Title;                 entertainment.appendChild(paragraph);                  } if (categoryName === 'Health and Beauty') {                  var paragraph = document.createElement("p");                 paragraph.innerHTML = "Health";                 healthBeauty.appendChild(paragraph);                 }       })        },     error: function (data) {       alert('Error: ' + data)     }   }) // End Service Icons  //End Service Icons }) // End ready function 

The above code gives me undefined when trying to acces the Title property from the item.