Solved

External lists and attachments (MOSS 2010)

Posted on 2010-09-23
2
956 Views
Last Modified: 2012-05-10
Hi ,

The new external lists are great but quite limited in their uses. The relation data application I'm about to build will contain a lot of custom logic and will make use of a plain ol' database connection.

Some external database tables will be exposed in SharePoint as external lists and allow all CRUD operations. Some pages will however contain custom webparts to actually edit the data while it looks like as if it is normal SharePoint functionality.

One requirement of a few of those external lists are attachments. My tests indicated that attachments are not working on external lists (just like workflows and event handlers). Has anybody thought of a way to allow attachments on an external list? Will I need to handle this requirement in my custom logic?

Cheers and thank you in advance

0
Comment
Question by:CJ_S
2 Comments
 
LVL 43

Accepted Solution

by:
zephyr_hex (Megan) earned 500 total points
ID: 33746629
i'm not sure you need a custom web part to show external data in sharepoint.  Data View web part does that.

Data Form web part is similar, except it can also be configured to allow editing of the data.

regarding attachments, you can add attachment functionality to a web part using custom code.  here is an example:
http://www.pointsharepoint.com/2008/12/list-attachments-in-webpart-solution.html

you can likely use the DVWP for DFWP as a basis, and add attachment functionality.
0
 
LVL 22

Author Closing Comment

by:CJ_S
ID: 33967210
Cleaning up.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question