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
hemant keni 20hemant keni 20 

Mobile Extension Toolkit doesn't show anything in FSL mobile app

I have created the Mobile Extension Toolkit. I have below a simple index.html file which is a direct root in zip file.
<!DOCTYPE html>
<html>
    <body>
        Hello
        <pre id="context"></pre>
        <script>
            ​document.addEventListener("fsl-ready", function(​e​) {
                if(e.detail) {
​                   //show error
                }else {
                    ​var params = fsl.context.params;
    ​               // Show params on page.
                    ​document.getElementById("context").innerHTML = JSON.stringify(params, null, 2);
                }
            })
        </script>
    </body>
</html>

 


I have created new Field Service Mobile Extension type action and added it into the layouts. The action is shown on the mobile. But it shows a blank page. Not even a "Hello World!!" text.
Am I doing anything wrong. Please let me know if you have any inputs about this issue.
Thanks in advance.

VinayVinay (Salesforce Developers) 
You can reach out to Salesforce Field Service group on
https://trailblazers.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F93A000000PcSs for inputs on your ask.

Thanks,