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.
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.
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.
In the section you copied, update the information to reflect the new resource. Enter:
Rid – the resource ID generated by Web Studio.
Name – the new resource’s name.
Dir – the directory you created for the new resource where you copy the co-brand-specific files.
Charset – the character set you want the co-brand to use.
EmailCharset – the character set you want e-mail to use.
Emailersetting – indicates whether the Web Studio sends an e-mail message to the user when you create a new account. A setting of “1” indicates send e-mail; a setting of “0” (zero) indicates not to send a message.
When no SMTP server is available to send e-mail or you
do not want an e-mail message to be sent, set the value of emailerSetting
to “0.” An e-mail message is written
to the \work_root\email directory. The
value of the work_root property is specified in the global.properties.xml file,
which you can change (see Appendix A, “Configuring Global Properties”). The name of the file is the e-mail address
of the user.
Save and close the cobrands.xml file.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |