• Carla Krueger
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies
We have struggled with recording emails in SF for the past 2 years. We were using Inbox which was ok but the added cost proved not to be worth it for us as users never hit the Log to SF button after sending emails. 

We switched to Einstien Activity Capture a year later. This is now at least getting all the emails into SF so we can review them on an Account/Contact level. This however does not allow standard reporting as emails synced through EAC do not get logged as a EmailMessage or Task object.

We are considering creating a filter in Gmail that would insert the BCC email address into every email sent by a user so that if an email is in SF, it will get logged. 

My question is, if we begin doing this, I need to disable EAC. Has anyone found  a way to keep EAC running but only sync past emails from a specific date? That way, all old emails will stil appear in the Activiy feed but only new emails are logged as an EmailMessage or Task?
I keep getting this error. I have refered to the link and followed all the steps but still get the error. I have worked on 2 developer orgs just in case the data might be causing the error. Can anyone please help me! I've been stuck with this few days.  https://developer.salesforce.com/forums/?id=9060G0000005ik9QAA
I have been trying the corrections mentioned on the first answer of this post on Stackexchange https://salesforce.stackexchange.com/questions/254214/loading-the-leaflet-map-in-lightning-web-component (http://salesforce.stackexchange.com/questions/300839/leaflet-map-not-loading-on-page-load), still I get a blank div.
Here is my code so far:
 
HTML
<template>
  <div class="map-root" lwc:dom="manual"></div>
</template>

CSS
.map-root {
    height: 180px;
}

JAVASCRIPT
import { loadStyle, loadScript } from 'lightning/platformResourceLoader';
import leaflet from '@salesforce/resourceUrl/leaflet'

export default class MduPenetration extends LightningElement {
  connectedCallback() {
    Promise.all([
      loadStyle(this, leaflet + '/leaflet.css'),
      loadScript(this, leaflet + '/leaflet.js')
    ]).then(() => {
      const el = this.template.querySelector('.map-root');
      const mymap = L.map(el).setView([51.505, -0.09], 13);
      L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={pk.ey********************************************}', {
        maxZoom: 18,
        id: 'mapbox.streets',
        accessToken: 'pk.ey********************************************'
      }).addTo(mymap);
    });
  }

And finally this is way I have the leaflet library uploaded to Static Resources:
User-added image