Skip Ribbon Commands
Skip to main content

Blog

:

Home
December 16
CRM 2011 Javascript veldaanpassen

​function veldaanpassen()

{

Xrm.Page.getAttribute("address1_city").setValue("Rotterdam");

}

August 25
DCPROMO on Server Core R2

Dcpromo.exe /ReplicaOrNewDomain:Replica /ReplicaDomainDNSName:sika.local /RebootOnSuccess:Yes /SafeModeAdminPassword:P@ssw0rd
 
 
This will  also install the binaries

 

August 24
CRM 2011 Javascript examples

​function eerstedemo()
{
window.alert("hello world");
}

 
function tweededemo(berichtje)
{
window.alert(berichtje);
}

 

function verplicht()
{
Xrm.Page.getAttribute("fax").setRequiredLevel("required");
}
 
function telcheck()
{
var tel=Xrm.Page.getAttribute("telephone1").getValue();
if (tel.length<10) {
window.alert('Vul AUB het volledige 10 cijferige nummer in!');
}
}

 

April 20
First Character to uppercase

​var  sAttribute = crmForm.all.new_name.DataValue;
sAttribute = sAttribute.charAt(0).toUpperCase() + sAttribute.slice(1).toLowerCase();
crmForm.all.new_name.DataValue = sAttribute;

October 07
Using functions in CRM onload example

one = function()
{
window.alert ('one');
}

two = function()
{
window.alert ('two');
}
 
In the onchange on the Form field use:
 
two();

 

 About this blog

 
About this blog
Welcome to SharePoint Blogs. Use this space to provide a brief message about this blog or blog authors. To edit this content, select "Edit Page" from the "Site Actions" menu.