PostImageAttribute
PostImageAttribute
Section titled “PostImageAttribute”PostImageAttribute describes a default post-operation entity image for a plugin execution context.
Manual Reference Note
Section titled “Manual Reference Note”This is a manual reference page based on the current public contract in xrmghost-attributes, which remains the source of truth until any future generated reference exists.
Usage Shape
Section titled “Usage Shape”[PostImageAttribute("primary", "{ \"__entityName\": \"account\", \"name\": \"New Name\" }", Attributes = new[] { "name" })]Constructor
Section titled “Constructor”PostImageAttribute(string name, string entityJson)
Public Members
Section titled “Public Members”Name— image alias.EntityJson— JSON-shaped entity payload.Attributes— optional column list used by automated registration tools for filtering.
Validation and Limits
Section titled “Validation and Limits”- The current public constructor stores the provided values directly.
Attributesis optional and defaults tonull, which the contract describes as including all attributes in image registration.- The attribute does not validate that
entityJsonis well-formed or that the named columns exist.
When to Use It
Section titled “When to Use It”Use this attribute when downstream tooling should have a representative post-image payload or a known post-image registration shape.