SageCRM Logging out issue

By | November 19, 2010

Has anyone come across a situation where SageCRM has logged out on hitting the Cancel button of a communication screen that also has a custom tab?

Recently while doing the customization I encountered the same problem. Let me explain the steps that give me the error.

1. I created a new tab “Test” in communication entity and Test.asp page is called on this tab to display my requirement.

2. Once you create a communication (Task, Appointment etc.) for a person, go into the Details tab of Communication Detail screen, then click on the ‘Test’ tab, then click on the ‘detail’ tab and hit cancel. It will log you out.

3. However the functionality of Test tab works perfectly.

4. After doing some RND, I found that the Action of Cancel button changes from “=183” to “=430” after returning from Test to Details tab.

5. And that’s it. Once you replicate what exactly is the issue then solving the issue is not really big deal and I   decided to change the Action of Cancel button on load of the screen.

6. If any other attributes (like Key-1) are disturbed then you can refer my post for handling other attributes of URL on “Handle Save and Cancel URL”.

 http://sagecrmaddons.blogspot.com/2009/05/handle-cancel-and-save-url.html

7. I used the following JavaScript to fix the issue.

            

8. Copy the above script and paste in CustomCommuniationDetailBox under Administration–> Customization –> Communication.

For queries regarding the functionality, please feel free to drop us an email at crm@greytrix.com.