Javascript common

Web - Edit article in its origin

Usually if you need to edit article, you just choose edit link from some developer menu. But if you want to edit an article in production it would be relevant to edit it in the origin from where it came from. And sometimes it's not an easy task to remember all development URL'S.

So you can use following function to generate link, which will give you correct URL to appdesigner in correct origin.

     * get appdesigner link in article origin
     * @function
     * @param {function} pCallback - callback function which returns link.
     * @usage af.article.Helpers.getAppdesignerEditLink(x=>console.log(x))
    function getAppdesignerEditLink(pCallback){..}

Placeholder "LocalizeWeb2016" failed