× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

Call a JavaScript functionality in browser from routine

  • eyesark
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 11 months ago #22874 by eyesark
I would like to be able to call JavaScript functionality from a routine for browser, e.g. to do local print in T24, browser uses javascript:action("PRINT"); to go back to SELECTION SCREEN, it is javascript:action("SELECT"). How can I implement this functionality in a routine?
Attachments:

Please Log in or Create an account to join the conversation.

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
4 years 11 months ago #22880 by silvergem
This is a Javascript function which you can add on custom.js and attached on your own button at BROWSER.TOOLBAR AND BROWSER.TOOLS.

Please Log in or Create an account to join the conversation.

  • eyesark
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 11 months ago #22883 by eyesark
The function is actually known, it's one of the above; I want to call the function, in addition to another functionality in my basic routine. Also, I don't have access to browser files; so i need to do everything in basic routines

Please Log in or Create an account to join the conversation.

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
4 years 11 months ago #22885 by silvergem
Your requirement is very unclear. Buttons is on browser level. well you can use a core function EB.SET.NEXT.TASK...

Still Kindly be specific on your requirements for better resolution

Also you can always file a request on TCSP portal or check there user guide on portal

Related to JavaScript files. you can use the built in browser debugger (F12) to edit the js on the fly and request to your server admij to push the code on the server

Please Log in or Create an account to join the conversation.

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
4 years 10 months ago #22902 by silvergem
www.wikibanking.info/2012/09/example-of-...-url-from-a-version/ - you may refer this,]. per checking on my inventory the command doesn't exist

Please Log in or Create an account to join the conversation.

  • eyesark
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago #22904 by eyesark
Yeah, i didn't get that command in my envt either.

Please Log in or Create an account to join the conversation.

Time to create page: 0.045 seconds