Read the statement by Michael Teeuw here.
MMM-CalendarEx3 use description instead of summary of ics file
-
Hello,
is it possible to use the description instead of the summary of a ics file?
In my case, the summary is unfortunately very general, so the correct information is in the description. Unfortunately, I currently only have appointments that are labeled “General”.
Would it be possible with eventTransformer?


KR Holger -
/* MMM-CalendarExt3 config in config/config.js */ ... config: { eventTransformer: (event) => { if (event.calendarName === 'test' && event.description) { // If event is from 'test' calendar and has description, event.title = event.description } return event; } ...9:00 PM event was originally titled as ‘Singleday Event’

-
-
@MMRIZE
Ok, thank you.
Do you have an example how to do this?
Summary is allways “Allgemein” with different descriptions. -
/* MMM-CalendarExt3 config in config/config.js */ ... config: { eventTransformer: (event) => { if (event.calendarName === 'test' && event.description) { // If event is from 'test' calendar and has description, event.title = event.description } return event; } ...9:00 PM event was originally titled as ‘Singleday Event’

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login