download - amrein engineering ag

Classified Ads
Web Part
Version 1.1
May 2014
The “Classifieds” Web Part allows users to post classified ads to a Sharepoint List.
The Web Part requires either WSS 3.0, MOSS 2007, Windows Sharepoint Foundation/Server 2010 or 2013
The following parameters can be configured:
Sharepoint List
Specific List View
List Fields to be displayed
Optional Field Grouping
Search Filters
Header Text
Before you attempt to install the solutions you need to make sure that you have the following installed on your server(s):
WSS 3.0, MOSS 2007, Microsoft SharePoint Foundation or Server 2010 or 2013
Manual Installation
download and unpack the file.
The ZIP archive contains the following files:
- AEClassifiedsWebpart.dll
- AEClassifieds.webpart
- AEClassifiedsDetailView.aspx
- AEClassifiedsDetailView.css
copy the AEClassifiedsDetailView.aspx and AEClassifiedsDetailView.css files into the following directory on your
Sharepoint Server:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\
(Please note that you need to first manually create the “AEClassifiedsWebpart” subfolder).
drop the AEClassifiedsWebpart.dll into the GAC of your Sharepoint server (c:\windows\assembly) or into your
Sharepoint application’s BIN directory.
add the following line to the "<SafeControls>" section of your Web.Config file.
Please make sure that the line is added as one single line (no line breaks):
<SafeControl Assembly="AEClassifiedsWebpart, Version=, Culture=neutral,
PublicKeyToken=8e14aa6e8b65a160" Namespace="AEClassifiedsWebpart" TypeName="*" Safe="True" />
from the top site go to "Site Actions/Site Settings/Modify All Site Settings/Galleries/Web Parts"
use the "Upload" menu option to upload the AEClassifieds.webpart file.
Automatic Installation
Unpack the AEClassifiedsWebpart.wsp and Install.bat (install2010.bat for Sharepoint 2010) files from the Zip Archive
and place the 2 files onto your Sharepoint Server.
Add the Solution by either running Install.bat (Install2010.bat for Sharepoint 2010 or Install2013.bat for Sharepoint
2013) or by manually entering:
stsadm -o addsolution -filename AEClassifiedsWebpart.wsp
Deploy the solution by navigating with your browser to “Central Administration > System Settings > Farm
Management > Manage farm solutions”:
You should now see the AEClassifiedsWebpart.wsp in the farm’s solution store:
Click on “AEClassifiedsWebpart.wsp” to deploy the solution:
Proceed to activate the feature by navigating to the “Site Actions/Site Settings” page in your top-level site:
Choose “Site collection features” to navigate to the Site Collection Features page:
Activate the “AE Classifieds Solution” feature
Adding the Web Part to a Page
Navigate to a page where you would like to place the web part and choose "Site Actions/Edit Page"
Add the web part to the appropriate zone. The web part is listed in the "Amrein Engineering" gallery section :
Web Part Configuration
Configure the following Web Part properties in the Web Part Editor "Miscellaneous" pane section as needed:
Site Name:
Enter the name of the site that contains the Sharepoint List or Library containing the items.
leave this field empty if the List in in the current site (eg. the Web Part is placed in the same site)
Enter a "/" character if the List contained in the top site
Enter a path if the List in in a subsite of the current site (eg. in the form of "current site/subsite")
List Name:
Enter the name of the desired Sharepoint List or Library containing the data.
Create a new “For Sale” Sharepoint List in the Site Collection root. This List will hold the items posted by the users.
Please make sure that all users which should be able to post items should have at least “Contribute” List permissions.
The List should be configured as follows:
The “Status” column should be defined as follows:
View Name:
Optionally enter the desired List View of the list specified above. A List View allows you to apply specific data filtering
and sorting. Leave this field empty if you want to use the List default view.
Field Template:
Enter the List fields to be displayed (separated by semicolons). Add the “Attachments” column to display any
uploaded pictures
Attachments;Title;Category;Created by;Created;Price;E-Mail
Group By: enter an optional List column to group the rows.
Show Groups collapsed: show the groups in the collapsed state when entering the page
Sort By:
optionally enter the List column which defines the default sort order. Append the “/desc” keyword if you want to sort
in descending order. Separate multiple column sort conditions by semicolons
Category Tab Layout: enable or disable the "Category" tabs:
- Right
- Top
- None
Search Box: enter one or more List columns (separated by semicolons) to allow for interactive searching.
Example: LastName;FirstName;Department
Rows per page: the Classifieds web part supports paging and lets you specify the desired number of rows per page.
Image Height: specify the image height in pixels if you include the "Attachments" property.
Enter "0" if you want to use the default picture size.
Header Text: enter an optional header text. Please note that you can embed HTML tags if needed.
Please post your items here...
Report inappropriate Ad: enter an optional e-mail address which receives an e-mail address when a user sends an
"Inappropriate Ad" message.
You can optionally also add a custom mail subject to this field (separated by a semicolon).
The subject supports the {ID} and {Title} token.
To display the "Report" column, please add the "pseudo" "Report" column to the "Field Template" setting.
[email protected]
[email protected];Reporting inappropritate AD (ID={ID}): {Title}
Show Presence Icon: displays or hides the author's presence icon.
Display published Date as String: either display the published Date as a date or as a verbose string
License Key: enter your Product License Key (as supplied after purchase of the "Classifieds Web Part" license key).
Leave this field empty if you are using the free 30 day evaluation version or if you choose one of the License Activation
described below.
License Activation
You have the following 3 options to enter your License Key:
1. Enter the License Key into the corresponding “License Key” field in the web part configuration pane (See Description
2. WSP Solution Deployment:
Add the License.txt file (as supplied by AMREIN ENGINEERING after having purchased a license) to the Solution at the
following location:
Sharepoint 2007:
c:\Program Files\Common Files\Microsoft Shared\Web Server
Sharepoint 2010:
c:\Program Files\Common Files\Microsoft Shared\Web Server
Sharepoint 2013:
c:\Program Files\Common Files\Microsoft Shared\Web Server
3.Manual Deployment:
Add the License Key to your web.config (typically found at c:\inetpub\wwwroot\wss\virtualdirectories\80) <appSettings>
section as follows:
<add key="AECF" value="AECF-x-xxxxx-xxxxx-xx-xx" />
Replace the “x” characters with your actual key values.
Please note that this method requires you to manually add the key to each Sharepoint application.