Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

How to send user id and password to SAP portal and get the status back

$
0
0

On the click of a button in my (SAP) Adobe Interactive Form,

 

I need to verify the log in user id and password to SAP portal and get the status or something back.

 

So I chose the following approach with javascript

at button CLICK event in the adobe form 

var cPortalUrl = "https://xyz.abcd.com:50001/irj/portal?j_user=<userid>&j_password=<password>";

var cStatus;

var pingportalstatus =
function PortalPing (cPortalUrl){
    var xmlHttp = new XMLHttpRequest();

xmlHttp.onreadystatechange = function()  

     { 

          cStatus =  xmlHttp.status;

     };


    xmlHttp.open("GET", cPortalUrl, false);
    xmlHttp.send();

return xmlHttp.status;
};

 

But I am not getting any status back in cStatus.

 

Please advise

 

Thanks,

Bhaskar


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>