Page 1 of 1

Problem when using my own contacts file

PostPosted: Fri Jun 04, 2010 8:02 am
by Richard Burton
I'm using Mac OS 10.5.8 and Seedcode Calendar Pro Build 5.54. I successfully integrated the calendar into my own single file solution by following the integration instructions. Everything worked fine when using the Sample Contacts table.

When I changed the relationship to use my Contacts table (using the same Contact ID as the field linking the two tables) and changed the related contact fields on the small window for creating a new event in the calendar, the event gets created OK, but the name of the contact does not show up in the calendar unless manualy typed into the "Summary" field.

In the Calendar Pro sample file, you can create an event and choose the contact and not populate the "Summary" field, and the contact name will automatically appear on the calendar. I want that behavior when using my own contact file. However, I cannot reverse engineer how that "Summary" field is getting populated by Calendar Pro when left empty, or how it shows up on the calendar, perhaps two different things.

Any clue of how this works would be greatly appreciated.

Thanks!

Richard

PostPosted: Fri Jun 04, 2010 10:27 am
by John Sindelar
Hey Richard,

Congrats on getting everything swapped out. The contact's name appears in the calendar based on the field that is mapped to the "Summary" on your Source No 1 layout. This is likely still out field "z_AlternateSummaryCalc" and you'll want to edit that, replacing our references to the contact's name, phone, etc. with your own.

For your reference, here is how the field's definition looks when pointed at our contact's table:
Code: Select all
// Use the list function to concatenate a number of different fields together

List (
TextStyleAdd ( SampleContacts::NameFull ; Bold ) ;
SampleContacts::Phone ;
SampleContacts::Email ;
Summary ;
Description
)