Skip to Content

How to Deploy Self-Written Flexible UI Components

Hi there,

we need to implement our own flexible UI components, for example an UIXMLFormsGroupCommand with some different behaviour than the original.

I know how to write these components, I know how to configure the flexible UI. I know the link https://media.sdn.sap.com/html/submitted_docs/nw_kmc/introduction/km/ui/Flexible%20UI.html; there a deployment guide is announced, but in fact, it's missing.

Till now, I have tried two things: First, I have just written the class, compiled, and manually put it under .../portalapps/sap.km.cm.ui.flex/private/lib. After configuring flexible UI, the class is run, but it fails to use the PortalServletRequestWrapper, which, for example, I need. So, this way cannot really be called "deploying", and I have no chance to tell which other components I want to get referred.

Second, I have created a portal application project and put the class into this; I have deployed this project, but then the flexible UI does not run the class provided.

So - what's the right way and is there any documentation on this?

Thanks in advance,

Detlev

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    author's profile photo
    Former Member
    Posted on Aug 19, 2004 at 01:09 PM

    the link below talks about flexible UI in detail.

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/knowledge management and collaboration developers guide.html

    hope this is of any help

    amit

    Add comment
    10|10000 characters needed characters exceeded

    • Hi there,

      sorry, only two points for Amit (the link points to the collection of infos where among others the flexible UI specific content can be found I gave the link myself).

      Nevertheless, I got it by myself, and the solution in fact is provided among these infos offered, but somewhat hidden (https://media.sdn.sap.com/html/submitted_docs/nw_kmc/ide/projects/Setting%20Up%20a%20KMC%20Project.html#_Toc74735309). The trick is to implement a BootStrap service (for the Portal Application, so this is the right way as expected).

      Another chance to win more points: Now the portal starts up, my classes get loaded, but whenever I change something in my code, I can redeploy the project, but the old classes stay in memory. So I have to restart the server each time I have changed something. (For german insiders: "So kaan isch net abbeite!")

      Is there a way to resolve this or do I have to run in circles for five minutes each time I want to test a new line (it's healthy for my back, but it makes my mind crazy...).

      Thanks in advance

      Detlev