Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, November 23, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: Email contact link to user
Darren Savery
Posts: 51
 
Email contact link to userYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Mar 07 10:14 AM
fiogf49gjkf0d
Hi folks,

I remember reading an article (on this website I think) that detailed how to send a link/URL to another SLX user that, when clicked, it will take them to that customer record in SLX.

Can anyone point me in the right direction?
[Reply][Quote]
Stuart
Posts: 178
 
Re: Email contact link to userYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Mar 07 11:02 AM
fiogf49gjkf0d
I think this is it: http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=80
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Email contact link to userYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Mar 07 12:28 PM
fiogf49gjkf0d
Stuart did link to the correct article. One thing to keep in mind, that article was written for pre-v7. That functionality is built into v7 so if you're on that version you can just include the hyperlink for slx:TABLE/IDVALUE in an e-mail and it will just work.

If you're not yet on v7 then the article outlines how to build the functionality for your current version.
[Reply][Quote]
Darren Savery
Posts: 51
 
Re: Email contact link to userYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Mar 07 2:09 PM
fiogf49gjkf0d
Hi Ryan,

I'm on V6.2 at the moment with no signs of upgrading in the near future. I've managed to get it working, but not 100%. It works when I paste the link into a browser but it only shows up as plain text inside an email instead of being treated as a hyperlink. Any ideas how to fix it?

Thanks!
[Reply][Quote]
Darren Savery
Posts: 51
 
Re: Email contact link to userYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Mar 07 2:09 PM
fiogf49gjkf0d
Thanks Stuart
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Email contact link to userYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Mar 07 3:43 PM
fiogf49gjkf0d
You'll want to form the e-mail as HTML and then include the like as a hyperlink (ie: anchor tag with the SLX link as the href)

From a SLX script, you can use the built-in QueMessage function, here's a sample:

Dim body

body = "This is a SalesLogix Link<br><br>" & _
"Please contact <a href='slx://contact/CXXXX0000001'>Customer Name</a><br><br>" & _
"<i>Thanks!</i>"

Application.BasicFunctions.QueMessage "you@youremail.com", "", "", "My Subject", body, ""



Make sense?
[Reply][Quote]
Darren Savery
Posts: 51
 
Re: Email contact link to userYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Mar 07 4:47 AM
fiogf49gjkf0d
Hi Ryan,

I've got it working now. What I wanted was the functionality of the toolbar button you provided with the record in the email pre-set as a hyperlink. Your above example showed how to do this, but for a fixed value (or record). I took both of them, mixed them up a little in the blender and out came a nicely formatted email with a dynamic hyperlink already defined. Nice!

For anyone else who wants to achieve the same, simply modify the 'URL Link Toolbar Action' script included in Ryan's zip file to look like the following:

option explicit

sub Main

Dim shell
Dim mv
Dim link
Dim recname
Dim body

Set mv = Application.MainViews.ActiveView
If (mv.CurrentID = "") Then Exit Sub

link = "slx:" & mv.BaseTable & "/" & mv.CurrentID
recname = mv.Caption

body = "Please refer to the following SLX record:<br><br>" & _
"<a href='" & link & "'>" & mv.caption & "</a><br><br>"

Application.BasicFunctions.QueMessage "", "", "", "SLX Record: " & recname, body, ""

end sub


Thanks for the help Ryan
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/23/2024 2:45:21 AM