on 08-07-2014 4:15 PM
Hello Experts
I am facing an issue for passing a value to the MBO in hwc sup.
I am using the below code for it .
I am writing the code in customBeforeSubmit function in Custom.js.
Here is the code below
if((screenKey === "_WelcomePage") && (destScreenKey === "DestinationScreen"))
{
var formWelcome1 = document.forms["DestinationInfoForm"];
if (formWelcome1)
{
alert(123654123);
alert(" In Payment Tracker "+"123654123");
formWelcome1.arg2.value = "123654123";// masterSessionId;
}
}
Please share some idea regarding this issue?
Thanks
Anil
Hi Anil
Create edit box type hidden and give id for your input argumet in html view in your requrid page(DestinationScreen)
thanks
reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much for your reply.
I have to pass username to a MBO .
After passing the username ,a sessionID shoud be generated .
when the sessionID is passed in Backend SQL Server Database,Whatever Username we passed that should be Displayed.
In the alert it is showing.
But it is not reflecting on the Database.
Thanks
Anil
Hi Midhun
I am using propagate to attribute as Username and sessionID for the MBO.(plz check screenshot)
I am writing the below code in customAfterNavigateForward()
if((screenKey === "_WelcomePage") && (destScreenKey === "Destinationscreen"))
{
alert(masterUserName);//this alert is coming
var formWelcome1 = document.forms["DestinationscreenForm"];
if (formWelcome1)
{
formWelcome1.arg0.value = masterUserName;
}}
Thanks
Anil
If your requirement is to map load parameter with username, keep the MBO in on demand cache >map the default PK "username" with the load parameter. Later when you implement login screen the the cached backend username will be passed as an input to the MBO. If you can provide more information on the requirement and steps you followed I can help you further.
Regards,
Midhun VP
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.