cancel
Showing results for 
Search instead for 
Did you mean: 

SRM EBP: Redirect to Inbox page from the custom internet service

Former Member
0 Kudos

Hello,

In SRM EBPLogon page once the managers logs on dispalyes Inbox page for Managers which displays the list of requests in his inbox, once Manager clicks on the particular request, the details of the employee gets display which is custom internet service. After Approve or Reject the message gets displays "WorkFlow executed properly". Instead of showing this message I want my custom Service template (200) to directly take the manager to his inbox. Has anyone implemented the same? Or How can I transfer/redirect my request to the Inbox page which is different service's template.

Thanks in advance,

Navneet

Message was edited by: Navneet Pulekar

Message was edited by: Navneet Pulekar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Navneet-

Hope all is going well. The message page you are speaking of is in a current custom template - at least that is how I understand the function based on your posting. I believe you can redirect the page back to the inbox with a simple bit of script in your template.

Onload you just need to tell it to start the inbox service again - if I recall it that is just bwsp_simple.

So it would look something like this...

<BODY onLoad="redirect()">

<SCRIPT LANGUAGE="JavaScript"><!--

function redirect () {

window.location.href = "http://server/scripts/wgate/bwsp_simple/!";

}

//-->

</SCRIPT>

You may have to change this a bit to get it to be properly framed and you should be able to dynamically get the current app server from the ITS parameters.

Regards-

b

Former Member
0 Kudos

Hi Brian,

Thank you for your help.

I tried implementing the Java script code but it was giving error "Service could not found."

Then I tried using this BODY tag in the HTML template and it worked for me.

<body `BackgroundAttributes()` onload="location.href = '`~urlwgate`/bbpapproval/!';">

Thank you one again,

Your guide line was indeed helpful.

Regards,

Navneet

Former Member
0 Kudos

Navneet-

What is the genearted URL that it is attempting to re-drect the page to? Can you see that this is code is interpeted to the correct URL?

Try the URL directly in a browser - can it be used to call the page correctly - get this figured out first.

You might also just try a simple re-direct to something like google to see that it truly is working and the URL just needs to be manipulated.

Good luck.

b

Former Member
0 Kudos

Hi Brian,

Sure I will try whatever you have suggested. Infact I tried adding dummy URL in redirect which did not work for me. Thats why I dropped the idea of calling Redirect() javascript function and called the location.href in Body onload which worked fine.

Thanks for all your help.

Rgds, Navneet