Version:
  1. Script for access to control

    Article: AN0001896 Displayed: 526x

    We can use script for allowing access to certain functionalities based on facts assessed by script. Below example hides button 'start_pc' to user, that does not have role 'workstation_admin'.

    Where to use this script: Script for record detail or list of records, Script in page detail

    function OnLoad()
    {
      if ( !OG.Person.IsUserInRole('worstation_admin'))
      {
        OGControlOperations['start_pc'].Visible = false;
      }
    }

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