on 10-22-2013 7:50 AM
Hi All,
I need mskey of a mskeyvalue via javascript. I have written below script to return MSKEYVALUE of MSKEY input. But I am unable to write MSKEYVALUE to MSKEY. Can anyone guide me? How I can modify the same function to return MSKEY?
function ECP_MSKEYfromMSKEYVALUE(Position)
{
var idStore = UserFunc.uGetIDStore();
if(idStore != 2)
{
uError("Cannot determine MSKEY for MSKEYVALUE " + Position + ";
function not run as part of a provisioning job");
return "";
}
var mcmsKey = "";
if(Position != null && Position != "")
{
mcmsKey = UserFunc.uIS_GetValue(Position, idStore, "MCMSKEY");
}
return mcmsKey;
Thanks,
Dhiman PAul.
Dhiman,
Would this internal function do what you want:
http://help.sap.com/saphelp_nwidmic72/en/using_functions/internal_functions/dse_uis_get.htm
Regards,
Rannveig Østevik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Yes, uIS_GetValue worked for me.
Thanks,
Dhiman PAul.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dhiman,
you use uIS_GetValue. I think, you need uIS_sGet to get the mskey. You'll find the description in the IdM help.
Regards,
Steffi.
EDIT: Aaaand Rannveig came out of nowhere. What he said. ^^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
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.