function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Trevor GillTrevor Gill 

Lightning Experience: Open visualforce page popup based on field value

I had a little visualforce page on my "Informal Case" custom object, that would automatically open a new tab when the status of the case = Issued. That Visualforce page doesn't seem to work in the Lightning Experience, though. Is there any way to generate a new tab or a popup window from a field value change in Lightning Experience?

Here's my original visualforce page that was working in Salesforce Classic, but which does nothing in Lightning Experience:
<apex:page standardController="Informal_Case__c" >
<script src="/soap/ajax/34.0/connection.js"></script>
<script src="/soap/ajax/34.0/apex.js"></script>
var arrId = '{!$}';
var queryresult = sforce.connection.query("Select status from case where id='"+arrId+"'");
var records = queryresult.getArray("records");
"{!Informal_Case__c.Status__c}" === "Issued")


Muzammil BajariaMuzammil Bajaria
This URL will not work as lightning runs in different container( You cannot navigate in lightning using URL as we used to do in classic.