• How to enable attachment in a page layout in SharePoint?

    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.

    1 comments → How to enable attachment in a page layout in SharePoint?

    1. Hi,

      Do you have some example code about this problem? How do I associate Custom page layouts with pages library? How do you associate the specific Web Part (for file uploading, or any web part) with single page, so that it know exactly which page it is on?

    Post a Comment

2013 © SharePoint Engine All rights reserved. Developed By Binary Republik