function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
How do I display any Visual force pages inside a page layout?? Is it possible?
Guys I had make it possible just by simple Javascript
Let me know how is this Approach :)
here is complete solution for you... :)
Create custom button , Detail page button with content source as Javascript
Here is code for your script
var url="http://www.xxx.com/assests?id={!Account.Id}"; var a = [];var re = new RegExp('\\bpbHeader\\b');var els = document.getElementsByTagName("div");for(var i=0,j=els.length; i<j; i++)if(re.test(els[i].className))a.push(els[i]);var parent=a[0]; var e=document.getElementById("FrameLoader"); if(e==null) { var Errordiv = document.createElement('div'); Errordiv.setAttribute('id','FrameLoader'); Errordiv.setAttribute('title','Download complete'); Errordiv.innerHTML = '<p><span class="ui-icon-circle-check ui-icon" style="float:left; margin:0 7px 50px 0;"></span>Assets Details </p>'; parent.appendChild(Errordiv); var con=document.getElementById("FrameLoader"); var ifrm = document.createElement("IFRAME"); ifrm.setAttribute("src", url); ifrm.setAttribute("frameBorder",0); ifrm.style.width = 700+"px"; ifrm.style.height = 250+"px"; con.appendChild(ifrm); }
Special request Dont Play With Script Code ,
*** Just update your destination url..... :)
Cheers,
Bala
HI,
Yes, its possible using the page layout, you can select and include the VF pages from the palette. like this example
Thanks Bala. Appreciate it
Guys I had make it possible just by simple Javascript
Let me know how is this Approach :)
here is complete solution for you... :)
Create custom button , Detail page button with content source as Javascript
Here is code for your script
Special request Dont Play With Script Code ,
*** Just update your destination url..... :)
Cheers,
Bala
All Answers
HI,
Yes, its possible using the page layout, you can select and include the VF pages from the palette. like this example
Guys I had make it possible just by simple Javascript
Let me know how is this Approach :)
here is complete solution for you... :)
Create custom button , Detail page button with content source as Javascript
Here is code for your script
Special request Dont Play With Script Code ,
*** Just update your destination url..... :)
Cheers,
Bala
Thanks Bala. Appreciate it