1. A method for providing custom metadata in a multi-tenant database environment in which hardware and software of the multi-tenant database system is shared by one or more organizations, each having one or more corresponding users, the method comprising: triggering, in response to a trigger event determined by a standard platform interface, activating procedural code to query metadata provided by an organization through a metadata interface provided by a platform developer, wherein the standard platform interface is provided by a platform developer; and writing to data owned by the organization with the procedural code, in response to results of the query.