1. Access to webparts

    Article: AN0001897 Updated: 23.09.2018 Displayed: 1083x

    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;

  2.    ---
    Your rating:
    Rated by users: 0x
  3. Top