Đã hoàn thành

Answer how to attach a pdf to a google calendar event from the FileMaker Script step detailed. R1

I am able to successfully create calendar events on Google Calendar thanks to the great demo file from DB Services [url removed, login to view] My question is how to get the script step to successfully attache the file specified. I have very little understanding of json and I am stuck on how to format the url. I have been attempting to use a url pointing to a file through Google Drive File Stream but it is not working. I have been trying to follow the requirements at [url removed, login to view] One example that I am trying is file:///G:/Team Drives/[url removed, login to view] but no success.

//calculation originated from [url removed, login to view] demo file

//some modifications to the original calculation below including "location" and "attachments"

Let ( [

vStartDateType = If ( not IsEmpty ( $startTime ) ; "dateTime" ; "date" ) ;

vStartDate = If ( not IsEmpty ( $startTime ) ; $startDate & "T" & $startTime & timeOffsetUTC ; $startDate ) ;

vEndDateType = If ( not IsEmpty ( $endTime ) ; "dateTime" ; "date" ) ;

vEndDate = If ( not IsEmpty ( $endTime ) ; $endDate & "T" & $endTime & timeOffsetUTC ; $endDate ) ;

vColor = $color ;

vAttach = $filepaths

];

JSONSetElement ( "{}" ;

[ "start" ; JSONSetElement ( "{}" ; vStartDateType ; vStartDate ; JSONString ) ; JSONObject ] ;

[ "end" ; JSONSetElement ( "{}" ; vEndDateType ; vEndDate ; JSONString ) ; JSONObject ] ;

[ "summary" ; $calendarTitle ; JSONString ] ;

[ "location" ; $locationAddress ; JSONString ] ;

[ "colorId" ; vColor ; JSONString ] ;

[ "attachments" ; JSONSetElement ( "{}" ; "fileUrl" ; vAttach ; JSONString ) ; JSONObject ]

)

)

Kĩ năng: FileMaker, JSON, RESTful

Xem nhiều hơn: create pdf google calendar event, php script add google calendar event, google calendar rss feed script, google calendar event wordpress, google calendar event window size, google calendar event input form, google calendar api filemaker, create google calendar event perl, calendar event php script, google calendar rss php script, crate google calendar event using php, display google calendar event website, google calendar con filemaker, google calendar clone php script, google calendar drag drop script

Về Bên Thuê:
( 2 nhận xét ) Red Deer County, Canada

ID dự án: #16313952

Được trao cho:

elu58d48fa88d4a1

I'm former FileMaker employee, have 6 years working experience and a certified FileMaker Developer, so I can help you on this.

$111 CAD trong 3 ngày
(1 Nhận xét)
2.7

2 freelancer đang chào giá trung bình $73 cho công việc này

dustafo

You cannot add attachments from your computer to a calendar event using the API. Only from google drive. Google servers cannot access your machine across the internet to download a file even if you had your ip in the u Thêm

$35 CAD trong 3 ngày
(0 Nhận xét)
0.0