You need to sign in to do that
Don't have an account?
Louisa Pidcock 11
pop up not working in prod
Hi Guys
I am deploying a project at the moment and am completely flommuxed as to why my VF pop up alert ( is triggred by workflow that populates a text area, then the VF pop up displays the contents of that field)
It works perfectly in the sandbox but not in prod... I have ensured i have access to the VF page on my profile and the workflow is behnaving as expected and I have not amended the VF code since deploymet from sandbox - anyone got any ideas??
here is my VF Page:
<apex:page standardController="Counterparty__c">
<script type="text/javascript">
window.onload=function(){
var alertMessage = "{!Counterparty__c.Alert_Message__c}";
if( alertMessage != null && alertMessage !='')
alert( alertMessage );
}
</script>
</apex:page>
I am deploying a project at the moment and am completely flommuxed as to why my VF pop up alert ( is triggred by workflow that populates a text area, then the VF pop up displays the contents of that field)
It works perfectly in the sandbox but not in prod... I have ensured i have access to the VF page on my profile and the workflow is behnaving as expected and I have not amended the VF code since deploymet from sandbox - anyone got any ideas??
here is my VF Page:
<apex:page standardController="Counterparty__c">
<script type="text/javascript">
window.onload=function(){
var alertMessage = "{!Counterparty__c.Alert_Message__c}";
if( alertMessage != null && alertMessage !='')
alert( alertMessage );
}
</script>
</apex:page>
Run your VF page Like below format.
Pass any Counterparty__c record id to url...
https://test-lightning-dev-ed--c.ap5.visual.force.com/apex/PopupEg?id=Copy id here
Run your vf page like that...Let me know if any problem comes.
Thanks,
Yogesh
All Answers
Run your VF page Like below format.
Pass any Counterparty__c record id to url...
https://test-lightning-dev-ed--c.ap5.visual.force.com/apex/PopupEg?id=Copy id here
Run your vf page like that...Let me know if any problem comes.
Thanks,
Yogesh