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.

2 comments:

Abhishek said...

Hi !

Excellent articles on some tricky things.. I am currently working on a Project where an SAP CRM ISA application is being migrated to SAP Portal. Currently they are using Tomcat server, and the entire setup needs to run in SAP portal. May I request you to kindly guide me if you can ? It will be of immense help. Thanks !

Abhishek

Tom :L said...

Sure, we can learn from each other.