---
title: 複数のカスタムモジュールの編集を一括で処理する
description:   カスタムモジュールを一括で処理したいとなったとき、例えば自分の今回の例では「特定のクラスを持ったカスタムモジュールの場合、Booleanフィールドを追加してクラスをON/OFFしたい」という場合。 最初はCMS Templates API辺りの組み合わせで自動処理しようと思っていたが、どうやらCMS Te
---

[カテゴリ実装例ブログ](https://demo.100inc.co.jp/category-test)

# [複数のカスタムモジュールの編集を一括で処理する](https://demo.100inc.co.jp/category-test/tips/modify-custom-modules-at-once)

 作成者: [半田 惇志](https://demo.100inc.co.jp/category-test/author/半田-惇志)｜May 25, 2019, 3:00:00 PM

 

カスタムモジュールを一括で処理したいとなったとき、例えば自分の今回の例では「特定のクラスを持ったカスタムモジュールの場合、Booleanフィールドを追加してクラスをON/OFFしたい」という場合。

最初は[CMS Templates API](https://developers.hubspot.com/docs/methods/templates/get_templates)辺りの組み合わせで自動処理しようと思っていたが、どうやらCMS Templates APIではカスタムモジュールは除外されているらしい。

幸いカスタムモジュールは[HubSpot FTP](https://designers.hubspot.com/docs/tools/hubspot-ftp)にてダウンロード・アップロードが可能なので、そちらを駆使して自動処理とはいかないものの、デザインマネージャーで1つずつカスタムモジュールを開いては手動編集するよりはだいぶ効率的に作業を行うことができた。

 

[完全な記事を表示](https://demo.100inc.co.jp/category-test/tips/modify-custom-modules-at-once)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "半田 惇志"
  },
  "dateModified" : "2022-06-09T06:31:03.559Z",
  "datePublished" : "2019-05-25T15:00:00Z",
  "headline" : "複数のカスタムモジュールの編集を一括で処理する",
  "image" : {
    "@type" : "ImageObject",
    "height" : 60,
    "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
    "width" : 60
  },
  "mainEntityOfPage" : "https://demo.100inc.co.jp/category-test/tips/modify-custom-modules-at-once",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "カテゴリ実装例ブログ"
  }
}
```