Wednesday, September 29, 2010

Paper Plate Award Examples

New blog for beginners


Hi I found on the net a blog with tutorials to learn patcwork.Espero to serve you for that begin with the patchwork. Click on the link below:
Http://quieroaprenderpatchwork.blogspot.com /

Saturday, September 25, 2010

Watch P90 X Online Free

The Patchwork time between seams


This is the cover of the book I'm reading. This delighted me.

Sunday, September 19, 2010

How Long Could U Have Lymphnomia Without Knowing

Limit the number of records

parts of the following example:
It is jlc_documento custom entity which is associated with contact and account entities. Contact and account being entities that are associated view and jlc_documento the lookups. (The lookup relationship created jlc_documento contact-lookup is jlc_documentocontactid and set up the account-jlc_documento relationship is jlc_documentoaccountid)
We wish to register more than 10 jlc_documentos for each contact and account registration.
The solution to this problem could be: var

 client 
nroRegistros var;
var authenticationHeader;
var xml;
if (crmForm.FormType == 1) {
if (crmForm.all.jlc_documentoaccountid.DataValue[0].id != null encoding='utf-8'?>" +
"<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'" +
" xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'" +
" xmlns:xsd='http://www.w3.org/2001/XMLSchema'>" +
authenticationHeader +
"<soap:Body>" +
"<Fetch xmlns='http://schemas.microsoft.com/crm/2007/WebServices'>" +
"<fetchXml><fetch mapping='logical'>" +
"<entity name='jlc_documento'>" +
"<filter type='or'>" +
"<condition attribute='jlc_documentoaccountid' operator='eq' value='" + clienteId + "'/>" +
"<condition attribute='jlc_documentocontactid' operator='eq' value='" + clienteId + "'/>" +
"</filter>" +
"</entity>" +
"</fetch></fetchXml>" +
"</Fetch>" +
"</soap:Body>" +
"</soap:Envelope>";

//Prepare the xmlHttpObject and send the request.
var xHReq = new ActiveXObject("Msxml2.XMLHTTP");
xHReq.Open("POST", "/mscrmservices/2007/CrmService.asmx", false);
xHReq.setRequestHeader("SOAPAction", "http://schemas.microsoft.com/crm/2007/WebServices/Fetch");
xHReq.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
xHReq.setRequestHeader("Content-Length", xml.length);
xHReq.send(xml);
//Capture the result was
resultXml = xHReq.responseXML;
/ / Check for errors.
was errorCount = resultXml.selectNodes ('/ / error'). Length;
if (errorCount! = 0) {msg =
was resultXml.selectSingleNode ('/ / description'). NodeTypedValue;
alert (msg);

} / / Process and display the results.
else {

/ / Capture the result og UnEncode IT.
was ResultSet = new String ();
ResultSet = resultXml.text;
resultSet.replace ('<','\u0026lt;');
resultSet.replace ('>', '>');

/ / Create an XML document That you-can parse.
was oXmlDoc = new ActiveXObject ("Microsoft.XMLDOM");
oXmlDoc.async = false;
/ / Load the XML document That speed the UnEncoded results.
oXmlDoc.loadXML (ResultSet);
/ / Display the results.
was oXmlDoc.getElementsByTagName results = ('result');
nroRegistros = results.length;
if (nroRegistros == 10) {
alert ("Make sure he registrado el número Máximo de Asociaciones");
window.close () ;}


}}}







Wednesday, September 8, 2010

Where Can I Buy Milena`s Candle

related to an entity run without losing focus OnChange



OnChange event of the form fields in a CRM Dync have a peculiarity ... The event runs when you lose focus. This detail could create us some difficulties which we would be forced to run the event immediately after changing its value and not after it has lost focus of the field. Consider the following example:



SCENARIO
checkbox field is has the "courage" and a text field box "description." The "description" should be disabled unless you have selected the value field.
TROUBLESHOOTING
In the OnChange event of "value" drop:
if (crmForm.all.valor.DataValue == true) crmForm.all.descripcion.Disabled = false;
option that quoted above works if and only if after having placed a check in the "value" is given by clicking elsewhere on the form or if you press the TAB key.
employ to achieve our mission "attachEvent" and running at the time check is made to "value"
 

CORRECT SOLUTION

In the OnLoad event of the form will post the following function
MyFunction () {
if (crmForm.all.valor.DataValue == true) crmForm.all.descripcion.Disabled = false ;} crmForm.all.valor.attachEvent ('onclick', MyFunction)