1. Accounts
2. Contacts
TOP 1 CRM BLOG
1. Accounts
2. Contacts
Hiding all the fields contained in a section automatically hides the section. This can be used especially when you have few fields in your section.
CAUTION: When a business rule is defined, you should create the “else” business rule.
https://community.dynamics.com/crm/f/117/t/157703
private string DetectWebBrowserName()
{
try
{
System.Web.HttpBrowserCapabilities browser = Request.Browser;
if (browser != null)
{
// Return the web browser name e.g. IE or Chrome.
return browser.Browser;
}
else
{
return "Warning: The web browser capabilities cannot be detected!";
}
}
catch (Exception exception)
{
// E-mail the exception message to the development team.
string body = "<html><body>An error occurred in DetectBrowser():<br/>" + exception.ToString() + "<br/></body></html>";
this.SendAlertEmail(body);
return "Error: The web browser cannot be detected!";
}
/*
string browserCapabilities = "Browser Capabilities\n"
+ "Type = " + browser.Type + "\n"
+ "Name = " + browser.Browser + "\n"
+ "Version = " + browser.Version + "\n"
+ "Major Version = " + browser.MajorVersion + "\n"
+ "Minor Version = " + browser.MinorVersion + "\n"
+ "Platform = " + browser.Platform + "\n"
+ "Is Beta = " + browser.Beta + "\n"
+ "Is Crawler = " + browser.Crawler + "\n"
+ "Is AOL = " + browser.AOL + "\n"
+ "Is Win16 = " + browser.Win16 + "\n"
+ "Is Win32 = " + browser.Win32 + "\n"
+ "Supports Frames = " + browser.Frames + "\n"
+ "Supports Tables = " + browser.Tables + "\n"
+ "Supports Cookies = " + browser.Cookies + "\n"
+ "Supports VBScript = " + browser.VBScript + "\n"
+ "Supports JavaScript = " +
browser.EcmaScriptVersion.ToString() + "\n"
+ "Supports Java Applets = " + browser.JavaApplets + "\n"
+ "Supports ActiveX Controls = " + browser.ActiveXControls
+ "\n"
+ "Supports JavaScript Version = " +
browser["JavaScriptVersion"] + "\n";
*/
//this.SendAlertEmail(browser.Browser);
} //DetectWebBrowserName()
private bool OpenDocument(string fileName)
{
try
{
// Get the file name without the path.
string fileNameWithoutPath = Path.GetFileName(fileName);
// Detect the web browser name: Chrome or Internet Explorer?
string browserName = this.DetectWebBrowserName();
if (browserName.Equals("InternetExplorer") || browserName.Equals("IE"))
{
// Open the solution document file in a new IE browser tab:
ScriptManager.RegisterClientScriptBlock(Page, typeof(string), "OpenedSolutionDocumentFile", "var solutionDocumentFile=window.open('documents/" + fileNameWithoutPath + "');", true);
}
else if (browserName.Equals("Chrome"))
{
// Open the solution document file in a new Chrome browser tab:
ScriptManager.RegisterClientScriptBlock(Page, typeof(string), "OpenedSolutionDocumentFile", "var solutionDocumentFile=window.open('documents/" + fileNameWithoutPath + "','_blank'); solutionDocumentFile.focus();", true);
}
else
{
//Neither IE nor Chrome: very unlikely case.
// TODO: Firefox
}
return true;
}
catch (Exception exception)
{
// E-mail the exception message to the development team.
string body = "<html><body>An error occurred in OpenDocument():<br/>" + exception.ToString() + "<br/></body></html>";
this.SendAlertEmail(body);
return false;
}
} //OpenDocument()
function __doPostBack( eventTarget, eventArgument ) document.Form1.__EVENTTARGET.value = eventTarget; document.Form1.__EVENTARGUMENT.value = eventArgument; document.Form1.submit(); }
In BIDS for VS 2012/VS 2015 a right-click on the design surface didn’t show a localization screen. Hit F7 to edit the underlying code of the report where you can find the appropriate node and change it to your local setting:
....</ReportSections>
<Language>en-GB</Language>
...
</Report>
Replace <Language>en-US</Language> by <Language>en-GB</Language>
=FormatDateTime(Fields! UpdateDateTime.Value, dateformat.GeneralDate)
11/02/2018 17:01:25
As I announced, I will be presenting tomorrow my session about Data Integration on Microsoft’ conference in London Paddington (15.00 – 16.00) – Room 3. I will start my session with sharing the story of my personal transformation. If you would like to know more please come in.
I am guessing still Customer Engagement Plan will be the most popular plan
Interesting urls:
https://dynamics.microsoft.com/en-us/pricing/
https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RE1CkHI
All the best for you all in New Year 2018!
I am delighted to announce my presentation “Solving Complex integration scenarios with SSIS” on next CRM Saturday in London Paddington on 27th January (15.00 – 16.00). I am looking forward to see some of you there. Here is url to event registration page:
http://365saturday.com/dynamics/london-jan2018/
Tickets are free, although spaces are limited to the first 100 Registrants.
Event will be headed up by:
James Philips – Corporate Vice President, Microsoft
Ben Volmer – Global Field Service lead, Microsoft
Nick Delacamp – Vice President of CafeX Communications
Happy New Year 2008 for whole CRM community and IT fans. Time is flying, isn’t it ?