Communication Continue Button

Hi,

I am redirecting to a communication record using a redirect inside an asp page. The company summary page loads fine but the continue link seems to be broken, all other buttons are fine. The URL for the continue button seems to be "http://{server name}/CRM/CustomPages/" ....and thats it?

The ASP Page is simply

ValidatePageUrl = CRM.Url(363)+"&Key6="+communicationId+"&Comm_CommunicationId="+communicationId+"&GridID=228";
Response.Redirect(validatePageUrl);

I've tried copying the URL from the screen as if i was loading it normally and putting that in the redirect but it doesn't work....... Loading the screen normally results in the continue button working.

I don't understand that if i am copying the exact same URL as the standard system, why it responds differently?

This is using Sage CRM 7.1

  • 0

    Hi,

    I think what you are doing is as follows.

    1. On hyperlink of communication list you are calling some asp page.
    2. From this asp page you are redirecting to the communication summary screen.

    If this is correct there are couple of things you need to handle.

    1. When you are redirecting to communication summary page send F and J parameters in URL. e.g. &F=jobs/jobsummary.asp&J= jobs/jobsummary.asp

    2. Now all your back actions like back button and continue button will redirect to your asp page first. Hence on ASP page you must write code to go back to communications list. You have to add below code on top of your ASP page for the same.

    if(Request.QueryString("History")=="T")
    {
    Response.Redirect(eWare.URL(521));
    }
    if(new String(Request.QueryString("T")).toLowerCase()=="new")
    {
    Response.Redirect(eWare.URL(1201)+ "&T=New");
    }

    Hope this helps!

    Regards,
    Dinesh

  • Hi Dinesh,

    Thanks for the reply, i've tried what you suggested but with no luck! This is the new URL

    http://sas-laptop9/crm/eware.dll/Do?SID=209661815457623&Act=363&Mode=1&CLk=T&Key0=1&Key1=12881&Key2=24703&Key24=12881&Key6=15346&Comm_CommunicationId=15346&GridID=228&E=Communication&T=Communication&F=RedirectCommPage.asp&J=RedirectCommPage.asp

    However the button urls on the Communication summary just are not being set!?

    If i hover over the 'Cancel' button i can see the URL has been set to http://sas-laptop9/CRM/CustomPages/ , Also the Save button seems to redirect here as well!? Very Strange!!!