Thursday, November 20, 2008 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Mainstream Forums  Developers  Custom Field - ...
 Custom Field - File
 
KillerKiwi
33 posts
Joined
2/12/2007

Custom Field - File
Posted: 17 Mar 08 7:02 PM Modified By KillerKiwi  on 3/17/2008 7:05:52 PM)
Does the custom field file type actually work

I created a custom field of type guid, and changed the edit view entry to link to the field as type file... but skimming through the code with a debugger it dosn't seem to get uploaded any where ... only images seem to be handled?

Also there is a
SqlProcs.spIMAGES_Insert
but no
SqlProcs.spFILES_Insert ?

Thanks

Jason Taylor

"This one's tricky. You have to use imaginary numbers, like eleventeen..." - Calvin
support
2096 posts
1st
Joined
1/3/2006

Re: Custom Field - File
Posted: 19 Mar 08 12:42 AM

There does seem to be some missing code with relation to having a file as a custom field.  What is your goal?  An account can already accept an attachment.  Why must it be a custom field?

KillerKiwi
33 posts
Joined
2/12/2007

Re: Custom Field - File
Posted: 19 Mar 08 4:12 PM Modified By KillerKiwi  on 3/19/2008 5:08:05 PM)
we would like to attach a pdf to a order

Ideally we like the edit to look like

[ download ] [delete]
[ fileinputcontrol ]

and view to be just [ download ]



"This one's tricky. You have to use imaginary numbers, like eleventeen..." - Calvin
support
2096 posts
1st
Joined
1/3/2006

Re: Custom Field - File
Posted: 19 Mar 08 5:39 PM

If you create a custom field, then you can only have one attachment.  If you use the existing Create Note or Attachment button, then you can have as many attachments as you want.

Why doesn't the existing system satisfy your requirement?

 

KillerKiwi
33 posts
Joined
2/12/2007

Re: Custom Field - File
Posted: 19 Mar 08 6:25 PM Modified By KillerKiwi  on 3/19/2008 7:14:42 PM)
Its a required field... I've just about completed the code to make it work

[edit] code submitted to support@splendidcrm.com

copy of patch http://rafb.net/p/FyZuKE21.html

Note: This reuses the images table to store files.. works fine

"This one's tricky. You have to use imaginary numbers, like eleventeen..." - Calvin
  Mainstream Forums  Developers  Custom Field - ...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.
SplendidCRM and SplendidCRM Software are trademarks of SplendidCRM Software, Inc. SugarCRM is a trademark of SugarCRM Inc. in the United States, the European Union and other countries. All other trademarks used in this web site are the property of their respective owners.