CPC G06F 8/60 (2013.01) [G06F 16/16 (2019.01)] | 12 Claims |
1. A computer-implemented method for uploading tenant code to a multi-tenant system to share document data, comprising:
enabling display of a first interface for receiving tenant code, wherein the tenant code is Java source code developed by a tenant of the multi-tenant system and can run on a Java platform provided by the multi-tenant system, and wherein the first interface comprises an area for receiving the tenant code;
receiving a metadata definition language (“MDL”) representation of the tenant code from a computing device over a network;
storing the tenant code as source code metadata in a first repository of the multi-tenant system;
registering the tenant code with a tenant code registry of the multi-tenant system;
receiving a request for the tenant code from a server of the multi-tenant system when there is a predetermined event;
extracting the tenant code from the source code metadata for execution;
executing the tenant code to create, in a second repository of the multi-tenant system, a temporary copy of a source document in the first repository of the multi-tenant system, with information of the source document transferred from the first repository of the multi-tenant system to the second repository; and
displaying the temporary copy of the source document before copying the source document from the first repository to the second repository.
|