Wednesday, June 12, 2013
dot Net: (Part 1) What are delegates in c#?
dot Net: (Part 1) What are delegates in c#?: Hello everyone, today we are going to discuss the delegates using c#,we will discuss the syntax, and in the end we will take a look at examp...
Monday, January 21, 2013
Control Which Browsers Your Organization Supports
This article describes a Microsoft Dynamics CRM 2011 managed
solution that enables a Microsoft Dynamics CRM 2011 and Microsoft Dynamics CRM Online
organization with Microsoft Dynamics CRM 2011 Update Rollup 12 or the Microsoft Dynamics CRM December 2012 Service Update to control which browsers are
supported for your organization.
Update Rollup 12 or the December 2012 Service Update adds
the long awaited capability to use Microsoft Dynamics CRM with browsers other
than Internet Explorer. However, with this change there is potential for
customizations using JavaScript to stop working if they were not written for
the new set of browsers that Microsoft Dynamics CRM supports. As in my earlier
blog named
Using
the Solution
The Control Browser Support for Organization solution is easy to install and configure.
To Install and Configure the
Solution
1.
Download the
ControlBrowserSupportforOrganization_1_0_0_0_managed.zip
solution.
2.
Install the
solution.
3.
In the Solutions
list, open the solution and view the Configuration page. The configuration page
includes instructions about how to locate and edit the Organization Browser
Support Message (sample_OrganizationBrowserSupportMessage.htm) HTML web resource.
You must open this web resource from the default solution. You cannot access a
web resource through a managed solution page.
4.
Edit the Organization Browser Support Message
(sample_OrganizationBrowserSupportMessage.htm) HTML web resource using the Text Editor. Use the Source tab in the Text Editor when you set recommended links. The default HTML for this web
resource is look similar as below like this
<HTML><HEAD><TITLE>Browser Support Page</TITLE>
<META charset=utf-8></HEAD>
<BODY style="FONT-FAMILY:
Tahoma, Verdana, Arial" contentEditable=true>
<SCRIPT type=text/javascript>
document.onselectstart =
function () { return
false };
</SCRIPT>
<P>At [Organization Name] we
only support using Internet Explorer version 7 or higher when accessing
Microsoft Dynamics CRM. </P>
<P>For more information or
to request support for additional browsers contact <A href="mailto:someone@example.com?subject=browser support
for Microsoft CRM">[Administrator Name]</A>. </P></BODY></HTML>
You
should only change the 3 values in above HTML code to meet you organization
(a) [Organization Name],
(b) mailto:someone@example.com
and [Administrator Name]
Note:
this is Default message that display if User doesn’t used other than your set Browser.
5.
(Optional) If you want to specify that certain
users are free from the browser policy or don’t add the Browser restriction
then, you can add the security role named Any Browser Allowed to user
record.
If you want
to set only one Default Browser for your organization other than Internet Explorer
so just change the Solutions Script file sample_ControlBrowserSupportforOrganization.js.
Jscript web
resource open for editing, locate the following line:
isAllowed = SDK.ControlBrowserSupportForOrganization.isIE();
can change from IE to Chorme
isAllowed = SDK.ControlBrowserSupportForOrganization.isChrome();
Client side scripts no longer work in Microsoft Dynamics CRM Online after the December 2012 Service Update
As we Know Microsoft dynamics CRM 2011 December 2012 Service Update and Update Rollup 12 is introduced well and
in Update Rollup 12 cross browser compatibility
is also available so you should be prepare for client side scripting that may be
not supported by all Browsers.
After
your organization is upgraded to the December 2012 Service, if you experience
any of the following, you may need to take another look at your custom scripts:
·
errors
at the bottom of your browser saying “Error on page”
·
script
error notifications saying things are ‘undefined’ or other things ‘don’t
support this property or method’
Upgrading
Scripts that Use crmForm
Microsoft Dynamics CRM 4.0 used the crmForm
object to provide access to form fields. The crmForm is deprecated in
Microsoft Dynamics CRM 2011. Scripts using crmForm will continue to work
in Microsoft Dynamics CRM 2011 to support backward compatibility for Internet
Explorer only, but many Microsoft Dynamics CRM 2011 form scripting features
cannot be achieved by using crmForm .
To use crmForm with Microsoft
Dynamics CRM 2011 Update Rollup 12 and Microsoft Dynamics CRM December 2012
Service Update you must make sure the customization system setting Include
HTC support in Microsoft Dynamics CRM forms is selected.
Resolutaion:
1.
Log
into the Microsoft Dynamics CRM web application as a System Administrator.
2. Click Settings, click Administration, and then click System Settings.
3. Click the Customization tab.
4. Click the checkbox next to the setting labeled "Include HTC Support in Microsoft Dynamics CRM forms"
5. Click OK.
2. Click Settings, click Administration, and then click System Settings.
3. Click the Customization tab.
4. Click the checkbox next to the setting labeled "Include HTC Support in Microsoft Dynamics CRM forms"
5. Click OK.
Note:
If you check
this setting and the errors go away you have bought yourself some time to
address the problems, but until then you will need to continue using only
Microsoft Internet Explorer versions 8 or 9. Internet Explorer 10 or any other
browsers will continue to generate script errors because those browsers don’t
support HTML Components.
HTML Components Support is Disable By default in CRM 2011 Online and in next update Rollup major release this option will removed but in On primes it will be Enable by default so If you don’t have the script that is unsupported so you should disable it for Better performance.
HTML Components Support is Disable By default in CRM 2011 Online and in next update Rollup major release this option will removed but in On primes it will be Enable by default so If you don’t have the script that is unsupported so you should disable it for Better performance.
For further
information:
You may see
to resolve this problem
Subscribe to:
Posts (Atom)