Hello, Detlef Steuer <detlef.ste...@gmx.de> writes:
> But there was a new Problem: A new set of UIDs got created when I edited > my test data. (removed the SCHEDLULED key-word) > > --- Before (result of first test export) > > * APPT Test1 > SCHEDULED: <2014-11-12 Mi 19:00-20:00> > :PROPERTIES: > :ID: dc432cb8-ab29-4bf0-8ea0-e40ca8e8850d > :END: [...] > removed SCHEDULED A properties drawer needs to be the second element in the entry, planning info being the first, or the first one if there is no planning info. If you remove "SCHEDULED:", you also remove planning info only to leave a plain timestamp (in a paragraph, but that doesn't matter here). The properties drawer is no longer correctly located in your entry: it becomes a regular drawer named "PROPERTIES". As a consequence, ox-icalendar can no longer recognize entry's ID and creates a new one, correctly located this time, before next export: > --- After > > * APPT Test1 > :PROPERTIES: > :ID: 867c4f4e-9c7f-4d39-9404-f9dadb25edd9 > :END: > <2014-11-12 Mi 19:00-20:00> > :PROPERTIES: > :ID: dc432cb8-ab29-4bf0-8ea0-e40ca8e8850d > :END: Long story short: if you remove "SCHEDULED:", also move the timestamp /after/ the drawer. Regards, -- Nicolas Goaziou