A modern Power Apps Component Framework (PCF) control that provides instant visibility into a field's audit history directly within the form interface.
- Inline History Access: View field changes without leaving the record or opening the global Audit History.
- Detailed Audit Info: Displays the last 5 changes including User, Timestamp, Operation (Create/Update), and the specific Old/New values.
- Smart Parsing: Automatically handles both JSON and XML
changedataformats from Dataverse. - Metadata Aware: Resolves OptionSet and TwoOptions values to their display labels for better readability.
- Premium UI: Built with Fluent UI, featuring a sleek, blurred callout (glassmorphism) and smooth transitions.
- Interactive: Hover effects and easy-to-read activity items.
- Framework: Power Apps Component Framework (PCF)
- Library: React
- Styling: Fluent UI (@fluentui/react)
- Language: TypeScript
- Node.js (Recommended version: 16.x or 18.x)
- Microsoft Power Platform CLI
- Clone the repository or download the source code.
- Install dependencies:
npm install
Run the control in the local test harness:
npm startTo build the control for production:
npm run build- Field Value: The data-bound field that this control will track and display.
- WebAPI: Required to fetch audit records from the
auditentity. - Utility: Used for UI utilities.
- The control renders as a
TextFieldpaired with a history icon. - When the icon is clicked, it fetches the
auditrecords for the current record ID using the Dataverse Web API. - It filters the audit records to find entries where the specific field was changed.
- It parses the
changedata(supporting both older XML and newer JSON formats). - It cross-references OptionSet metadata to ensure human-readable labels are shown instead of integer values.
- The results are displayed in a premium Fluent UI
Callout.
This project is licensed under the MIT License.
- Author: Advic Tech
- Email: developer@advic.io
- Issues: Report bugs or suggestions on the GitHub Issues page.