如果要建立新電子郵件活動,請執行下列步驟:
- 以資料庫使用者身分登入
- 在指令提示下,導覽至 WCinstall_dir/CommerceServer55/bin/。
在該目錄中,於指令提示下,輸入下列:
createEmailTemplate.db2 db_namedb_userJSP_pathproperty_file
template_name "template_description" storeIdcreateEmailTemplate.db2.sh db_namedb_userJSP_pathproperty_file
template_name "template_description" storeIdcreateEmailTemplate.oracle db_namedb_userJSP_pathproperty_file
Template_name "template_description" storeIdcreateEmailTemplate.oracle.sh db_namedb_userJSP_pathproperty_file
template_name "template_description" storeId其中:
- db_name
- 商業資料庫的名稱
- db_user
- 指定之 db_name 的資料庫使用者名稱
- JSP_path
- 商業伺服器中和範本相關聯之 JSP 的完整 URL
- property_file
- 和範本相關聯的內容檔。如果沒有內容檔,請指定 noTemplate
- template_name
- 範本的名稱
- template_description
- 範本的簡短說明
- storeId
- 目標商店的商店 ID
當出現提示時,請輸入使用者的資料庫密碼。
使用「作業導引器」或其他類似方法,
在您的實例中執行下列的 SQL:
insert into schemaname.emlmsg (emlmsg_id, jsppath, propertyfile, name, description, storeent_id) select coalesce(max(emlmsg_id), 0) + 1, 'JSP_path', 'property_file', 'template_name', 'template_description', storeId from emlmsg ;
其中:
- schemaname
- 實例的名稱
- JSP_path
- 商業伺服器中和範本相關聯之 JSP 的完整 URL
- property_file
- 和範本相關聯的內容檔。如果沒有內容檔,請指定 noTemplate
- template_name
- 範本的名稱
- template_description
- 範本的簡短說明
- storeId
- 目標商店的商店 ID