×
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...
Show the URL in VERSION
- Emma83098
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
4 years 7 months ago #22305
by Emma83098
Show the URL in VERSION was created by Emma83098
If I need to show a URL in my VERSION and I could click these URL to send some information to another system.
Is it possible to do it?
Thank you.
Is it possible to do it?
Thank you.
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 246
- Thank you received: 19
4 years 7 months ago - 4 years 7 months ago #22306
by silvergem
Replied by silvergem on topic Show the URL in VERSION
Yes you can.
1. Create a button using BROWSER.TOOLS and attached your JavaScript function
2. Attached your JavaScript function on custom.js inside browserweb war file
3. Attached your button on HYPERLINK field on VERSION
4. There is java class file needed also
HYPERLINK
Putting a hyperlink here will allow the user to access the link by clicking on the field name in the version record. A custom button (Browser Tool record) can also be specified and will appear just after the input field.
PS 1: We have similar function which pass the account no, amount and currency and open a new tab with signature image
PS 2: You can also use this REST API
PS 3: You can also add url only on HYPERLINK field
1. Create a button using BROWSER.TOOLS and attached your JavaScript function
2. Attached your JavaScript function on custom.js inside browserweb war file
3. Attached your button on HYPERLINK field on VERSION
4. There is java class file needed also
HYPERLINK
Putting a hyperlink here will allow the user to access the link by clicking on the field name in the version record. A custom button (Browser Tool record) can also be specified and will appear just after the input field.
PS 1: We have similar function which pass the account no, amount and currency and open a new tab with signature image
PS 2: You can also use this REST API
PS 3: You can also add url only on HYPERLINK field
Last edit: 4 years 7 months ago by silvergem.
Please Log in or Create an account to join the conversation.
- Emma83098
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
4 years 7 months ago #22311
by Emma83098
Replied by Emma83098 on topic Show the URL in VERSION
Thanks for your reply.
How can I attached the JavaScript function to my BROWSER.TOOLS?
Do you have any simple example?
How can I attached the JavaScript function to my BROWSER.TOOLS?
Do you have any simple example?
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 246
- Thank you received: 19
4 years 7 months ago #22312
by silvergem
Replied by silvergem on topic Show the URL in VERSION
Most records found in BROWSER.TOOLS is java-script function. Have you check?
Please Log in or Create an account to join the conversation.
- Emma83098
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
4 years 7 months ago #22313
by Emma83098
Replied by Emma83098 on topic Show the URL in VERSION
The URL is shown on the version. Thank you.
By the way, do you know how to log in automatically, when I click the URL?
And could I get the value of R.NEW in my custom.js?
By the way, do you know how to log in automatically, when I click the URL?
And could I get the value of R.NEW in my custom.js?
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 246
- Thank you received: 19
4 years 7 months ago - 4 years 7 months ago #22314
by silvergem
Replied by silvergem on topic Show the URL in VERSION
Here is a sample function that is attached on BROWSER.TOOLS button and VERSION
P.S 1 Since we cannot attached the js per version. we added a conditional statement
P.S 2 This has corresponding "RetrieveDocument.jar" files
function viewsignature()
{
//Get Version name
var application = document.getElementById("application").value;
var version = document.getElementById("version").value;
var versionname =application + version;
//Get Init
var Account="",Amount="",Company="",Currency="";
//Get Value here
if (versionname=="TELLER,SAMPLE" || versionname=="TELLER,SAMPLE2")
{
Amount = document.getElementById("fieldName:AMOUNT.LOCAL.1:1").value;
Account = document.getElementById("fieldName:ACCOUNT.1:1").value;
Currency = document.getElementById("fieldName:CURRENCY.1").value;
}
else if (versionname=="FUNDS.TRANSFER,SAMPLE")
{
Amount = document.getElementById("fieldName:DEBIT.AMOUNT").value;
Account = document.getElementById("fieldName:DEBIT.ACCT.NO").value;
Currency = document.getElementById("fieldName:DEBIT.CURRENCY").value;
}
Company = document.getElementById("companyId").value;
//Get Remove format on Amount
if (Amount.indexOf(',') > 1)
{
//alert('Before '+Amount);
Amount = Amount.replace(/,/g,"");
//alert('After ' +Amount);
}
//Create form
var form = document.createElement("form");
form.setAttribute("method", "post");
form.setAttribute("action", "../servlet/ServletRetrieve");
form.setAttribute("target","_blank");
//Create hidden fields and assign value
var hiddenField = document.createElement("input");
hiddenField.setAttribute("type", "hidden");
hiddenField.setAttribute("id", "acc");
hiddenField.setAttribute("name", "acc");
hiddenField.setAttribute("value",Account);
hiddenField = document.createElement("input");
hiddenField.setAttribute("type", "hidden");
hiddenField.setAttribute("id", "amount");
hiddenField.setAttribute("name", "amount");
hiddenField.setAttribute("value",Amount);
form.appendChild(hiddenField);
hiddenField = document.createElement("input");
hiddenField.setAttribute("type", "hidden");
hiddenField.setAttribute("id", "currency");
hiddenField.setAttribute("name", "currency");
hiddenField.setAttribute("value",Currency);
form.appendChild(hiddenField);
hiddenField = document.createElement("input");
hiddenField.setAttribute("type", "hidden");
hiddenField.setAttribute("id", "company");
hiddenField.setAttribute("name", "company");
hiddenField.setAttribute("value",Company);
form.appendChild(hiddenField);
document.body.appendChild(form);
form.submit();
document.body.removeChild(form);
}
P.S 1 Since we cannot attached the js per version. we added a conditional statement
P.S 2 This has corresponding "RetrieveDocument.jar" files
Last edit: 4 years 7 months ago by silvergem. Reason: update code
Please Log in or Create an account to join the conversation.
- Henrymayz
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
3 years 7 months ago #22860
by Henrymayz
Replied by Henrymayz on topic Show the URL in VERSION
Hi @silvergem,
I am working on something similar to this.. but would like to build a posting window from js as we are using the same to validate customer's credentials before the window can open for the teller to process transaction.
how can we build a version screen using javascript to open up for the teller after our validation is successful?
looking forward to hearing from you
I am working on something similar to this.. but would like to build a posting window from js as we are using the same to validate customer's credentials before the window can open for the teller to process transaction.
how can we build a version screen using javascript to open up for the teller after our validation is successful?
looking forward to hearing from you
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 246
- Thank you received: 19
3 years 7 months ago #22861
by silvergem
Replied by silvergem on topic Show the URL in VERSION
Javascript on version is normally
Mostly the buttons on t24 was built in JavaScript, normally you can attached a JavaScript on button Or if your customer validation is within T24, you can use the field version "Next Version" or EB.SET.NEXT.TASK function or you can also combine multiple screens using composite which the value is came from the another version or enquiry
Mostly the buttons on t24 was built in JavaScript, normally you can attached a JavaScript on button Or if your customer validation is within T24, you can use the field version "Next Version" or EB.SET.NEXT.TASK function or you can also combine multiple screens using composite which the value is came from the another version or enquiry
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 246
- Thank you received: 19
3 years 7 months ago #22862
by silvergem
Replied by silvergem on topic Show the URL in VERSION
Mostly the buttons on t24 was built in JavaScript, normally you can attached a JavaScript on button Or if your customer validation is within T24, you can use the field version "Next Version" or EB.SET.NEXT.TASK function or you can also combine multiple screens using composite which the value is came from the another version or enquiry
Please Log in or Create an account to join the conversation.
- Henrymayz
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
3 years 7 months ago #22863
by Henrymayz
Replied by Henrymayz on topic Show the URL in VERSION
@shilvergem -> We are verifying the customer's signature details outside t24.. if they match then we initially thought using javascript would make things somewhat more flexible to then get the response from the third party application to T24 and then that response to prompt the form creation of the cash withdrawal window..
what are your thoughts on the best way to achieve this?
Are you okay with sharing your skype id so we can chat there as well?
what are your thoughts on the best way to achieve this?
Are you okay with sharing your skype id so we can chat there as well?
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 246
- Thank you received: 19
3 years 7 months ago #22864
by silvergem
Replied by silvergem on topic Show the URL in VERSION
This is possible since there is web validation field on VERSION or create a fully customize since T24 is build entirely in JavaScript and java (jar files). You can file on TCSP support on how to use the web validation field on Version and look into custom.js.
Our approach is different on my previous bank since we enter the teller transaction, click the button that will open a customer signature web page which will get the image from interface system (Java + JavaScript).
Currently our image verification system is within T24 since we utilize the Image module, everytime the account number was entered, the linked enquiry will automatically refresh and display the multiple page signatures(.tiff)
Our approach is different on my previous bank since we enter the teller transaction, click the button that will open a customer signature web page which will get the image from interface system (Java + JavaScript).
Currently our image verification system is within T24 since we utilize the Image module, everytime the account number was entered, the linked enquiry will automatically refresh and display the multiple page signatures(.tiff)
Please Log in or Create an account to join the conversation.
Time to create page: 0.140 seconds