cancel
Showing results for 
Search instead for 
Did you mean: 

Passing userid & pwd to Gmail Url iview

Former Member
0 Kudos

Hi Experts,

I have created a url iview .I had provided gmail url.

I want to pass the parameters of username(eg:kghtqw) & password(eg:tyh678) for the url iview .

When the url iview is viewed the username(kghtqw) & password(tyh678) should be displayed on the screen of the url iview.

Can anyone explain how to do the above ?

Regards,

Krishna Balaji T

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Christian,

I should login in to the gmail site automatically without asking for username & password by using a URL(Gmail) iview (i.e) When i preview the Url iview , it should display the "inbox" page of the gmail(The login page of the gmail should not be displayed)

How can we pass the "username" & "password" to achieve the above scenario ?

Regards,

Krishna Balaji

christiansche
Active Participant
0 Kudos

Hello Krishna,

In your URL iView, set as URL: https://www.google.com/accounts/ServiceLoginAuth

Then you set the URL Parameters.

URL Parameter: service

Value:mail

URL Parameter: Email

Value:yourId

URL Parameter: Passwd

Value:yourPWD

If you set this, you can check, if this works for you. next step would be to get ID ans PWD dynamicly.

How to set this Parameters, you can read here: http://help.sap.com/saphelp_nw70/helpdata/EN/d3/ab0b5decd045e482d0deae9f9c90d5/content.htm

From where do you want to retrieve username and password? maybe you can set a dynamic parameter that portal puts the current portaluser into the parameter "Email". But from where would you get the password?

best Regards,

Christian

Former Member
0 Kudos

Hi guys,

well i would like to offer googlemail to my colleagues. Therefore i followed your hints and also the sap docu.

I switched to server fetch mode, activated to POST-option configured a HTTP-System like given in the docu.

But we only come to the login page, wherein the user-field is filled with correct values from the user-mapping but the passwd is not filled, even though it is maintained in the user-mapping.

when i give the passwd as string to the URL the same thing happens, the field is empty!

But source-code says that the parameter is called "Passwd"!?

Can somebody help?!

br

former_member189631
Active Contributor
0 Kudos

Krishna,

You can use Application integrator for this,

Please have a look into this example link,

Ram

christiansche
Active Participant
0 Kudos

Hello,

Do you want to display Username and Password in the iView or do you want do display the Gmail Website? Or do you want directly to login? So have you tried this?

https://www.google.com/accounts/ServiceLoginAuth?service=mail&Email=yourID&Passwd=yourPWD

Look into the sourcecode from Gmail login site. Maybe you will have to pass also all of the hidden parameters in the form "gaia_loginform".

best regards,

Christian