Skip to content

PostImageAttribute

PostImageAttribute describes a default post-operation entity image for a plugin execution context.

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.

[PostImageAttribute("primary", "{ \"__entityName\": \"account\", \"name\": \"New Name\" }", Attributes = new[] { "name" })]
  • PostImageAttribute(string name, string entityJson)
  • Name — image alias.
  • EntityJson — JSON-shaped entity payload.
  • Attributes — optional column list used by automated registration tools for filtering.
  • The current public constructor stores the provided values directly.
  • Attributes is optional and defaults to null, which the contract describes as including all attributes in image registration.
  • The attribute does not validate that entityJson is well-formed or that the named columns exist.

Use this attribute when downstream tooling should have a representative post-image payload or a known post-image registration shape.