You need to sign in to do that
Don't have an account?
Jason Morrissette
Embed Custom Public Calendar in Visualforce
Seems simple but I want to embed a custom public calendar in a Visuaforce page. I try using iFrames and they either show nothing or redirect.
These redirect the page entirely:
<iframe src="https://xxx.my.salesforce.com/00U/c?cType=1&cal_lkid=02341000000g22f&isdtp=vw"></iframe>
<iframe src="https://xxx.my.salesforce.com/00U/c?cType=1&cal_lkid=02341000000g22f&isdtp=p1"></iframe>
Without ISDP nothing displays in the frame
<iframe src="https://xxx.my.salesforce.com/00U/c?cType=1&cal_lkid=02341000000g22f"></iframe>
I have used both HTML iFrame as well as the Apex version.
Redirection is not an option because I want to put some buttons above the calendar and as such need it to sit within the page.
These redirect the page entirely:
<iframe src="https://xxx.my.salesforce.com/00U/c?cType=1&cal_lkid=02341000000g22f&isdtp=vw"></iframe>
<iframe src="https://xxx.my.salesforce.com/00U/c?cType=1&cal_lkid=02341000000g22f&isdtp=p1"></iframe>
Without ISDP nothing displays in the frame
<iframe src="https://xxx.my.salesforce.com/00U/c?cType=1&cal_lkid=02341000000g22f"></iframe>
I have used both HTML iFrame as well as the Apex version.
Redirection is not an option because I want to put some buttons above the calendar and as such need it to sit within the page.
IFraming of salesforce pages has been disabled by Salesforce, hence you can not embed a salesforce page like calendar in vf page. Plz refer https://help.salesforce.com/articleView?id=IFRAME-or-Web-Tab-Content-Displays-Blank-Page-1327107637323&type=1
As a work around you can build custom calendar.
All Answers
IFraming of salesforce pages has been disabled by Salesforce, hence you can not embed a salesforce page like calendar in vf page. Plz refer https://help.salesforce.com/articleView?id=IFRAME-or-Web-Tab-Content-Displays-Blank-Page-1327107637323&type=1
As a work around you can build custom calendar.