1. A non-transitory computer-readable medium storing code that when executed by one or more processors associated with one or more computer systems configures the one or more processors for creating documents of desktop applications that act as user interfaces for web-based applications, the non-transitory computer-readable medium comprising: code for creating contents of a document in a native application format associated with a first application; code for associating a user interface element with a portion of the contents of the document, the user interface element being a component of a second application and providing a link between the portion of the contents of the document and data associated with data models provided by web-based applications in communication with the second application; code for mapping the user interface element to one or more data models provided by a web-based application wherein the user interface element contributes at least a portion of data associated with the one or more data models provided by the web-based application to a user interface within the first application and wherein how the user interface element contributes a list picker to the user interface is driven at runtime based on the one or more data models; and code for generating metadata associated with the document based on the associating of the user interface element with the portion of the contents of the document and the mapping of the user interface element to the one or more data models provided by the web-based application.