docs(advanced-extensions): document PIM context postMessage for custom components#1231
Open
gwendalaubert wants to merge 1 commit into
Open
docs(advanced-extensions): document PIM context postMessage for custom components#1231gwendalaubert wants to merge 1 commit into
gwendalaubert wants to merge 1 commit into
Conversation
…m components Custom Components had no documented way to track the locale/channel currently selected on the product edit form, unlike iframe extensions where this was already covered. DXIM-694 aligned the postMessage mechanism between iframe and Custom Component extensions so both now receive a context message on load and on locale/channel change, and both support requesting it on demand via 'request_context'. Add a 'PIM context changes' section to sdk-in-depth.md mirroring the existing iframe.md documentation, and note in iframe.md that the context message is also sent once on initial iframe load.
JulienVerbrugge
approved these changes
Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
advanced-extensions/sdk-in-depth.mddocumenting the postMessage mechanism custom components can use to track the currently selected locale/channel (load, on-change, and on-demand viarequest_context), mirroring the existing iframe docs.extensions/iframe.mdthat the context message is also sent once when the iframe first loads.Documents DXIM-694 / SDS-56211, implemented in pim-enterprise-dev#39480.
Test plan
make serve) and check/advanced-extensions/sdk-in-depth.htmland/extensions/iframe.htmlrender correctly with the new section in the left TOC