Skip to main content

Posts

Showing posts from August, 2009

SharePoint (MOSS) AssetPicker (AssetURLSelector) customization

Couple of weeks back I was asked to customize the asset picker to suit client's requirements. The requirement was something like this : there is an ASP.net application running on application server, on click of a button, it should open up the assetpicker from MOSS (SharePoint environment). After the user selects a link and clicks on "OK" button in asset picker, the selected URL must be populated in a label. The challenges faced are related to different server farms of hosted applications. asp.net application is on application server and assetpicker is on SharePoint server. Below are the steps followed to achieve the desired result. 1. CALLINGPAGE.ASPX (this is an plain asp.net application page) This page is part of asp.net application which will be hosted in application farm. This page consists of a “Browse” button on click of which the asset picker will be displayed. To achieve the desired result, we have put an iFrame in the HTML code. This iFrame will not be displayed ...