- Forum
- T24 Technical Discussions
- T24 Development & Customization
- How to Introduce new button in version
How to Introduce new button in version
- manoj@1993
- Topic Author
- Offline
- New Member
- t24 CONSULTANT
- Posts: 18
- Thank you received: 0
My requirement is to link a routine to a button in version screen, In which the routine must be executed while clicking the button.
Is this require to modify the version.js file in standalone?
Can any one share your ideas ?
Thanks,
Manoj
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
- Posts: 247
- Thank you received: 20
Please Log in or Create an account to join the conversation.
- manoj@1993
- Topic Author
- Offline
- New Member
- t24 CONSULTANT
- Posts: 18
- Thank you received: 0
Purpose of the routine is to post an OFS msg, when the user click the button. As you said the button will be displayed in right side of the fields.
Do you got any example screen shots?...
Thanks,
Manoj
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
- Posts: 247
- Thank you received: 20
Ive never tried to attached an routine on customize button, only javascript. Im thinking its possible to call the routine via javascript. its like what fastpath enquiry do.
So far. This is what Ive tried below
1. Ive attached an routine that execute ofs upon authorization. Ive found this on T24 User guide at Tcsp portal (Ex. While authorizing the money market. it will create an ft transaction)
2. Attached a JavaScript on button. This can pass the data on another server or application(Ex. Upon cliking the button. it will pass the account number, currency and amount to another server and it will return the signature image on new tab window)
Please Log in or Create an account to join the conversation.
- manoj@1993
- Topic Author
- Offline
- New Member
- t24 CONSULTANT
- Posts: 18
- Thank you received: 0
Can you give the javascript code to invoke a jbase routine ? Hope you have done this setup in Version.js or custom.js...
rgds,
Manoj
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
- Posts: 247
- Thank you received: 20
Please Log in or Create an account to join the conversation.
- manoj@1993
- Topic Author
- Offline
- New Member
- t24 CONSULTANT
- Posts: 18
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
- Posts: 247
- Thank you received: 20
So when the user click the Validate button it will send an ofs string? even he didnt commit the contract?
Please Log in or Create an account to join the conversation.
- manoj@1993
- Topic Author
- Offline
- New Member
- t24 CONSULTANT
- Posts: 18
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
- Posts: 247
- Thank you received: 20
Please Log in or Create an account to join the conversation.
- manoj@1993
- Topic Author
- Offline
- New Member
- t24 CONSULTANT
- Posts: 18
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
- Posts: 247
- Thank you received: 20
Please Log in or Create an account to join the conversation.
- manoj@1993
- Topic Author
- Offline
- New Member
- t24 CONSULTANT
- Posts: 18
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
- Posts: 247
- Thank you received: 20
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
- Posts: 247
- Thank you received: 20
You may also check my code here github.com/silvergem/t24localapi. Ive parameterized the OFS attributes and retrieve the data on Version>AUT.NEW.CONTENT which came from enquiry drilldown
Please Log in or Create an account to join the conversation.
- Forum
- T24 Technical Discussions
- T24 Development & Customization
- How to Introduce new button in version