Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 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!
 External Development Forums - SalesLogix OLEDB Provider
Forum to discuss using the SalesLogix OLE DB Provider from external applications (including usage of built-in provider procedures). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix OLEDB Provider | New ThreadView:  Search:  
 Author  Thread: Attaching a file to the SLX DB
Antony Currington
Posts: 15
 
Attaching a file to the SLX DBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Sep 06 5:11 PM
fiogf49gjkf0d
Hi all,

Can anyone point me in the right direction a to how to attach a file and have is sync out to remote users?

I've copied the file to the document share.

I've created an ATTACHMENT record.

How do I queue the file for sending to remotes? Do I need to, or will the creationof the ATTACHMENT record do this for me? (yeah, I know, probably not, but it'd be nice)

Regards,
Antony
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Attaching a file to the SLX DBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Sep 06 1:09 AM
fiogf49gjkf0d
The only way in current SLX is to make a call to:

Application.BasicFunctions.LogSendFileAttachment(AccountID As String, FileName As String)


This will queue it up to sync out. The part that sucks about this is that since it is only accessible via the Application object is that you need to have the client running to call it. Lame. But as long as that is not a problem then you're in luck.

-Ryan
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: Attaching a file to the SLX DBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Sep 06 8:55 PM
fiogf49gjkf0d
You'll also need to call that if you do any updates to the attachment. I have a routine that will update the attachment if one of the same name exists (I'm anal like that) and I call it then just to be thorough.

The "problem" is that the TEF to send the file has to be created from within the client. If there were only a stored procedure in the OLE DB Provider to accomplish the same thing in v7. I assume from Ryan's response there isn't but that's an assumption and you know what they say about those.
[Reply][Quote]
Antony Currington
Posts: 15
 
Re: Attaching a file to the SLX DBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Sep 06 10:02 PM
fiogf49gjkf0d
Thanks guys.
[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/22/2024 8:56:39 PM