Loading
ただいま大変多くのお問い合わせをいただいており、ご連絡までにお時間を頂戴しております続きを読む
Omnistudio Document Generation
目次
絞り込み条件を選択

          結果がありません
          結果がありません
          検索のヒントをいくつかご紹介します

          キーワードの入力ミスがないか確認する。
          より一般的な検索語を使用する。
          絞り込み条件を減らして、検索範囲を広げる。

          Salesforce ヘルプ全体を検索
          Export and Import Document Template Custom Classes for Omnistudio Document Generation

          Export and Import Document Template Custom Classes for Omnistudio Document Generation

          If a Document Template uses a custom class, and you want to export the template from one org and import it into another org, you must move the custom class first. Importing a Document Template fails if the target org can't find the custom class associated with it.

          In the Execute Anonymous window, run the following script:

          List<omnistudio__DocumentTemplate__c> templates= [SELECT Id, Name, omnistudio__VersionNumber__c, CreatedDate, omnistudio__ExternalID__c FROM omnistudio__DocumentTemplate__c];
          if(templates != null && templates.size() > 0)
          {
             for(omnistudio__DocumentTemplate__c t: templates )
             {
                if( String.isBlank(t.omnistudio__ExternalID__c) )
                {
                   t.omnistudio__ExternalID__c = t.Name + '/' + t.omnistudio__VersionNumber__c + '/' + userInfo.getOrganizationName()+ '/' + t.CreatedDate.getTime();
                }
             }
             update templates;
          }

          Export a Document Template

          You can transfer document templates from a source org to another org using the export functionality. Export document templates up to 5.5 MB in size, if the template exceeds this limit, the export request won't be processed.

          1. Go to the Document Template tab.
          2. Expand the template to export.
          3. Click Export.

            The Export DataPack dialog box opens.

            By default, the template are selected.

          4. Click Next.
          5. Review the DataPack export list.
          6. Click Next.
            The Export DataPack window.
          7. Enter the following information:
            • Name is the name of the DataPack.

            • Type is the primary object type of the DataPack contents, in this case, Document Template.

            • Description is a brief description of what the DataPack contains.

          8. Select one or more of the following options:
            • To add a copy of the DataPack to the Vlocity DataPacks – Published tab, select Add to Library.

            • To make the DataPack accessible to other Salesforce orgs, select Published.

            • To create a new version of this DataPack, select Create New Version. To overwrite the current version of this DataPack, clear Create New Version.

            • If necessary, in Version, enter the version number.

          9. Click Done.

            The DataPack is downloaded as a .json file.

          Import a Document Template

          To import a document template:

          1. Go to the Document Template tab.
          2. Click Import Template.

            The Select File dialog box opens.

          3. Click Browse.
          4. Find the .json file to import and click Open.
          5. Click Next.

            The Select Items to Import dialog box opens.

          6. Select the template to import.
          7. Click Next.
          8. Review the items to import.
          9. Click Next.
          10. When the Import Complete message opens, click Done.
           
          読み込み中
          Salesforce Help | Article