1. Script for a button

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

    Setting up button in class detail

    You can hide buttons in the list of records or in the record detail. You can always hide a button by a script. However, if the button is disabled for display already in its definition, you cannot display it.
    Following script hides button with code wf-timer.

    Where to use this script: Class detail: Script for record detail or Script for list of records

    function OnLoad()
    {
        OGControlOperations['wf-timer'].Visible = false;
    }


    Setting up button Back

    There is button Back on page wih list of records or page with webparts. This button can be controlled by following script.

    Where to use this script: Class detail: Script for record detail or Script for list of records; Page detail: Script
    var b = OGForm.GetControl('backToolbarButton');
    b.Visible = true;    //displaying the button
    b.Text = 'My Back to start';  //defining custom tex
    b.NavigateUrl = 'Datas.aspx?CId=407'; //url to navigate after clicking on button

×