Below is the DQL query to create a Document Type
1. DQL Query
CREATE TYPE dctmgurus_dql_doc ( dg_demo_string_attr STRING (10) (SET LABEL_TEXT='Demo String Attribute', NOT NULL) ) WITH SUPERTYPE "dm_document" SET LABEL_TEXT = 'DCTM Gurus DQL Docs' PUBLISH
2. Result
The Type is created using DQL