logo

The ConnectWise Control forum has moved to ConnectWise University! This forum has been locked and is in read-only mode. Click here for instructions on how to access the new forum.

Welcome Guest! You can not login or register.

Notification

Icon
Error

Options
Go to last post Go to first unread
AgapeInternet  
#1 Posted : Monday, February 21, 2011 3:45:19 PM(UTC)
AgapeInternet


Rank: Newbie

Joined: 2/21/2011(UTC)
Posts: 3
Location: Indiana

ScreenConnect Team: Session Event Triggers are implemented in the latest versions of ScreenConnect.

I need to place a link on the Guest page to Notify host of requested connection. When clicked it would send an email to me. I am going to be having users going to the Guest page and I need to be notified that a session is being requested. - Thanks in advance!!!

Edited by moderator Wednesday, September 3, 2014 6:38:53 PM(UTC)  | Reason: Not specified

bigdessert  
#2 Posted : Tuesday, February 22, 2011 8:41:57 AM(UTC)
bigdessert


Rank: Advanced Member

Medals: ScreenConnect Advisor: Focus Group MemberLevel 3: Shirt off your back! Received 25 Thanks!

Joined: 9/13/2010(UTC)
Posts: 708
Location: Minnesota

Thanks: 1 times
Was thanked: 44 time(s) in 32 post(s)
I would just modify these settings under the appearance tab of administration.

ProductPanel.LinkMessage
ProductPanel.LinkUrl

Then point that url to a form you create elsewhere.

Then this link will show up at the bottom of all your pages.
Jake  
#3 Posted : Tuesday, February 22, 2011 9:28:04 AM(UTC)
Jake


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 4/9/2010(UTC)
Posts: 2,061

Thanks: 1 times
Was thanked: 393 time(s) in 188 post(s)
If you really want a link to send an email, in Guest.aspx change this:

Code:
	<asp:PlaceHolder runat="server" Visible="<%$ Resources:Default, WelcomePanel.Visible %>">
		<h2 runat="server" innerhtml="<%$ Resources:Default, WelcomePanel.Heading %>" />
		<p runat="server" innerhtml="<%$ Resources:Default, WelcomePanel.Message %>" />
	</asp:PlaceHolder>


To this:

Code:
	<asp:PlaceHolder runat="server" Visible="<%$ Resources:Default, WelcomePanel.Visible %>">
		<h2 runat="server" innerhtml="<%$ Resources:Default, WelcomePanel.Heading %>" />
		<p runat="server" innerhtml="<%$ Resources:Default, WelcomePanel.Message %>" />
		<p><a href="#" onclick="PageMethods.SendNotificationEmail(function() { alert('Alert email sent.  Please wait.'); });">Request Assistance</a></p>
	</asp:PlaceHolder>


And in Guest.aspx.cs, add this method:

Code:
		[WebMethod]
		public static void SendNotificationEmail()
		{
			var mailMessage = new System.Net.Mail.MailMessage();
			mailMessage.To.Add("support@elsitech.com");
			mailMessage.Subject = "ScreenConnect Session Request";
			mailMessage.Body = "Help!";

			var client = new SmtpClient();
			client.Send(mailMessage);
		}
ScreenConnect Team
AgapeInternet  
#4 Posted : Tuesday, February 22, 2011 4:04:15 PM(UTC)
AgapeInternet


Rank: Newbie

Joined: 2/21/2011(UTC)
Posts: 3
Location: Indiana

BINGO!! Works great!
Just don't forget to change the email address to your own... ;)

I also tweaked the message body of the email that is sent to include the URL back to the Host screen. So when the request comes in it is just one click back to creat a new session.


THANK-YOU!!!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.