• Resolved vajeshrathor

    (@vajeshrathor)


    Hi,

    I want to map event calendar events with salesforce events but i am facing issues while mapping event start date time. It always display current date there. Can anyone please help me with that?

    Thannks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    @vajeshrathor some questions to try to see what’s happening:

    1. What fields in WordPress and Salesforce are you trying to map to each other
    2. When you say the event start date always displays current date, is that in Salesforce or in WordPress?
    3. Does it work for either direction, or does it have the same issue in both systems?

    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    @vajeshrathor some additional questions I didn’t think of at first:

    1. What is the Event object type you’re trying to sync with in Salesforce? Is it a custom object?
    2. What are the fields on this event object like?
    3. Especially, what are the date fields like?

    Thread Starter vajeshrathor

    (@vajeshrathor)

    @jonathanstegall I am trying to map salesforce event’s start date/time fields with _evenStartDateUTC, _EventStartDate, _EventEndDate in WordPress but none of the fields are mapping over here.
    Event start date always shows current date in wordpress
    I am doing fieldmaps in salesforce to WordPress direction only.
    I am using salesforce standard Events not custom events
    Salesforce Event date/fields fields are StartDateTime, EndDateTime which i want to map with my above WordPress fields.
    Can you please help me?

    Thread Starter vajeshrathor

    (@vajeshrathor)

    Hi @jonathanstegall Now I am able to map event start date and End date fields in my WordPress events. But now all these new events are not showing up in my calendar. When one of the event is manually updated in WP then only its showing on calendar.
    Can you please help me with this? I want to display all events automatically in calendar whenever created in salesforce and mapped successfully.

    • This reply was modified 5 years, 8 months ago by vajeshrathor.
    • This reply was modified 5 years, 8 months ago by vajeshrathor.
    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    @vajeshrathor I’ve tested this a bit, and I have a few things I’ve observed:

    1. To be clear, we haven’t ever intentionally supported The Event Calendar with this plugin, but I’m open to doing so if we can do it relatively simply.
    2. I think the dates coming in from Salesforce are not being saved fully, and that appears to be related to why it’s not showing them on your calendar.
    3. However I’ve been able to get a working version that does save the dates correctly, and it also shows them on the calendar.

    I’m open to releasing a new version with this support, but I need to do some testing to see how it affects other custom date field plugins, for example, and make sure I can compensate for any issues it might cause.

    If you’d like to test, I’ve added a pull request on GitHub.

    I’ll try to devote some time to testing it shortly myself, but it may not be for a few days.

    Anyway if this does prove to be a viable fix, I’ll release it as a plugin update.

    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    I’m releasing this update today. I think you’ll find that it fixes this issue.

    Thread Starter vajeshrathor

    (@vajeshrathor)

    Hi Jonathan,

    Now I am able to map event date if I added it in salesforce event’s custom field. Also it will work only if I updated it atleast 2 times in salesforce event.

    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    @vajeshrathor this must be a separate issue. I haven’t seen this happen. I’ve occasionally heard from other users that it happens to them, but no one has been able to make it replicable. If you can determine what’s causing it/make it replicable, I can possibly investigate further.

    One thing you might try is changing the schedule frequency and see if that affects anything. For example, my test site pulls from Salesforce every 4 minutes. I’ve run live sites that do it every 5 minutes, 10 minutes, 15 minutes, or 30 minutes.

    I’m not sure if that has anything to do with your issue, but it’s possible. In any case, I’m going to close this issue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘sync salesforce events with event calendar plugin events’ is closed to new replies.