Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 3 of 3

Thread: Login script

  1. #1
    Member mstokes's Avatar
    Join Date
    Dec 2001
    Location
    Australia
    Posts
    68

    Question Login script

    Does anybody know of a way of running a script as soon as a user logs in?
    I want to be able to get a field value from the operator record using rtecalls and pop it into a global variable for use in that session.

    In the past I have done it off the user's main menu. eg. The user clicks on "problem queue" but it actually calls my script which does some stuff and then sends them off to the problem queue.

    This time the value I need is required before they do anything in the session so it would be a bit cumbersome to run this type of script off every menu item.

  2. #2
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,270

    Default

    Add what You need on login.DEFAULT formatctrl.

    Use ADD condition to run it.

    Be really carefull and do not log off until You have testet with a second session that You can login. Making a mistake in this formatctrl can cause You not to be able to login.

    You should also be able to test the new formatctrl by naming it login.USERID for example login.falcon then this formatctrl should run when falcon logs in.

  3. #3
    Member mstokes's Avatar
    Join Date
    Dec 2001
    Location
    Australia
    Posts
    68

    Smile

    Thanks Tommy.
    That works great. I also found that you can select the "Run Script" checkbox and put the name of the script in the initialization section. eg. $script.name="GetOperatorSyscat"

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts