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!
|
| |
|
Re: How to add a hyperlink back to a Ticket from the email notification?
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.
|
|
|
| |
|
Re: How to add a hyperlink back to a Ticket from the email notification?
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?
|
|
|
|
Re: How to add a hyperlink back to a Ticket from the email notification?
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.
|
|
|
| |
|
Re: How to add a hyperlink back to a Ticket from the email notification?
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 dialogMicrosoft 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. |
|
|
| |
|
Re: How to add a hyperlink back to a Ticket from the email notification?
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. |
|
|
|
Re: How to add a hyperlink back to a Ticket from the email notification?
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. |
|
|
|