Ask the Community
Groups
Embedding Live Connect on Demand Link - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>SUMMARY</strong></p> <p>The default method for clients to download a Live Connect on Demand (LCoD) agent is to direct to the company VSA server site (i.e., <a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fmymsp.com%2Fgethelp%29">http://mymsp.com/gethelp)</a>. If there is a preference to use an alternative web portal to join a LCoD session, then we'll employ a method to grab the LCoD code as an ID and embed it into the URL. This will allow the client to download the LCoD agent easily.</p> <p><strong>SOLUTION</strong></p> <p> </p> <p><strong>OPTION #1</strong></p> <p>In your site's HTML body, it will require placement of an input element:</p> <p><span style="font-family: Courier;"><input id="myCode" type="text" name="code"></span></p> <p>Additionally, it'll require a button element:</p> <p><span style="font-family: Courier;"><button onClick="window.open('<a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fmsp.org%2FARS%2Fv1.0%2F%3Fid%3D%27%2Bdocument.getElementById%28%27myCode%27%29.value%29">http://msp.org/ARS/v1.0/?id='+document.getElementById('myCode').value)</a>;">Connect</button></span></p> <p>The button contains a function <span style="font-family: Courier;">window.open</span> which will launch a new window directing to the VSA site (<a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fmsp.org%29">http://msp.org)</a>. Since LCoD sits under the the Authorization Request Service directory and it requires a code in order for it to request the appropriate LCoD agent package, it will plug in the ID from the textbox element and result in the full URL string:</p> <p><span style="font-family: Courier;"><a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fmsp.org%2FARS%2Fv1.0%2F%3Fid%3Dxxxxxxxxx">http://msp.org/ARS/v1.0/?id=xxxxxxxxx</a></span></p> <p>An example site may look like this:</p> <p> </p> <div style="text-align: center;"><img src="https://us.v-cdn.net/6032361/uploads/migrated/KIH4XZT8SLNC/10-20-2017-5-31-05-pm.png" alt="10-20-2017_5-31-05_PM.png" width="333" height="145" class="embedImage-img importedEmbed-img"></img></div> <p> </p> <p>When the user inputs a valid code and clicks on the <strong>Connect </strong>button, the user will be brought to the LCoD page and automatically download the LCoD agent.</p> <p><strong>Note: </strong>It would be prudent to provide data validation to ensure the client isn't inputting invalid values. For example, the code will always be 9 numerical digits long. Attempts to submit with alphabetical, special, or blank value should be prevented.</p> <p> </p> <p><strong>OPTION # 2</strong></p> <p>Do a DNS table update that would re-direct the URL to the correct site using a URL of your choice instead of the /gethelp site. Basically, forwarding a defined subdomain to another URL and ideally masking it so for example, you would see help.mymsp.org instead of kaseya.mymsp.org/gethelp.</p> <p> </p> <p><strong>OPTION # 3<br></strong></p> <p>Embed HTML code on your own site to have customers put in the ID number. </p> <blockquote class="blockquote"> <div class="blockquote-content"> <div dir="ltr"> <div> </div> </div> </div> </blockquote> </article> </main>