Quantcast
Channel: Forum CRM Deployment
Viewing all articles
Browse latest Browse all 997

Cannot open custom protocol URL from homepage of entity

$
0
0

i created a custom protocol to launch a local exe application from CRM ribbon buttons, it works correctly on entity forms, but not work on homepage of entity,

my code to launch local exe application is:

            if (document.getElementById("inkKK") == null) {
                var a = document.createElement("a");

                a.setAttribute("id", "inkKK");
                a.setAttribute("style", "display:none;");
                document.body.appendChild(a);
            }
            document.getElementById("inkKK").setAttribute("href", "mycustURL://action=new&id={5FF925EC-63E5-4CF1-B396-763829B6ED9C}");
            document.getElementById("inkKK").click();

custom protocol "mycustURL" was registered on my local registery.

i got 'Access is denied' when i clicked the ribbon button from homepage of entity, i tried to debug and found the problem was caused on 

document.getElementById("inkKK").click();

the click event does not fired and shown the error 'Access is denied'.

btw, the code above works correctly from browser (both homepage and forms of entity), only not work homepage of entity on outlook.

could anybody help me??


Viewing all articles
Browse latest Browse all 997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>