1. Access to webparts

    Article: AN0001897Updated: 23.09.2018

    It is possible to refer to another webparts by means of property OGWebParts in scripts on page or in webparts. In this way you can hide or display webparts on the fly, read their data or pass them data. Access to webparts is used e.g. in model Knowledge Base.

    Where to use this script: Script in the page or in webpart

    OGWebParts['grid_article_request'].Visible = false;
    OGWebParts['text'].SetData('article', article);
    OGWebParts['rating'].ParentDataRow = article;

×