Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, May 18, 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!
 Administration Forums - General Administration
Forum to discuss general administration topics for SalesLogix (including LAN & remote topics). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General Administration | New ThreadView:  Search:  
 Author  Thread: *.SLM file does not automatically imported into the History table ?
amy
Posts: 4
 
*.SLM file does not automatically imported into the History table ? Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 May 12 1:06 AM
fiogf49gjkf0d

Hello all:


Sage Saleslogix Version 7.5.1.1742


I write VB Code in Outlook2010 mail content is Save as  XX.Slm File
However, this file does not automatically imported into the History table ?


 


Ootlook VB Code: 


Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)


Dim myItem As Outlook.MailItem
Set myItem = Application.CreateItem(olMailItem)
If myItem.Class = olMail Then


   Dim myItem As Outlook.Inspector
   Dim objItem As Outlook.MailItem
   Dim strPrompt As String, strname As String
   Dim sreplace As String, mychar As Variant, strdate As String
    
   Set myItem = Outlook.ActiveInspector
   Set objItem = myItem.CurrentItem
    
   If objItem.Class = olMail Then
       If objItem.Subject <> vbNullString Then
          strname = objItem.Subject
       Else
          strname = "No_Subject"
       End If
       strdate = objItem.ReceivedTime
       sreplace = "_"
       For Each mychar In Array("/", "\", ":", "?", Chr(34), "<", ">", "|")
           strname = Replace(strname, mychar, sreplace)
           strdate = Replace(strdate, mychar, sreplace)
       Next mychar
       
       myPath = "C:\Documents and Settings\USER\Application Data\Saleslogix\Outlook\TempMailDir"
       objItem.SaveAs myPath & "\" & "S-" & Format(Now, "YYYYMMDD-hhmmss") & ".SLM", olMSG
   End If


End If


End Sub 

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: *.SLM file does not automatically imported into the History table ? Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 May 12 3:09 AM
fiogf49gjkf0d

The .msg file you create needs to go in a sub-folder (MSG) or (EML) e.g. C:\Users\[User]\AppData\Roaming\SalesLogix\Outlook\TempMailDir\MSG but, also, even if they are placed they there they will not be picked up until the next time you log into SLX. In essence they queue up. When you login to SLX as this user then it will start to record them. I'm not sure where the .SLM comes from ?


You can test this by quitting SLX, hit the record to history and then navigate to the path above. This version/file may change on the version you are using. The above is the case for v7.5.4

[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): 5/18/2024 8:06:00 AM