Answered by:
Ribbon not showing or not responding

Question
-
I have a nasty problem
I'm creating an email message in code and showing this to the user. The problem is not that the ribbon is acting up.
When I create the message as system admin the ribbon is showing but not responding.
When I create a message with a user with limited rights, full control on activities though, then the ribbon is not showing at all.There doesn't seem to be any JS blocking. Anyone got an idea what this could be or how I can debug this?
Wednesday, May 30, 2012 8:36 AM
Answers
-
Found the problem
I looked what the full URL was where I directed CRM to and there was a '/' too many. Removed that and it worked.
- Marked as answer by Sven Vanoirbeek Wednesday, May 30, 2012 12:19 PM
Wednesday, May 30, 2012 12:19 PM
All replies
-
Do you create your email message using JScript Code? Which UR is installed? Which IE Version used?
Carsten Groth http://carstengroth.wordpress.com Microsoft Dynamics Certified Technology Specialist
Wednesday, May 30, 2012 8:42 AM -
While showing the record to the user, append &extraqs= at the end of the URL.
URL for CRM record should have extraqs as parameter, it is ok still not have a value for this parameter but the still the parameter exist in the web address.
Wednesday, May 30, 2012 8:44 AM -
The email message is created in c#, the GUID is returned to JS and the actual message is opened in js like this:
var serverUrl = context.getServerUrl();
if (!serverUrl.endsWith('/')) {
serverUrl += "/";
}
var path = serverUrl + "/main.aspx?etn=email&extraqs=etc%3d4202%26id%3d%257b" + createdObjectGuid + "%257d&id=%7b" + createdObjectGuid + "%7d&pagetype=entityrecord";
window.open(path, "email", "width=700,height=500,resizable=yes,status=no,toolbar=no,menubar=yes,location=no,scrollbars=yes");
CRM2011 UR7 is installed
Browser: IE9
Wednesday, May 30, 2012 9:31 AM -
Hi Sven Vanoirbeek,
I think it some Java Script error.so first open the solution and remove the JavaScript from that form.Ribbon will display...
Wednesday, May 30, 2012 10:00 AM -
There is no custom js in the email entity
Any other idea?
Wednesday, May 30, 2012 11:44 AM -
Found the problem
I looked what the full URL was where I directed CRM to and there was a '/' too many. Removed that and it worked.
- Marked as answer by Sven Vanoirbeek Wednesday, May 30, 2012 12:19 PM
Wednesday, May 30, 2012 12:19 PM