11/26/2024 10:26:15 AM
|
|
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!
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.
|
|
|
|
Error while opening an existing Attachment
Posted: 01 Aug 06 6:46 PM
|
fiogf49gjkf0d Hi
Can anyone please tell what are the rules that need to be followed for Attachments. I am not able to open an attachment stored in the server in C:\Documents folder, from the Tickets Attachment tab. Getting an error message "Windows cannot find document". I tried sharing the folder that has the attachment and still get the error.
Thanks Raju.R |
|
|
| |
|
Re: Error while opening an existing Attachment
Posted: 02 Aug 06 9:07 AM
|
fiogf49gjkf0d Attachments are normally stored in the Documents folder of the SyncLogs directory. When you add an attachment to a contact, account, opportunity or ticket, that attachment is copied to the SyncLogs\Documents directory.
If you had the Attachment Path setup as C:\Documents in the Administrator, all of the attachments users have been attaching will be stored on their local drive - not on the server. This is because the local computer is using the path 'C:\Documents' as defined in Administrator. So the local computer only knows to go to its local C: drive to look for the Documents directory. The SLX client is smart in one sense. If it cannot find the directory to store the attachment, it will store it locally in a predefined path that the client software setup.
This would explain why you are getting a 'cannot find document' message when attempting to open a Ticket attachment from a computer other than the computer that created the attachment.
If this is truely the issue, to fix it will take a little time and effort and documentation. First you will need to change the C:\Documents setting in Administrator to be the UNC path (\\servername\sharedname\path). Next, compile a list of ALL the computers where the SLX client is installed. Just a user list will not work because the client could be installed on more PCs than users.
Once that is done you will need to move all of the attachments that were being saved to local computers to the Documents directory on the server. If I am remembering correctly, the location of the attachments on the local computer is going to be
C:\Documents and Settings\All Users\Application Data\SalesLogix\Sync\Documents
Basically what you want to do is move everything from the local computer Documents directory to the Documents directory on the server. This will have to be done for each and every SLX client PC. If this has been like this for a while there is a possibility attachments will be lost if a computer was reformatted or disposed of.
Also make sure the SyncLogs directory on the server is shared to everyone with Read/Write/Delete rights.
John G.
|
|
|
| |
|
Re: Error while opening an existing Attachment
Posted: 02 Aug 06 12:26 PM
|
fiogf49gjkf0d Oh, once you have the pathing fixed you might want to run the Intergrity Checker in Administrator found under Tools. You will only want to run the 'Attachment file validation. (Delete)' test. This will check for the existence of each file listed in the attachments table.
Run only the 'List Number' test initially. This will tell you how many files are in the database where the file is missing. This will tell you that there are still clients out there that have attachments stored locally. These will need to be moved to the server via my previous post. You'll know when you are done when this number returns 0 or you know you've moved all files from all PCs. You can run the test using the 'List Actual' which will tell you the exact filename you are missing. This might give you a clue as to where the attachment is located. If there are only a few attachments missing and you just don't know where they are or are sure they no longer exist, you can run the test using the 'Fix' button. This will DELETE the references to the attachments it can't find from the database table.
Good luck! John G. |
|
|
|
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!
|
|
|
|
|
|
|
|