on 01-26-2012 4:18 PM
Hi folks,
a small question, maybe there is also such a small answer available...
I wondering how to get the SUPUsername written to a key?
I was trying something like this in Custom.js, method customAfterWorkflowLoad()
(uname is the key/field to show)
var user = document.getElementById("uname");
var supUserName = getURLParam("supusername");
if(supUserName){
user.value = supUserName;
}
getURLParam("supusername") does not work...
Any Idea?
Regards,
Aksel
Hi,
I had tried to to read supUserName in the method customAfterShowScreen, and it is working fine.
Can you try to read that in this method?
Regards,
Edison
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Any one found answer for the above query? Pls share if you have any.
In 2.2 there is a library file hwc-api.js which helps to get and process the whole connection settings through workflow packages like username, password, port etc.
So, I hope there should be some way to get the HWC user details from SUP2.1.3. I have checked api.js and utils.js which only specifies "supusername" and this also for credential based workflow app.
If any one solved this, pls share with us.
Regards
Yokesvaran.k
The following sample may be helpful.
Credentials in a Mobile Workflow https://cw.sdn.sap.com/cw/docs/DOC-149768
Hi Pavan,
I found solution for this post.
We had situation to pass username, Application name, Device name and its type etc to an operation. Do the below steps to pass these parameters.
Not only username, you can also select BackendUsername, BackendPassword, DeviceId, Devicetype, MessageId, ModuleName, ModuleVersion, QueueId etc.
I hope this will help you. All the best.
Regards
Yokesvaran Kumarasamy
Can you try "supuser" ?
Ian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
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.