Questions in topic: "calendar" https://knowledge.亚搏在线safe.com/questions/topics/single/27577.html The latest questions for the topic "calendar" Using FME to publish calendar items to Outlook / Exchange Server https://knowledge.亚搏在线safe.com/questions/83257/using-fme-to-publish-calendar-items-to-outlook-exc.html

Is it possible to read in a table like the one below,and use FME to publish the event to a calendar in Microsoft Outlook or Exchange Server?


Event Date Start Time End Time
A Cool Event 12/05/2018 11:00 AM 1:00 PM


workbench calendar events Mon,26 Nov 2018 17:32:33 GMT dmatranga
Add a calendar view to FME Server Schedule section https://knowledge.亚搏在线safe.com/idea/61893/add-a-calendar-view-to-fme-server-schedule-section.html

Add to the scheduling screen the ability to view schedules in a calendar view.It would be nice to be able to format it daily/weekly/work week/monthly.It would also be nice to be able to click on an opening in the calendar to start scheduling a new job.

fmeserver scheduled job schedules calendar Wed,17 Jan 2018 16:16:50 GMT tmoulder_okc
Creating a "Visual Calendar of Schedules" as an FME Server Dashboard https://knowledge.亚搏在线safe.com/articles/59989/creating-a-visual-calendar-of-schedules-as-an-fme.html

Overview

The workspace attached to this article,described in detail below,will guide you how to create the Visual Calendar Dashboard,as depicted above,for use in FME Server.This 亚搏在线workflow heavily relies on a template created byFullCalendarand leveraging the Google Calendar and FME Server REST APIs.The workspace can be scheduled to run on FME Server providing you with an updated overview of when your FME Server Schedules will run!

Learn how to create your own "Visual Calendar" Dashboard of FME Server Schedules.


Requirements

FME Desktop and Server (2017.1.2 or Newer)
Google Account (Developer KeyforCalendar API)

Downloads

fmeserverschedules-calendarview2017.fmw

Instructions

1.Get a Google Account and Calendar API Key

Create a Google account (or use an existing one) and visit theGoogle Developer API Dashboard.Here you will have to enable the Google Calendar API and then create an API Key – there are plenty ofgreat ‘How To' resourcesavailable to help.

2.Make Google Calendar Public and Determine the Google Calendar ID

The logic for this 亚搏在线workflow revolves around reading and writing to an existing Public Google Calendar.You can use any calendar that you have created on your Google account,or link to an external one.Remember that it has to be publicly accessible!It is important to search for current指令if you need help determining the Calendar ID.

3.Get an FME Server Token

For this 亚搏在线workflow to gather details from FME Server,you need to obtain a validfmetokento access the REST API.It is preferred to get the token from a user that is a member of the fmeadmin role.

4.The Workspace and Template HTML

Download the attached FME Workspace.You can set FME to "Run with Prompt" and replace all the default values with information obtained in the first three steps.

For a more detailed look into the workspace,readWorkspace Overviewbelow.

5.Publish to FME Server and Configure Published Parameters

Publish this workspace to FME Server.You can either manually run the workspace or configure it to run daily on a schedule.Just make sure to adjust all of the Published Parameters to match your unique values and – voila!A visual calendar for you to see all of your FME Server Schedules.

Workspace Overview

Bookmark 1.GET FME Server Schedule List

The Creator transformer starts the 亚搏在线workflow with a null feature to invoke the HTTPCaller.This transformer then gathers a response from the FME Server REST API,/fmerest/v3/schedules,of all the FME Server Schedules.The return is in JSON format,and the FeatureWriter saves the output to file for use later in the workspace.

Bookmark 2.GET Google Calendar Event Ids and DELETE All

The next HTTPCaller in this 亚搏在线workflow gathers a list,again in JSON,of all Events in the Google Calendar by accessing a Google Calendar REST API endpoint.The JSONFlattener and ListExploder will expose each Event as an individual feature for FME to process.The second HTTPCaller in this Bookmark then issues the DELETE command against each Calendar Event – this operation is necessary since this 亚搏在线workflow does not have logic to determine which FME Server Schedules already exist as Events.The Sampler transformer is used here to reduce the number of features flowing into the next Bookmark.
Note:This effectively deletes every item in the specified Google Calendar.It is important to be aware of this!


Bookmark 3.Read Each Schedule as Feature and Filter Disabled

The FeatureReader will read back the JSON response saved earlier – if the Sampler was not previously used,this transformer would create redundant features by reading in the same dataset multiple times.The combination of AttributeExposer and ListExploder creates a separate feature for each FME Server Schedule.TestFilter simply removes any disabled Schedules that are not important to track in the Google Calendar.

Bookmark 4.Create and Format JSON for Google Calendar REST API

There are a lot of transformers here to do attribute manipulation.The AttributeExposer and AttributeValueMapper work together ensuring that the values returned by FME Server's REST API are compatible with the Google Calendar REST API.DateTimeConverter,DateTimeCalculator,and,again,DateTimeConverter are used here to provide an arbitrary length (30 minutes) for each FME Server Schedule.The AttributeManager creates a JSON-formatted string for passing to the Google Calendar REST API.Use of the JSONValidator ensures that the string will not be rejected.

Bookmark 5.POST FME Server Schedules to Google Calendar

HTTPCaller is used here once again to interact with the Google Calendar REST API.This transformer is configured to POST – or add – all the FME Server Schedules to Google Calendar as unique Events.Another Sampler is used to reduce the feature count flowing to the next Bookmark.

Bookmark 6.HTML Template Magic

If the Sampler was not previously used,then for every FME Server Schedule posted to Google Calendar,there would be a new HTML file written – which wouldn't be very efficient.The AttributeCreator placed here contains all of the raw HTML used,with many Published Parameter references allowing for dynamic output based on user input.The HTML Writer is configured to place the resulting output into the proper Dashboards Repository on FME Server where it is automatically made available on the Dashboards page in the Web Interface.


Please note that there are no plans to maintain this workspace,or the contents of this Knowledge Center Article.If you would like to ask more questions or share your enhancements to this 亚搏在线workflow,please start a thread on theFME 亚搏国际在线官网Community Q&A!

fmeserver api html scheduling google web services dashboards schedule calendar Wed,13 Dec 2017 22:29:42 GMT rylanat亚搏在线safe
Update Google Calendar / access spreadsheet add-ons https://knowledge.亚搏在线safe.com/questions/27567/update-google-calendar-access-spreadsheet-add-ons.html

Here is what I am trying to do: When someone puts a file in a certain folder,I want a notification on my Google Calendar on the day the file was put there.

I guess my first question would be,Is there a way to add things to Google Calendar?

My second question would be,assuming there is not a way to access the Calendar: I am able to create a spreadsheet in Google Docs.Then there is an add-on "From Sheets to Calendar" that will take the information from the spreadsheet and add it to the calendar.Is there a way for FME to access and run that Add-On?

google calendar Fri,15 Apr 2016 21:35:54 GMT jillacklamcorp