Use this JavaScript module to handle SummaryLinks in SharePoint client side. Out of the box, SharePoint provides a deserialized value when reading a SummaryLinks field or the SummaryLinkStore property on a Summary Link web part. Basically this looks like a string containing XML.

This module is able to understand this XML string and allows you to manipulate the SummaryLink data in it. After that, you can cast it back to the XML string that represents the manipulated data and store that using the JSOM of SharePoint.

If you find yourself in the need of accessing SummaryLinks using JavaScript in SharePoint, then I expect that the SummaryLinkStore.js module will be able to help you with handling that data.

See documentation for details.

You might be interested in my blog as well

Kind regards,
Pieter-Bart van Splunter (author of the module)

Last edited Oct 28, 2015 at 5:02 PM by pbvansplunter, version 19