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

Thread: Calling Script Panel from JS?

  1. #1
    Senior Member
    Join Date
    Jun 2007
    Location
    Australia
    Posts
    197

    Question Calling Script Panel from JS?



    Good afternoon all,

    i'm having some trouble getting my javascript to call on a script in the script panels. (ie: db --> scripts)

    can anyone shed some light on how this is supposed to be done?

    i tried:

    Code:
    system.functions.script_execute($file,"my script name");

    obvously i'm trying to call the rad script.execute, but i've no idea what i'm doing

    thank you all for your patience!!

    Lukus

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

    Default

    That won't work. Search for callrad in the javascript forum. There are multiple examples of how to call rad applications from javascript.
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

  3. #3
    Senior Member
    Join Date
    Jun 2007
    Location
    Australia
    Posts
    197

    Default

    awesome, thanks Tommy!

    i figgured the help files help was not going to help....

    Usage system.functions.RAD function name( RAD function arguments )i couldn't get that to work at all...i'll head to the Java forums now

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

    Default

    Yeah but there is a diffence between RAD Functions and RAD Applications. script.execute is an application not a function. filename() for example is a function.
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Tags for this Thread

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