• Scenario:
    A request came in where in news content writers required to upload a document that gets associated with that news page.

    Background:
    Custom page layouts were built and associated with pages library so that content authors can come and create new news items by actually using page layouts.

    Association of page layout and attachment is not straight forward in SharePoint.

    Work around:
    Custom web part can be developed that will have file upload capability, this web part will display file upload control in edit mode of web part.

    Document or file attachments can be uploaded to a document library and a meta data value can be stored related to that particular news item.

    In view mode it will simply retrieve attachment URL and display.
  • Steps:

    Develop event handler using Visual Studio.

    Deploy event hanlder in GAC.

    Attach it to a list or document library.
2013 © SharePoint Engine All rights reserved. Developed By Binary Republik