Google Calender in Salesforce
In order to get the calendar's HTML code go to your Google Calendar page and either create a new Calendar to publish it as public calendar or if you already have one then click on settings (on the left side of the screen).
Once you have your public calendar ready go to its "details" page and look for a spot that says "Embed This Calendar", copy the code and paste it into your Visualforce page. That's all!
Page:
<apex:page tabStyle="Campaign">
<apex:form >
</apex:form>
<iframe src="https://www.google.com/calendar/embed?src=sfdcmahi%40gmail.com&ctz=Asia/Calcutta" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>
</apex:page>
In order to get the calendar's HTML code go to your Google Calendar page and either create a new Calendar to publish it as public calendar or if you already have one then click on settings (on the left side of the screen).
Once you have your public calendar ready go to its "details" page and look for a spot that says "Embed This Calendar", copy the code and paste it into your Visualforce page. That's all!
Page:
<apex:page tabStyle="Campaign">
<apex:form >
</apex:form>
<iframe src="https://www.google.com/calendar/embed?src=sfdcmahi%40gmail.com&ctz=Asia/Calcutta" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>
</apex:page>
0 comments:
Post a Comment