You need to sign in to do that
Don't have an account?
SFDC9999
Site Prefix issue in Visual Force for Communities
HI ,
I am deploying some code from sandbox which was developed by another developer. I deopled everything and one visual force page is not working and it gives me an error saying Page error occured while loading page . And this same page works in my sandbox and both the codes are exact same . Am wondering if i missed anything while deployment .
Here is peice of code which needs to work for Opening up the Visual force page.
Exact same code in both sandboxes and checked profile permissions and object permissions . everything exactly same . Any insight please
Thanks
G
I am deploying some code from sandbox which was developed by another developer. I deopled everything and one visual force page is not working and it gives me an error saying Page error occured while loading page . And this same page works in my sandbox and both the codes are exact same . Am wondering if i missed anything while deployment .
Here is peice of code which needs to work for Opening up the Visual force page.
<span><a href="javascript:void(0)" onclick="openProductDetailModal('{!$Site.Prefix}/apex/CCMTY_OrderProductDetailModal?id={!orderItem.PricebookEntry.Product2Id}&pricebookEntryId={!orderItem.PricebookEntryId}');"> {!orderItem.PricebookEntry.Product2.Name} </a> </span> function openProductDetailModal(url){ $("#productDetailModal .modal-body").html('<iframe width="100%" height="750" id="upload_file" frameborder="0" scrolling="no" allowtransparency="true" src="'+url+'"></iframe>'); $('#productDetailModal').modal('show'); }
Exact same code in both sandboxes and checked profile permissions and object permissions . everything exactly same . Any insight please
Thanks
G
Best Answer chosen by SFDC9999
SFDC9999
Sorry It was a Query issue , nothing to do with Prefix stuff.