Feng Forum

Other Topics => Development => : SteveRyherd June 02, 2010, 10:14:36 AM

: Can I find the creator of an object using a particular hook?
: SteveRyherd June 02, 2010, 10:14:36 AM
I may have missed something when testing this earlier, but it appears that some of the object's properties are Private when passed to the hook.  I was trying to create a hook to automatically (at least uni-directionally) send an object to Google Events for instant mobile synchronization.

If that's not possible I guess the alternative is to setup a script to be ran periodically and do some data scraping in both Google and Feng for changed/created/deleted items and sync the changes.

Any ideas, or anyone else already have a functioning Contact/Event/Document sync?
: Re: Can I find the creator of an object using a particular hook?
: cabeza June 07, 2010, 01:14:39 PM
Have you tried subscribing to a Feng Calendar in Google Calendar?

Does it not solve you needs?
: Re: Can I find the creator of an object using a particular hook?
: SteveRyherd June 10, 2010, 12:38:58 PM
No, sadly, because that doesn't work for documents or contacts -- And I want to use Google as an intermediary to mobile synchronizations through ActiveSync.
: Re: Can I find the creator of an object using a particular hook?
: cabeza June 10, 2010, 03:05:02 PM
What about this?

:
$object->getCreatedBy() //this returns a User object
$object->getCreatedByDisplayName() // this return a strin