As titled,

I'm thinking of managing Sharepoint elements or HTML using Sharepoint list, like for example, i have a Sharepoint list which stores the attribute data for Promoted Links (id, class, text, info, href, etc..).

From here, i can use that same Sharepoint list to create a Promoted Links dynamically on the site page, where if i insert a new item into the list, it will automatically create a new Promoted Links straight on my site page on Sharepoint.

I want to know if this kind of thing (not limited to Promoted Links only, can be other HTML elements too) can be done in Sharepoint 2010/2013?


  • Why not, you can create Visual Web Parts or use XSLT to display as you want.. but I suggest not to save entire HTML in the list instead save the data in the lists and display as per need Commented Sep 10, 2015 at 10:51
  • I haven't fully explore Sharepoint yet, so i might not know how to go with what you suggested. My idea for the sharepoint list is just to store the HTML attributes/data for elements, in which i will use services (using Jquery i guess?) to fetch the data from list and create element based on the retrieved data from the list.
    – Fred A
    Commented Sep 10, 2015 at 12:44
  • Yes that can be done, you can use REST API : msdn.microsoft.com/en-us/library/office/dn292552.aspx Commented Sep 10, 2015 at 13:13

1 Answer 1


You can have a list with the requisite column - and on page load, fire a rest to the list in order to fetch all the data for the link. The code would something like this :

$(document).ready(function() {


function initPromotedLinks() {

  //get from the list - rest
  var linkStruct = "";

    method: 'GET',
    url: < url > +"/_api/web/lists/getByTitle('" + < name of the list with promoted links >
      +"')/items" + < filter params, if any > ,
    header: {
      "Accept": "application/json; odata=verbose"
    success: function(data) {
      for (var i = data.d.results.length - 1; i >= 0; i++) {
        linkStruct += "<div class='tile'><a href=" + data.d.results[i].url + ">" + data.d.results[i].description+ "</a></div>";

      // now that the link structure is built - append it to the requisite div 

    failure: function(data) {



You can change the structer of the html you are appending into linkStruct above according to the structure used for promoted tile markup that you are using.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.