AppConfig Object

The most important function of the AppConfig object is to retrieve site configuration properties, such as i_FormLoginTimeOut, i_SitePrivacyOptions, various database connection strings, and so on. The GetOptionsDictionary method of the AppConfig object performs this function; however, before using this method, the AppConfig object must be initialized.

Many of the properties that the GetOptionsDictionary method retrieves can be viewed using Commerce Server Manager in the Microsoft Management Console (MMC). The App Default Config node, in the Site Resources folder of the site, in Commerce Server Manager displays the current setting values.

The following table lists the names of the keys in the dictionary returned by the GetOptionsDictionary method of the AppConfig object that are mapped in the App Default Config node in Commerce Server Manager.


Programmatic Name
Commerce Server Manager
App Default Config Mapping
f_AltCurrencyConversionRate Currency: Alternate currency conversion rate
i_AddItemRedirectOptions Add item redirect options
i_AddressBookOptions Address Book Options
i_AltCurrencyLocale Currency: Alternate currency locale
i_AltCurrencyOptions Currency: Alternate currency options
i_BaseCurrencyLocale Currency: Base currency locale
i_BillingOptions Payment options: Billing options
i_BizTalkOptions BizTalk Options
i_CookiePathCorrectionOptions Cookie Path Correction Options
i_CurrencyDisplayOrderOptions Currency: Currency display order options
i_DelegatedAdminOptions Delegated admin options
i_FormLoginOptions Form login options
i_FormLoginTimeOut AuthManager Auth Ticket Timeout
i_HostNameCorrectionOptions Host Name Correction Options
i_PaymentOptions Payment options
i_SiteDefaultLocale Site default locale
i_SitePrivacyOptions Site privacy options
i_SiteRegistrationOptions Site registration options
i_SiteTicketOptions Site ticket options
s_AltCurrencySymbol Currency: Alternate currency symbol
s_BaseCurrencySymbol Currency: Base currency symbol
S_BizTalkCatalogDocType BizTalk Catalog Doc Type
S_BizTalkOrderDocType BizTalk PO Doc Type
S_BizTalkSourceQualifierID BizTalk Source Org Qualifier
s_BizTalkSourceQualifierValue BizTalk Org Qualifier Value
s_BizTalkSubmittypeQueue BizTalk Submit type
s_PageEncodingCharset Page encoding charset
s_SMTPServerName SMTP server name
s_WeightMeasure Unit of Measure for Weight
s_BizTalkConnString BizTalk Interchange Manager Database

The following table lists keys in the dictionary returned by the AppConfig.GetOptionsDictionary method which are not mapped in the App Default Config node in Commerce Server Manager.

Programmatic Name Value or Description
s_CommerceProviderConnectionString Biz Data Service: s_CommerceProviderConnectionString
s_ProfileServiceConnectionString Biz Data Service: s_ProfileServiceConnectionString
s_CatalogConnectionString Product Catalog: connstr_db_Catalog
s_TransactionConfigConnectionString Transaction Config: connstr_db_TransactionConfig
s_TransactionsConnectionString Transactions: connstr_db_Transactions
s_BizDataStoreConnectionString Biz Data Service: s_BizDataStoreConnectionString
s_CampaignsConnectionString Campaigns: connstr_db_Campaigns
i_IsFullTextSearchInstalled Indicates whether SQL Server has full text search enabled
s_SiteName Name of the site
s_NonSecureHostname This value is set in the Global.asa file to the non-secure host name of the application.
s_SecureHostname This value is set in the Global.asa file to the secure host name of the application.

See Also

GlobalConfig Object

SiteConfig and SiteConfigReadOnly Objects

AdminWebServer Object

Copyright © 2005 Microsoft Corporation.
All rights reserved.