Add appointment after user select date from embed calendar - and save reference - google-calendar-api

Is there a way to add new appointment after user select a date from Google Embed Calendar, so user can see all existing appointment to help him choose the right day!
Another thing, after saving the new appointment, is there a way to add to that appointment, a reference to my app - so when user view that appointment he could click on that reference to open new browser window with my app.
See included demo image.
Thank You.

Related

How to fill fields in Zoho CRM automaticly

I have this situation:
I have custom button in Zoho CRM where I want to create new Account. When I click the button, it opens page of my Zoho Creator Form, then I fill in this form and click submit. What I want to acomplish is that when I submit the form, I want some information from that form to be filled in CRM creation Account. I was thinking about using url. For example in Zoho Creator If I extend base url of my Form and finish url by e.g.?text_field=abcd when I go to that URL, the field "text_field" is filled with "abcd", but when I try to use the same mechanism, it wont work on CRM. is there any workaround?
In CRM, there is no option to fillup data on load. on the success you can write a function or using feild update you do that.
Create a function that would get called on your form submission.
Extract the values from your creator form, then do
Zoho.crm.createRecord() if you want to create record or zoho.crm.updaterecord, with update record you'll have to provide a record ID.
If you only want to create a record its pretty straightforward, read about zoho.crm.createRecord()
To answer your question it is not possible to achieve the same functionality in CRM. Although what you can try to do us use
create record using zoho.crm.createRecord
On successful creation redirect to CRM Accounts Edit page.(using /edit it depends on your CRM and the layout id's )
record is created first and than user has prefilled information
If user wants to add extra information than they can add and save the record

Add a custom event type to Google Calendar

I would like to develop an application that would allow my company employee to schedule their holidays from Google Calendar.
The idea would be the following:
The employee create an event corresponding to the holidays
The employee specify somewhat that this event is a holiday
The application send an email to the manager for validation
If the manager validate, the event is confirmed in the employee calendar and available for his teammate
Any idea how to specify that this event is a holiday (step 2)?
I tried to look how to add a custom event type without success.
Do your company uses gapps for business?
As a domain admin, you can create "resources" apart from individuals calendar and share it with the whole company.
Maybe the link below might help you:
https://robinpowered.com/blog/how-to-set-up-room-resource-calendars-in-google-apps/

Coding new Appointment behind a button with the scheduler control in devexpress

I'm new here and to devexpress and my Question I hope is a simple one to all you mavericks here. I'm creating an scheduling module with devexpress and I want to add a"necessary appointment "button rather than having to right click to add an appointment..users love buttons after all and I can't seem to find code for that..thanks
Take a look at the SchedulerControl.CreateAppointment method, that creates a new appointment with the specified All-Day and Recurring settings, shows it in the Edit Appointment dialog, and then adds it to the SchedulerStorage.Appointments collection of the control's storage.

External user invite (Share Alfresco)

i am asking if we can add an extrernal user to a group from the invite page. the idea is to affect directly a new user to a group (e.g: select Group from combo-box like for Role) and then click the button invite to get a new user with selected group.
how it could be done?
I do not think you can do this without any customization because unless user is part of alfresco you can not add them to group.
You should take a clue from this thread:
Alfresco Forum

Use Google Analytics to track Google Form submissions

I'm using Google Forms (a Google Doc spreadsheet with an automatically generated form that the user can fill in to submit their details) and would like to track the submission of the form as a virtual pageview in Google Analytics so that I can measure conversions. Does anybody know if this is possible?
While Crayon Violent is correct about the built-in capabilities, there is a viable option: If you're able to host the Google Form HTML on one of your own pages, you can treat it like any other form (you can literally copy and paste the form HTML from the form page). As long as you leave the inputs unmodified, and the form action remains as its presented, it will post successfully to the form, regardless of where it is hosted from. (You can remove the styling elements if you wish.)
You can see a sample of that here: http://jsfiddle.net/PVBqX/2/
And you can see the data record just fine in the Google Spreadsheet here.
And, if you use Firebug or Webkit inspector, you'll see that the virtual pageview is sent:
There is an alternative solution to track pageview in Google Analytics using an image impression inside the Google Doc which I have been using it in my spreadsheet.
Check out the following link for the guide of explanation on how this works:
Tracking-google-sheet-views-with-google-analytics
For example, using little Apps Script will include the sheet key and locale in the image url (to include this you your own project open you Sheet and then Tools > Script editor and paste the code in):
function getGABeacon(tid){
var id = SpreadsheetApp.getActiveSpreadsheet().getId();
var locale = SpreadsheetApp.getActiveSpreadsheet().getSpreadsheetLocale();
return 'https://ga-beacon.appspot.com/'+tid+'/sheets/'+id+'/'+locale;
}
Then in the Sheet we can then use the cell formula like =image(getGABeacon("UA-48225260-1"))
EDIT
You can also build a tracked URL and pass it to the beacon on targetted page using this function
var trackURL = SpreadsheetApp.getActiveSpreadsheet().getUrl();
Probably you should just use Url shortner tool like https://goo.gl/ or https://bitly.com/ to get analytics on how many clicks are made and little bit of analytics like locations, browsers etc through them.
You can add Google Analytics in general by setting up a new page which includes the form using an iFrame and then adding the Google Analytics tracking code right before it.
I found a service that does exactly that and is completely free. It's called GFormAnalytics. It will generate a new link for you and then you share that new link and it will track your forms with your own Google Analytics tracking code.
Check it out here: https://GFormAnalytics.com
Here is what I did using Zapier (free basic plan), no coding needed:
How to use Zapier to trigger a goal conversion in Google Analytics (used with Google Tag Manager) when an embedded Google Form is completed
In Google Tag Manager click on Triggers to create a new trigger.
For trigger type, select "custom event."
Set it to trigger on "Some Custom Events."
Set the trigger to fire when the Page URL contains a unique part of a URL e.g. "/pages/contact."
Name (e.g. "Contact Form Submitted" and save the trigger.
Click on "Tags," then click "New" to create a new tag.
For tag type select "Universal Analytics."
For Track type select "Event."
Under "Event Tracking Parameters" for "Category" enter "Form Submission."
For "Action" enter "Submitted."
For "Label" enter "Contact Form."
Leave "Value" blank.
Under "Non-Interaction Hit" select {{Event}}
Under "Google Analytics Settings" select {{Google Analytics}}
As the trigger for this tag select the trigger you just created, "Contact Form Submitted" (or whatever you named it in step 5) which should show as a custom event.
Name the tag (e.g. "Contact Form Submission") and save.
Press "Submit" in the upper right corner to activate the new tag.
In Google Analytics, select the gear icon in the bottom left (Admin settings).
Under "View" select "Goals."
Select "Create New Goal."
Select the "Submission" goal template in step 1.
In step 2, under "Type," select "Event."
In step 3, for "Category," "Action," "Label" enter exactly the same thing you did in Tag Manager in steps 9-11 (case sensitive).
Leave "Value" blank.
Save the goal.
In Zapier, select "Make a Zap!"
For the Trigger App, select "Google Forms."
Select "New Response in Spreadsheet."
Connect your Google Forms account.
Choose the spreadsheet connected to your form.
Under "Worksheet" choose the "Form responses" that shows up in the drop down menu.
Select "Google Analytics" as your action app.
Select "Create a Measurement."
Connect your Analytics account.
Select your Account and Property.
Under "Type," select "Event."
For "Category," "Action," "Label" enter exactly the same thing you did in Tag Manager in steps 9-11 (case sensitive).
Leave the other fields blank.
Test and activate the zap.
Go to your website and fill out the form.
After at least 15 minutes (enough time for Zapier to have checked the spreadsheet linked to your form) check your goal conversions in Google Analytics to verify that the zap is working.
If you Edit the Form and select Responses menu, then select enter Tracking ID, paste in your tracking ID in and you will get page views as he goes to each page including the confirmation page which has Page Title of "Thanks!". This works even putting the link to the form in an email. Works great, tracking the mail open, then the pages and submit of the form, but I haven't figured out how to pass the user ID so both types of events carry the same user ID.
not possible. You have to be able to add code to the actual file being served.
Only thing I can think of is if it lets you redirect to one of your own pages after form submission, put the code on a page you create on your own site

Resources