![]() To escape commas (,) and semicolons ( ), precede them with a backslash(\).įor example, the Description field in the first file contains this text: This event starts at 8:00 a.m.Tip The sample files demonstrate the use of the backslash (\) escape character in the Location, Description, and MultiLine text fields: The RRULE property defines the repeating parameters. The second sample file shows a record for a repeating group cycling event that started on Monday, Septemand extends until Monday, December 15, 2014. The NAME and TYPE attributes have been left in the file to provide contextual information. The files also include examples of a range of Trumba Connect custom field types and an event image. The files each contain a record for a single event (defined by the content between the BEGIN:VEVENT and END:VEVENT lines). Sample import filesīelow are two sample iCal files with custom fields. Tip Images you import are added automatically to the calendar's images table. How do I find the URL for an image stored on the Trumba servers? X-TRUMBA-CUSTOMFIELD ID=74:*m0Jsdf*sUVc0.jpg Export the calendar as an iCal (.ics) file, open the exported file in a text editor (such as Notepad or Wordpad), and then locate the custom fields.Įach custom field is preceded by "X-TRUMBA-CUSTOMFIELD," such as the following:.Create a test event on the calendar, providing values for each of the custom fields.Follow these instructions to assign the appropriate template to the calendar. Still in Trumba, select the calendar into which you want to import events, and then click Settings.How do I modify or create event templates? In the Trumba editing environment, add the new custom fields to the default event template or create a new template that contains the fields.In Trumba, create a custom field that corresponds to each custom field in the iCal file you're importing.įor example, you might need a single-line-of-text field called Event Created By that contains a person's name or a list-of-choices field called Audience that contains a list of audience values, such as Seniors, Adults, Teens, and Children.Where can I find tips for exporting and preparing files? ![]() Export the events from their source location to an iCal (.ics) file, and identify any custom fields.Tip Alternatively, you may find it easier (especially for a one-time transfer) to import the events into Trumba without the custom fields, create the custom fields in the template associated with your calendar, and then add the values manually. To successfully import events with custom fields, Trumba must be able to match the custom fields in the iCal file you're importing with corresponding fields in Trumba, as described below. In addition to standard event fields: Title, Location, Start Date, Start Time, Description, and Web Link, the events you're importing may include custom fields for example: Audience, Category, or Event Created By. ![]() Importing events with custom fields in iCal files In addition, the table maps the iCal fields with corresponding fields in the Trumba add/edit event form. It also lists some commonly used optional fields. The following table lists fields that are required in any iCal file you import. Standard and required iCal fields used by Trumba Connect When you import events from other calendars, your Trumba calendar retains the UIDs assigned by the original calendars. Each calendar program may use a different UID format. Unique IDĮach imported event must have a unique ID (UID), which is how Trumba knows whether you're importing a new event or updating/deleting an existing event. Optionally, you can specify time zone at the event level using the appropriate iCal syntax: DTSTART TZID. Tip By default, time zone is inherited from the target Trumba calendar. PRODID:-//Company Name//Product//Language It contains the three required fields (event title, start date, and unique ID) and creates an event titled Happy New Year that occurs on January 1, 2016. Importing events with custom fields in iCal filesīelow is a minimal sample iCal file that can be imported to Trumba.Standard and required iCal fields used by Trumba.This topic describes how to prepare iCal files for import regardless of which import approach you use.įor more details about the iCalendar file format, refer to the RFC2445 and RFC2446 specifications. Or, you can programmatically upload iCalendar format files to the Trumba server through an HTTP PUT operation. You can import an iCal file directly into Trumba using the Import calendar events feature. ![]() For example, an iCal file might be called myevents.ics. One of the event import file formats Trumba® supports is the iCalendar or iCal format.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |