I am often asked whether web pages created with Web Page Composer can be searched within the SAP NetWeaver Portal. The answer is YES!!!
To do this is very similar to creating an index within KM. The are only two main pamaters that have to be defined while creating the index:
There is a unique Crawler Paramter “wpc”. This crawler parameter come already configured and is delivered as part of the standard system.
An Additional Property “contentUrlProp” has to be defined with the value of “wpc:wpc_wcm_trex_url”.
Here is a step by step on how to create an index for the web pages created in Web Page Composer.
Navigate to Index Administration. Menu path: System Administration -> System Configuration -> Knowledge Management -> Index Administration
Creating a new index:
Select Create and enter the Properties for your index.
Give it an ID; such as “WPC_Content” as well as a name “WPC Content” which will be displayed in the Advanced Search
If you group your indexes, select a Group and Add it to the index.
For the Crawler Parameters select “wpc”. This comes preconfigured in the SAP standard system
For Service, select “TREXSearch”
For the field Items to be index, you can select Documents, All or Folders. Select Documents.
An Additional Property needs to be defined. Add the property “contentUrlProp” with the value “wpc:wpc_wcm_trex_url”. Before saving your index, Select Add to add the property to the index.
- Select Create Index. You should get an informational message saying “index has been created”.
- The next step is to create the data source for your index. Select “Data Sources” and then select “Add”.
- Navigate to the Web Content repository and select it. Select “OK”. Please note that the Web Content repository is the repository that is delivered as part of the standard for Web Page Composer.
- Save your entry.
Define Schedule – you can define a daily, weekly or monthly cycles for the schedule that will index your web pages. In this example, I created a daily schedule where the indexing of web pages will start at 12:00 am.
Select OK and then Select Save to save your schedule.
- Select Permissions to specify the permissions for your index.
You will now be able to search for Web Page Composer content within the SAP NetWeaver Portal once your index has been created. Here I enter “laptop” and I get a list of results of pages where the term “laptop” is used.
Not only can your web pages can be indexed and searched within the NetWeaver Portal, all of the web pages created within Web Page Composer can be indexed by 3rd party search engines!
For more information about Web Page Composer, please see help documentation at http://help.sap.com