2020年5月6日水曜日

FileMaker 標準機能で Google Calendar 追加・編集・削除(2)

FileMaker 標準機能で Google Calendar 追加・編集・削除
Googleカレンダーからイベントを取得
参加者を追加
Google Calendar API v3

動作検証
Windows 10
FileMaker 16,17,18

Mac OS 10.13.3
FileMaker Pro 18

iOS13
FileMaker Go 18

有料サンプル ご支援頂ける場合、ご購入頂けると幸いです。 https://fm-aid.stores.jp/items/5e037b41d790db3198885824 Q&A 不明な点は以下で問い合わせ下さい。 https://fm-aid.com/community/viewforum.php?id=6


以下を参照し、「Google API プロジェクトの作成」「AccessTokenの取得」を行ってください。
https://qbxxdp.blogspot.com/2019/12/filemaker-google-calendar.html


Example02_Calendar.fmp12を開く
右上の[Setting]をクリック

「GoogleCalendarFM_Lib_AppPermission_id」
GoogleCalendarFM_Lib.fmp12 で作成した Application Permission のidを選択
「Title」カレンダーのタイトルを設定(任意)
「calendar_id」Googleカレンダーのidを設定

レイアウト:dtl_Events に戻り、
「FMid_Calendars」に[Setting]で作成した Calendars id を設定

フィールド:summary=TEST
フィールド:start.dateTime=2020/05/06 13:00
フィールド:end.dateTime=2020/05/06 14:00
[Insert]ボタンでGoogleカレンダーへ追加されます。


Googleカレンダーからイベントを取得

赤枠ボタンをクリックで指定期間内・最終変更時刻 以降のGoogleカレンダーのイベントを取得できます。


参加者を設定
カレンダーを変更

2020年4月30日木曜日

FileMaker URLクエリパラメータを作成

FileMaker



こんな感じのURLクエリパラメータを作成

?timeMin=2020-04-01T00:00:00%2B09:00&timeMax=2020-04-01T23:59:59%2B09:00&updatedMin=2020-04-01T00:00:00%2B09:00



「関数:List ( )」で改行区切りのリストを作成し、

先頭に「?」を追加、

改行を「&」に置換。



Let([
¢OptionalQueryParameters=
List ( 
If ( not IsEmpty ( $timeMin ) ; "timeMin=" & GetAsURLEncoded ( $timeMin ) );
If ( not IsEmpty ( $timeMax ) ; "timeMax=" & GetAsURLEncoded ( $timeMax ) );
If ( not IsEmpty ( $updatedMin ) ; "updatedMin=" & GetAsURLEncoded ( $updatedMin ) )
)
];
"?" & Substitute ( ¢OptionalQueryParameters ; ¶ ; "&" )
)

2020年4月9日木曜日

Web Clip Icon(ホーム画面アイコン)からFileMaker Goが開けない。

iOS13.4.1
「このページを"FileMaker Go"で開きますか?」とダイアログが毎回出る。


2019/12/13

iOS13.3で直ったような。



2019/10/31

iOS 13.1.3|iPad
Apple Configurator 2 で作ったWeb Clip Icon(ホーム画面アイコン)からFileMaker Goが開けない。(正確には、1度は開くが2度目以降開かない...バックグラウンドのWeb Clipウインドウを閉じれば開く...)