本文へ移動
cccskills
無料GitHub で公開

replicate-content

Use when publishing, unpublishing, replicating, or activating/deactivating content in AEM 6.5 LTS. Covers Quick Publish, Manage Publication, tree activation, bulk content activation, package replication, workflow-based approval, scheduled activation/deactivation (on/off time), dispatcher flush, and the programmatic Replication Java API for AEM publish instances.

インストール方法を見る

含まれるファイル(4)

  • SKILL.md6.5 KB
  • references/PACKAGE_REPLICATION.md1.3 KB
  • references/REPLICATION_API.md3.4 KB
  • references/TREE_ACTIVATION.md1.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Replicate Content in AEM 6.5 LTS

Use this skill when the user asks to publish, unpublish, replicate, activate, deactivate, or bulk-replicate content on AEM 6.5 LTS publish instances.

Prerequisites

  • AEM 6.5 LTS Author with configured replication agents — see configure-replication-agent
  • Author permissions to activate/deactivate content

Replication Method Selector

MethodWhen to UseScope
Quick PublishFast single-page activation, no approvalSelected pages only (shallow)
Manage PublicationScheduling, references, or workflow controlSingle/multiple pages with options
Tree ActivationEntire site section or initial site launchPage tree (see references/TREE_ACTIVATION.md)
Package ReplicationSpecific content sets or cross-env deployCustom JCR filter (see references/PACKAGE_REPLICATION.md)
Workflow ReplicationApproval required before going liveAny content with assigned approver
Scheduled ActivationTime-based publish/unpublishOn Time / Off Time in page properties
Replication APIProgrammatic from Java or scriptsAny JCR path (see references/REPLICATION_API.md)

Quick Publish

Sites console → select page(s) → Quick Publish (toolbar or right-click menu)

  • Shallow: publishes selected pages only, not children
  • Uses all enabled default replication agents immediately
  • ✓ Verify: page shows green "Published" checkmark in Sites console

Manage Publication

Sites console → select page(s) → Manage Publication

  1. Action: Publish / Unpublish / Publish Later / Unpublish Later
  2. Date/time: set if using a "Later" option
  3. Scope: Selected / Include Children / Modified Only
  4. Options: Include References (assets, XFs), Create Version Before Publish
  5. ✓ Verify: progress indicator completes with no error notifications; check replication agent queue is idle

Tree Activation

http://localhost:4502/miscadmin → Replication → Activate Tree

  • Start Path: /content/mysite/en
  • Always run Dry Run first to preview scope
  • Options: Only Modified, Only Activated, Ignore Deactivated
  • ✓ Verify: results log shows success count with zero failures

For full steps and performance guidance, see references/TREE_ACTIVATION.md.


Package Replication

/crx/packmgr → Create Package → add filters → Build → More → Replicate

  • ✓ Verify: package appears as Installed in Publish CRX Package Manager (http://publish:4503/crx/packmgr)

For full steps, see references/PACKAGE_REPLICATION.md.


Workflow Replication

Select page → Timeline panel → Start Workflow → Request for Activation → assign approver

  • Approver acts via http://localhost:4502/aem/inbox: Approve → content activates; Reject → returns to author
  • ✓ Verify: page status updates to "Published" after approval completes

Scheduled Activation

Page Properties → Advanced tab → set On Time (activate) and/or Off Time (deactivate)

  • Requires replication agent trigger "On-/Offtime reached" enabled
  • ✓ Verify: agent trigger at /etc/replication/agents.author/[agent] → Triggers tab → "On-/Offtime reached" is checked

Replication API

@Reference private Replicator replicator;

replicator.replicate(session, ReplicationActionType.ACTIVATE, "/content/path");
replicator.replicate(session, ReplicationActionType.DEACTIVATE, "/content/path");
curl -u $AEM_USER:$AEM_PASSWORD -X POST http://localhost:4502/bin/replicate.json \
  -F "cmd=Activate" -F "path=/content/mysite/en/page"
# ✓ Verify: HTTP 200 with {"success":true,"path":"/content/mysite/en/page"}

For ReplicationOptions (synchronous, agent filtering) and full curl error handling, see references/REPLICATION_API.md.


Deactivation (Unpublishing)

Sites console → select page(s) → Quick Unpublish (or Manage Publication → Unpublish)

  • Content removed from Publish; URLs return 404; Author content preserved
  • Dispatcher cache invalidated if flush agent is configured
  • ✓ Verify: page URL on Publish returns 404

Replication Status Indicators

IndicatorMeaning
Green checkmarkPublished and up-to-date
Orange dotModified since last publish — re-publish needed
Gray circleNever published

Check queue: Tools → Deployment → Replication → Agents on author → [agent] → queue should be idle/empty after processing.

Logs: crx-quickstart/logs/replication.log


Troubleshooting

  • Content not appearing on Publish: confirm replication timestamp is recent; agent queue should be empty
  • Agent blocked: Agents on author → select agent → Force Retry or Clear failed item
  • Dispatcher serving stale content: manually flush cache or verify flush agent configuration
  • Permission denied errors: check Agent User Id has replication privileges on the content path

For deep diagnostics, use the troubleshoot-replication skill.


Asset Replication (DAM)

Use the Assets console (/assets.html/content/dam) with the same Quick Publish / Manage Publication actions. All renditions and metadata replicate automatically. For shared datastores, enable binary-less replication (Serialization Type: Binary-less) on the agent to transfer only metadata nodes.


Additional Resources


Related Skills

  • configure-replication-agent — set up and configure replication agents
  • replication-api — full programmatic Replication API reference for custom OSGi services and servlets
  • troubleshoot-replication — diagnose and resolve replication failures

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Analyzes a multi-step conversion funnel to find where visitors drop off and which steps have the worst leakage. Use this skill when someone describes a journey and asks about conversion rates, drop-off, fallout, or step completion. Trigger for "analyze our checkout funnel," "where are visitors dropping off," "what's our add-to-cart to purchase conversion rate," "funnel analysis," "show me fallout between steps," or "which step loses the most visitors."

日本語の概要は準備中です。原文の説明を表示しています。

aemgdc/aemdev22026年10月10日 更新

Generates a concise, executive-ready performance summary covering key metrics, trends, and what's driving movement. Use this skill when someone needs to produce a briefing, executive summary, performance narrative, or stakeholder readout — for example, "write an exec summary of last week's performance," "create a performance briefing for our leadership team," "produce a monthly business review summary," "what should I tell executives about our metrics," or "generate a performance narrative." Also trigger for "QBR summary," "weekly business review," or "stakeholder briefing."

日本語の概要は準備中です。原文の説明を表示しています。

aemgdc/aemdev22026年10月10日 更新

Produces a compact KPI digest showing how key metrics changed over a period and what's driving the movement. Use this skill when someone asks for a performance summary, a weekly recap, a morning briefing, a KPI update, or any variation of "how did we do this week/month." Also trigger for "give me a performance overview," "what moved in the last 7 days," "pull our AA KPI report," or "summarize our metrics."

日本語の概要は準備中です。原文の説明を表示しています。

aemgdc/aemdev22026年10月10日 更新

Compares the performance of two or more audience segments across key metrics side by side. Use this skill when someone wants to compare audiences or visitor groups — for example, "how do mobile visitors compare to desktop on conversion," "compare new vs. returning visitors," "show me the difference between these two segments," "compare these audiences on our KPIs," or "which segment performs better." Also trigger for "segment comparison" or "audience comparison."

日本語の概要は準備中です。原文の説明を表示しています。

aemgdc/aemdev22026年10月10日 更新

Identifies which items (pages, campaigns, products, channels, regions) had the biggest increases or decreases for a key metric between two time periods. Use this skill when someone asks "what's up and what's down," "which campaigns moved the most," "top gainers and losers," "what pages are trending," "show me what changed by channel," or any variation of identifying the biggest movers and decliners for a metric.

日本語の概要は準備中です。原文の説明を表示しています。

aemgdc/aemdev22026年10月10日 更新

Scan an AEM Edge Delivery Services page for WCAG 2.1 AA accessibility violations and generate specific fixes. Identifies missing alt text, heading hierarchy issues, link text problems, color contrast concerns, and EDS-specific accessibility patterns. Use when fixing accessibility issues, preparing for compliance audits, or remediating WCAG violations.

日本語の概要は準備中です。原文の説明を表示しています。

aemgdc/aemdev22026年10月10日 更新

aemgdc のスキルをすべて見る

このスキルの問題を報告する