• Ashish Kumar 28897
  • NEWBIE
  • 0 Points
  • Member since 2019
  • Salesforce Developer
  • AlgoCirrus

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies
I'm try to installed use the code of Olark chat box Script but the facing probelm Cannot read property 'parentNode' of undefined..

({
    doInit :function(component,event,helper) {
        alert('doInit Callsed');
        window.onload =function(o,l,a,r,k,y){if(o.olark)return; 
r="script";y=l.createElement(r);r=l.getElementsByTagName(r)[0]; 
y.async=1;y.src="//"+a;r.parentNode.insertBefore(y,r); y=o.olark=function(){k.s.push(arguments);k.t.push(+new Date)};
 y.extend=function(i,j){y("extend",i,j)}; y.identify=function(i){y("identify",k.i=i)};
 y.configure=function(i,j){y("configure",i,j);k.c[i]=j}; k=y._={s:[],t:[+new Date],c:{},l:a}; }
 (window,document,"static.olark.com/jsclient/loader.js");

olark.identify('7757-373-10-2524');
    
    }
})

 
I'm try to installed use the code of Olark chat box Script but the facing probelm Cannot read property 'parentNode' of undefined..

({
    doInit :function(component,event,helper) {
        alert('doInit Callsed');
        window.onload =function(o,l,a,r,k,y){if(o.olark)return; 
r="script";y=l.createElement(r);r=l.getElementsByTagName(r)[0]; 
y.async=1;y.src="//"+a;r.parentNode.insertBefore(y,r); y=o.olark=function(){k.s.push(arguments);k.t.push(+new Date)};
 y.extend=function(i,j){y("extend",i,j)}; y.identify=function(i){y("identify",k.i=i)};
 y.configure=function(i,j){y("configure",i,j);k.c[i]=j}; k=y._={s:[],t:[+new Date],c:{},l:a}; }
 (window,document,"static.olark.com/jsclient/loader.js");

olark.identify('7757-373-10-2524');
    
    }
})

 
Hi,

Is there an easy way to clone opportunities and products in lightning?  

Thanks,

Hi Team,

 

I have read in forums that:

 

DISTANCE(warehouse_location__c, GEOLOCATION(37.775,-122.418), “km”) works.

but DISTANCE(GEOLOCATION(37.775,-122.418), warehouse_location__c, “km”) doesn’t work.

 

Is the following syntax works?

 

DISTANCE(GEOLOCATION(Location1__latitude__s,Location1__longitude__s),GEOLOCATION(37.775,-122.418), 'mi')

 

 

Please let me know if you have any suggestions on this !!!!

 

 

Thanks,

Anil