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
Javeed ShaikJaveed Shaik 

Not able to Implement Global Action with Visualforce Pages


I was able to create the Visualforce page. I successfully enable the Visualforce page for Salesforce mobile apps and Lightning pages But unable to Create a Global Action using Custom Visualforce with the Visualforce page created above.

I even tried using this piece of code from salesforce documentation to check whether my vf page has any issues but I am getting the same error.
<apex:page docType="html-5.0" title="Create Account">
    <apex:remoteObjects >
        <apex:remoteObjectModel name="Account" fields="Id,Name"/>
    <div class="mypage">
        Account Name:
        <input type="text" id="accountName"/>
        <button onclick="createAccount()">Create Account</button>
        function createAccount() {
            var accountName = document.getElementById("accountName").value;
            var account = new SObjectModel.Account();
            account.create({Name: accountName}, function(error, records) {
                if (error) {
                } else {

GA error

Please let me know the issue.
Thanks in Advance!!