I created a quick action to replace a JS button, it works in lightning but it doesn't show up on the mobile application. The quick action launches this VF page which does the action. Basically taking data from the current record, the session ID, the current record itself, and using those to do a URL redirect.
The URL redirect starts an appexchange integrated application, when combined with the variables from the record it creates an attatchment to that record based on field data in that record.
The problem is this button doesn't show up in the SFDC mobile application, but it works in lightning.
<apex:page StandardController="Sales_Toolkit__c">
<apex:form >
<apex:includeScript value="../../soap/ajax/39.0/connection.js"/>
<script>
var numTCs = {!Sales_Toolkit__c.Number_of_Theme_Conversions__c};
var curStatus = '{!Sales_Toolkit__c.Current_Status__c}';
if(numTCs == 0) {
alert('You must have at least one game title added before submitting this configuration.');
} else {
var sID = '{!$Api.Session_ID}';
var ddpIds = '{!IF(Sales_Toolkit__c.Is_Ticket_Created__c=='False', 'a4n1O0000008gHA', 'a4n1O0000008gHB')}';
var eID = '{!Sales_Toolkit__c.Id}';
window.location.href = '/apex/loop__looplus?eid=' + eID + '&sessionid=' + sID + '&ddpIds=' + ddpIds + '&autorun=true';
}
</script>
</apex:form>
</apex:page>
I got it why its not showing .. You need to check Available for Lightning Experience, Lightning Communities, and the mobile app on the VF page ..Refer this image
From Setup, enter Visualforce Pages in the Quick Find box, then select Visualforce Pages. Click Edit for the page you want to make available for your community. Select Available for Lightning Experience, Lightning Communities, and the mobile app and click Save
The URL redirect starts an appexchange integrated application, when combined with the variables from the record it creates an attatchment to that record based on field data in that record.
as you can see here.
The problem is this button doesn't show up in the SFDC mobile application, but it works in lightning.
From Setup, enter Visualforce Pages in the Quick Find box, then select Visualforce Pages.
Click Edit for the page you want to make available for your community.
Select Available for Lightning Experience, Lightning Communities, and the mobile app and click Save
please follow below steps :-
PLEASE MARK AS A BEST ANSWER!!!
Regards
Mukesh