Sample Application¶
The following is a sample CMIS application that uses C# and the dotCMIS library. It provides brief examples for the following functionality:
- Connecting to a repository
- Creating an empty document
- Preparing a content stream
- Creating a large document
- Setting a document’s QAP
- Setting a class
- Linking an index entry to a document set (folder)
- Registering a document
- Retrieving the content stream of a document
View Program.cs
within the downloadable zip file to get started. Note that this code should only be used to gain an understanding of the API. It should not be used in production environments.
THIS SOFTWARE IS PROVIDED “AS IS” AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL TECHNOLOGY ONE LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR ANYBUSINESS INTERRUPTION) HOWEVER CAUSED AND WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. TECHNOLOGY ONE LTD RETAINS ANY AND ALL INTELLECTUAL PROPERTY RIGHTS IN THE SOFTWARE.