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
sfdc@isha.ax1814sfdc@isha.ax1814 

VF tab in mobile version not working

Hi I have Below Vf page and i created a VF tab with URL . The URL is loading in Classic and lightning but not in mobile. I am suspecting the problem with the targetURL parameter which iam passing. Can you please help me solve this.

I tried with some other vfpage passing Accountid it is loading properly. 

Vfpage:



<apex:page lightningStylesheets="true" showHeader="false">
    <apex:iframe id="NPXDashboardFrame" height="1000px" scrolling="true"/>
   <!-- <iframe  id="NPXDashboardFrame" style="overflow: auto!important; -webkit-overflow-scrolling: touch!important;position:absolute; top:0px; left:0px; bottom:0px; right:0px; width:100%; height:100%;"/>-->


 <script type="text/javascript">
    var enterpriseIdfier = 'ISHA';//this need to change as per enterprise

    var smxServer = '{!$Setup.SMX_URL__c.SMX_URL__c}'; 
    var varSessionID = '{!$Api.Session_ID}';
     alert(varSessionID);
  var Server ='{!$Setup.SFDC_URL__c.SFDC_URL__c}';
  //var Server ='{!$Api.Partner_Server_URL_90}';
    var varOwner = '{!$User.Id}';
    var varUsername = '{!$User.Username}';
    var embedChartUrl='/main/WebUI.html';
    var url = smxServer + '/app/core/j_satmetrix_security_check?session='+ varSessionID + '&server="'+Server+'"&owner='+varOwner+'&username='+varUsername+'&version=3&enterpriseIdfier='+enterpriseIdfier+'&requestTokenType=SALES_FORCE&requestToken=NONE&targetUrl='+embedChartUrl;
    
    alert(url);
    document.getElementById('NPXDashboardFrame').src = url;
    
       
   
    </script>
</apex:page>
User-added image

Can comeone help me on this.


Regards,
Isha
sfdc@isha.ax1814sfdc@isha.ax1814
Hi Everyone,


I found that this is a known issue . But If any one has the solution for this please help me on this.
https://success.salesforce.com/issues_view?id=a1p300000008Y6nAAE

Regards,
Isha