capeterson / visualforce-field-history Goto Github PK
View Code? Open in Web Editor NEWForce.com Visualforce component for showing field history on custom objects.
License: BSD 3-Clause "New" or "Revised" License
Force.com Visualforce component for showing field history on custom objects.
License: BSD 3-Clause "New" or "Revised" License
A string replacement of __c for __History is done internally, which doesn't work properly for standard objects. If you need standard object support comment on this issue and I'll get around to fixing that.
Contacts are linked to opportunities by contact role objects, which don't have a label and aren't displayed.
We should add a special case so when these objects are seen a history event is added to the list,
If chatter tracking is enabled on the same field that field history is enabled on two entries will be shown in the timeline, one from chatter and one from field history tracking.
The "Created" event in the history table is not shown in this component.
The way SOQL queries are run - by iterating over the child objects and running a query for each - is very inefficient against governor limits, in particular the total number of SOQL queries.
The child object query functionality should be changed to run multiple subqueries for child objects rather than totally separate SOQL queries. This should cut the amount of resources and DB load down dramatically on complex objects with a large number of relationships.
To make things more efficient we should really use standard set controllers to page the results, or use DateTime offsets in our queries. This should drop the viewstate use and increase speed dramatically on larger history lists.
Also while we're at it most of the component controller can probably become transient to speed things up as well.
Currently lookup and master detail fields usw the name of the related record at the time the field was edited, directly from the history table.
An option should be added to show record names as they exist at runtime, that is the current namw of the record instead of the name of the record at the time of the change.
Sent via Hubroid
Currently fields tracked in chatter tracked changes aren't included. They should be.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.