Jump to content

Define Export Date Range


Recommended Posts

I'd like to export a date range.

I've been a customer for some time and when I export I get the entire calendar which is way more than I need. I will be needing to export more frequently but don't want to get the full range of dates for the past few years every time.

Is this doable, or a future feature?

Link to comment
Share on other sites

To create the URL, you use the address of the .ics feed (as well as CSV, XML, RSS, and JSON) of your hosted calendar, which is https://www.trumba.com/calendars/yourcalendarname.ics, and append a query string that includes parameters that define what you want. Even if you're not sure what I mean by "query string," when you see the example URL, you'll recognize it as something you see in URLs all the time. You can locate the feed URL by going to Publish>Feeds tab and here you will see the feed types supported and a matching URL.

For example, to export the month of April 2020, I entered this URL in the browser's address bar:

https://www.trumba.com/calendars/mycalendarname.ics?startdate=20200401&enddate=20200430
Trumba will ask you if you want to open the file or download the info as an .ics file. Downloading it is the same as exporting from your Trumba account. If you use Chrome, it downloads the file and also opens iCal and imports the calendar.

Everything from the question mark to the end is the query string. You could also use parameters to specify the number of months or weeks instead of the end date. The list of supported parameters you can use are in Customize calendar RSS feeds (the parameters work for all feeds, not just RSS).

CUSTOMIZE CALENDAR FEEDShttps://www.trumba.com/help/api/customfeeds.aspx

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...