Adding a resource  Copying resource-specific files

Chapter 14: Creating Co-brands

Editing the cobrands.xml file

The cobrands.xml file defines the active co-brands for your portal installation. When you add a new resource, you must manually add the resource’s information to cobrands.xml, which is located in %SYBASE%\EAServer\Repository\WebApplication\onepage\config on Windows and in $SYBASE/EAServer/Repository/WebApplication/onepage/config on UNIX.

  1. In the %SYBASE%\EAServer\Repository\WebApplication\onepage\fw\cobrandson Windows and in $SYBASE/EAServer/Repository/WebApplication/onepage/fw/cobrands on UNIX, create a new folder using this naming format:

     resource name-resource_ID 
    

    where resource name is the name entered when you created the resource in Web Studio, and resource ID is the portal-assigned identification number.

  2. Open cobrands.xml in any text editor and copy an existing <CobrandDef> section and paste it below the last <CobrandDef> section in the file before the </Cobrands> tag. For example, copy and paste the Sybase section.

  3. In the section you copied, update the information to reflect the new resource. Enter:

  4. Save and close the cobrands.xml file.





Copyright © 2004. Sybase Inc. All rights reserved. Copying resource-specific files

View this book as PDF