1. Access to webparts

    Artikel: AN0001897Aktualisiert: 23.09.2018
    Die vorgegebene Sprachenversion vom Artikeltext wird angezeigt, weil es kein Text von der ausgewählten Sprache und Version gibt.

    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;