Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, June 20, 2025 
 
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 - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: How to add a hyperlink back to a Ticket from the email notification?
Lawrence Reid
Posts: 63
 
How to add a hyperlink back to a Ticket from the email notification?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Aug 07 2:40 PM
An email is sent when a ticket is assigned. It includes the pretty ticket id. I need to add a hyperlink to the email that when clicked it will open SLX, if necessary, and then open the ticket record.
[Reply][Quote]
Lawrence Reid
Posts: 63
 
Re: How to add a hyperlink back to a Ticket from the email notification?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Aug 07 10:49 AM
I found how to create hyperlinks manually. I still need to find a way to add this hyperlink to an email that is automatically sent. Any examples is greatly appreciated.

Resolution ID: 473034

How to create and use hyperlinks to open main view records from outside SalesLogix
Entry Type: Informational

Product: Sage SalesLogix

Application: SalesLogix Client

Version Reported: 7.x

Description:
A new feature in SalesLogix 7.0 allows the creation of hyperlinks that open SalesLogix to a specific record when clicking on the link from outside of SalesLogix.

Possible Resolution:
To create the hyperlink:

In any main view:
1) Select the record to become a link.
2) Open the Edit menu and select Copy link to Clipboard.
3) Paste the link into the e-mail or document.

To use the link:

On any system with access to the SalesLogix Database with the client installed:
1) Open the e-mail or document containing the link.
2) Click on the link to open the Sales Client to the indicated record.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: How to add a hyperlink back to a Ticket from the email notification?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Aug 07 12:54 PM
You just add the hyperlink in the body like slx:TICKET/<TICKETID>

This is assuming you're on v7 or higher. If not, you'd need to use something external to handle the "slx" links (there's an article on this site for this)
[Reply][Quote]
Lawrence Reid
Posts: 63
 
Re: How to add a hyperlink back to a Ticket from the email notification?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Aug 07 8:46 AM
Thanks for your assistance. I am running v7. I first added the following line of code to the FormatAssignedToEmail script in the System:Insert New Ticket form

strBody = strBody & "slx:TICKET/" & strTicketID"

This added the correct text , but that did not format it as a hyperlink in the email. When I manually formatted it Outlook as a hyperlink, it worked and opened SLX to the ticket.

Next I tried formatting it as an html tag.

strBody = strBody & "<a href=""slx:TICKET/" & strTicketID & ">" & txtTicketID.Text & "</a>"

When I msgbox strBody the text is there, however the email removes this line and every thing past it.

I also noticed on this site that the QueMessage function does not allow the email to automatically be sent. It requires the user to leave SLX and click the send button. I saw some alteritives. What do you think is the best solution to send an automatic email with this hyperlink back to SLX?
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: How to add a hyperlink back to a Ticket from the email notification?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Aug 07 11:01 AM
The hyperlink anchor tag will only work if the e-mail is HTML formatted. Also, QueMessage will only spawn the new outlook mail window only - not send the mail itself.

Since you want it to go out automatically anyway, I'd just add a .NET Extension to kick off the code. Sending an HTML formatted e-mail is a simple task from C#/VB.NET.

[Reply][Quote]
Lawrence Reid
Posts: 63
 
Re: How to add a hyperlink back to a Ticket from the email notification?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Aug 07 2:42 PM
Thanks again. I will start reviewing the .Net articles here for a great jump start.
[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: How to add a hyperlink back to a Ticket from the email notification?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Aug 07 7:47 AM
Ryan,

Out of curiosity I created a new mail and added a hyperlink that when to an account. It worked but before it would launch the app I got this dialog
Microsoft Office has identified a potential security concern.
This location may be unsafe.

slx:ACCOUNT/A6UJ9A0001MM

Hyperlinks can be harmful to your computer and data. To protect your computer, click only those hyperlinks from trusted sources.

Do you want to continue? (Yes) or (No)

I suspected I would get a message like this. Is there anyway to get around this or is it just part of the process and educating the user?

Thanks,
John G.
[Reply][Quote]
Lawrence Reid
Posts: 63
 
Re: How to add a hyperlink back to a Ticket from the email notification?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Aug 07 9:54 AM
John, how did you create the email and format this as a hyperlink? I have not been able to format slx:ACCOUNT/A6UJ9A0001MM as a hyperlink. It is only straight text.
[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: How to add a hyperlink back to a Ticket from the email notification?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Sep 07 6:21 AM
Lawrence,

I created a new email in Outlook 2007. In the body I added the text

slx:ACCOUNT/A6UJ9A0001MM

Highlighted it, then I right-clicked the highlighted text. From the pop-up menu I selected 'Hyperlink...' In the 'Insert Hyperlink' dialog box go to the 'Address:' field and enter

slx:ACCOUNT/A6UJ9A0001MM

Click OK and the highlight text should now appear as a hyperlink. Be sure to use an accountid you know is in your system. My example is for a demo account in our system.

John G.
[Reply][Quote]
Lawrence Reid
Posts: 63
 
Re: How to add a hyperlink back to a Ticket from the email notification?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Sep 07 11:11 AM
This is great. Chris from SalesLogix dev support team sent me this.

"<a href= " & "SLX:Ticket/" & txtTicketIDPF.Text & ">" & txtTicketID.Text & "</A>" &vbCRLF

I added this to the body of the email. It formatted it and worked as a hyperlink. The txtTicketIDPF.Text control holds the actual TicketID, and txtTicketID.Text holds the "pretty" TicketID.
[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 © 2025 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): 6/20/2025 7:00:29 AM