Discussion:
[kronolith] How to add a new event to the kronolith_events using a PHP script
Ferdinand Gruber
2017-09-13 20:53:27 UTC
Permalink
Hi,

I made a PHP script to access the mysql datatable" kronolith_events" of
the horde database. Using that script I am able to change data and save
the changes.
How can I set the primary key value "event_id" of a new event?

Thank you for answer.
--
Regards from Austria
Ferdinand Gruber


.
--
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: kronolith-***@lists.horde.org
Jan Schneider
2017-09-14 09:54:52 UTC
Permalink
Post by Ferdinand Gruber
Hi,
I made a PHP script to access the mysql datatable" kronolith_events"
of the horde database. Using that script I am able to change data
and save the changes.
How can I set the primary key value "event_id" of a new event?
Thank you for answer.
--
Regards from Austria
Ferdinand Gruber
.
It's just a random ID.
--
Jan Schneider
The Horde Project
https://www.horde.org/
--
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: kronolith-***@lists.horde.org
Michael J Rubinsky
2017-09-16 13:15:42 UTC
Permalink
Post by Jan Schneider
Post by Ferdinand Gruber
Hi,
I made a PHP script to access the mysql datatable"
kronolith_events" of the horde database. Using that script I am
able to change data and save the changes.
How can I set the primary key value "event_id" of a new event?
Thank you for answer.
--
Regards from Austria
Ferdinand Gruber
.
It's just a random ID.
Just be aware that if you are using any type of synchronization with
Kronolith, manually adding events in this manner will prevent the sync
engine from seeing them. It would be better to use Krnolith's API for
such tasks.
Post by Jan Schneider
--
Jan Schneider
The Horde Project
https://www.horde.org/
--
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
--
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
Ferdinand Gruber
2017-09-19 17:56:38 UTC
Permalink
Post by Michael J Rubinsky
Post by Jan Schneider
Post by Ferdinand Gruber
Hi,
I made a PHP script to access the mysql datatable" kronolith_events"
of the horde database. Using that script I am able to change data
and save the changes.
How can I set the primary key value "event_id" of a new event?
Thank you for answer.
--
Regards from Austria
Ferdinand Gruber
.
It's just a random ID.
Just be aware that if you are using any type of synchronization with
Kronolith, manually adding events in this manner will prevent the sync
engine from seeing them. It would be better to use Krnolith's API for
such tasks.
Does this also concern synchronization over CalDAV?

And another question:
What is the purpose of the field "event_uid"?

Thank you for answer.
Ferdinand
Post by Michael J Rubinsky
Post by Jan Schneider
--
Jan Schneider
The Horde Project
https://www.horde.org/
--
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
--
Regards from Austria
Ferdinand Gruber
--
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: kronolith-***@lists.horde.org
Jan Schneider
2017-09-20 08:54:44 UTC
Permalink
Post by Ferdinand Gruber
Post by Michael J Rubinsky
Post by Jan Schneider
Post by Ferdinand Gruber
Hi,
I made a PHP script to access the mysql datatable"
kronolith_events" of the horde database. Using that script I am
able to change data and save the changes.
How can I set the primary key value "event_id" of a new event?
Thank you for answer.
--
Regards from Austria
Ferdinand Gruber
.
It's just a random ID.
Just be aware that if you are using any type of synchronization
with Kronolith, manually adding events in this manner will prevent
the sync engine from seeing them. It would be better to use
Krnolith's API for such tasks.
Does this also concern synchronization over CalDAV?
Not yet.
Post by Ferdinand Gruber
What is the purpose of the field "event_uid"?
It's a globally unique ID used for synchronization.
--
Jan Schneider
The Horde Project
https://www.horde.org/
--
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: kronolith-***@lists.horde.org
Ferdinand Gruber
2017-09-29 07:52:16 UTC
Permalink
Post by Jan Schneider
Post by Ferdinand Gruber
What is the purpose of the field "event_uid"?
It's a globally unique ID used for synchronization.
Can I set this "event_uid" randomly?
--
Regards from Austria
Ferdinand Gruber
--
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: kronolith-***@lists.horde.org
Jan Schneider
2017-09-29 09:36:12 UTC
Permalink
Post by Ferdinand Gruber
Post by Jan Schneider
Post by Ferdinand Gruber
What is the purpose of the field "event_uid"?
It's a globally unique ID used for synchronization.
Can I set this "event_uid" randomly?
--
Regards from Austria
Ferdinand Gruber
Yes, you should use Horde_Support_Guid though.
--
Jan Schneider
The Horde Project
https://www.horde.org/
--
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: kronolith-***@lists.horde.org
Loading...