on 09-04-2014 10:59 AM
Hi Experts
I am adding a new attribute to my existing MBO.
Whenever I am invoking that attribute in Custom.js like
var wxz = currItem.getData("xxx_login_mbo1_language_attribKey").getValue();
I am not getting this value.
i am debugging through alert like
alert('1")
var wxz = currItem.getData("xxx_login_mbo1_language_attribKey").getValue();
alert("2");
getting alert 1 but not 2
Thank you so much.
var wxz = currItem.getData("xxx_login_mbo1_language_attribKey").getValue();
I am not getting this value.
You mean to say that you are getting the value in the variable wxz ? you can check it like alert("val:"+wxz);
Or if you mean wxz value is empty you, since you added a new attribute to MBO you can try below:
*Delete MBO package from SCC
*Delete the application from SCC>servers>Applications>Applications.
*Restart SUP server
Regards,
Midhun VP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
var currItem= items[i];
var userName = currItem.getData("xxx_login_mbo_username_attribKey").getValue();
var paswd = currItem.getData("xxx_login_mbo_password_attribKey").getValue();
var sessId = currItem.getData("xxx_login_mbo_sessionid_attribKey").getValue();
var status = currItem.getData("xxx_login_mbo_status_attribKey").getValue();
earlier I was using the above codes ,it is working fine.
When I add the below line code for adding a new attribute,it is not working.
This line makes stop to login the app.
Note: If I comment the below line ,again it is working fine.(MBO is recreated after this attribute is added on backend SAP)
var bbc = currItem.getData("xxx_login_mbo_language_attribKey").getValue();
Thanks for your kind reply.
Click anywhere on the designer>Properties>keys> Are you able to see multiple MBO objects like, if your MBO name is Test you may find Test, Test1. Keep only one MBO by deleting other keys or delete all the keys and remap the online request used, so a new set of keys will be created.
Regards,
Midhun VP
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.