建立電子郵件活動範本

如果要建立新電子郵件活動,請執行下列步驟:

WindowsAIXSun Solaris 作業環境Linux

  1. 以資料庫使用者身分登入
  2. 在指令提示下,導覽至 WCinstall_dir/CommerceServer55/bin/。
  3. DB2在該目錄中,於指令提示下,輸入下列:
    Windows createEmailTemplate.db2 db_namedb_userJSP_pathproperty_file
    template_name "template_description" storeId

    AIXSun Solaris 作業環境Linux createEmailTemplate.db2.sh db_namedb_userJSP_pathproperty_file
       template_name "template_description" storeId

    Oracle在該目錄中,於指令提示下,輸入下列:

    Windows  createEmailTemplate.oracle db_namedb_userJSP_pathproperty_file
       Template_name "template_description" storeId

    AIXSun Solaris 作業環境 createEmailTemplate.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
  4. DB2 當出現提示時,請輸入使用者的資料庫密碼。

iSeries 使用「作業導引器」或其他類似方法, 在您的實例中執行下列的 SQL:

  1. 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