Wednesday, May 19, 2010

SAP Portal - Internationalization on Room Directory

NetWeaver Collaboration with Enterprise Portal 7.0.18 only supports English and German.

To internationalize it, download com.sap.netweaver.coll.appl.ui.room.par and add

UIRoomdirectoryConsts_es.properties to support Spanish and
UIRoomdirectoryConsts_fr.properties to support French.

Then redeploy the par to EP.

Monday, May 17, 2010

SAP Portal - Promote KM Changes to Next Stage

As I said in my previous posts, we created a new XML form, a couple of new predefined properties, and a new filter. Now we need to promote these changes to next stage.

Portal Content
  • create a transport package and add the changed iView into the package
KM Configuration
  • create a configuration archive and add the following into the archive
  • KM->CM->Form-Based Publishing -> Forms Availability ->Folder Settings, the new folder-form setting
  • KM->CM->Global Services->Property Metadata->Properties, the new metadata
  • KM->CM->Global Services->Property Metadata->Groups, the new metadata group
  • KM->CM->Global Services->Property Structures->Property Groups, the new property group and the all_groups
  • KM->CM->Global Services->Resource List Filters, the new resource list filter
  • KM->CM->Repository Filters, the new filter class
  • KM->CM->User Interface->Settings->Layout Set, the new browser
XML Form
  • copy the new xml form to next stage

Friday, May 07, 2010

SAP Portal - Apply XML Form to KM Folder

System Admin -> System Config -> KM -> CM -> Form-Based Publishing -> Forms Availability -> Folder Settings

Create a FM_News_Form

Thursday, May 06, 2010

SAP Portal - Use Properties in XML Form

I found almost zero documents on this subject. I figured it out finally with some common sense and some luck.

I configured some predefined properties to my KM documents. After it, I needed to create a XML form and use these properties for users to create such documents.

Here is what I had done.
  1. Open an existing News form and save as my own project, called FM_News.
  2. At the left side, select the Data Model, right click on Properties and select Reload Properties
  3. At the editor area, add a label ABC, add three check boxes A, B, and C
  4. Add a label DE, add two radio boxes, D and E
  5. Define A - Caption A, Name ABC, Value A, Property Reference /Properties/default:ABC
  6. Define B - Caption B, Name ABC, Value B, Property Reference /Properties/default:ABC
  7. Define C - Caption C, Name ABC, Value C, Property Reference /Properties/default:ABC
  8. Define D - Caption D, Name DE, Value D, Property Reference /Properties/default:DE
  9. Define E - Caption E, Name DE, Value E, Property Reference /Properties/default:DE
  10. Note: check box for multiple selection and radio box for single selection, XML Form Builder may warn you to use Combo Box instead, ignore it.
  11. Save and generate.