@paulalogno during the CHT Dev Hour today we were discussing the need to be able to display the count of the children on a parent contact when viewing the contact’s profile page. It was noted that support for that kind of functionality was blocked by this existing feature request (which, in turn, is further complicated by a work being done to cache calculated contact summaries…).
One thing that has been rolling around in my head for a bit is that it should be trivial to hack together a workaround using an extension-lib. So, I decided to give it a shot! You can check out the code here for the child-count.js
extension-lib.
To be clear, this is not “supported” behavior and definitely a “use at your own risk” approach, but it could be a possible workaround. (At the very least it is an amusing demonstration of the kinds of things you can do with an extension-lib… )