Resource types are a way to enrich the data published by the Client Publishers:
Resource types are configuration dependent, in order to let users with the appropriate permission evolve their resource types over time without impacting previous other streams and baselines.
To create Resource types, go to the Project Administration's "Resource Types" section:
When creating a query, you might sometimes wonder which property and/or namespaces to use. As of now, we can list the namespaces, but available properties remain a challenge.
As for the namespaces, below are available namespaces:
dcterms:
, referencerdf:
, referencefoaf:
, referenceoslc:
, referenceoslc_cm:
, referenceolsc_am:
, referenceoslc_rm:
, referenceclm:
, as The Clm namespaceclm_custom:
, contains all dynamic properties created in the context of the current configuration (link types, resource types, resource attributes)capella:
, which you can use to reference all data published from Capelladoors:
, which you can use to reference all data published from DOORSea:
, which you can use to reference all data published from Enterprise Architectexcel:
, which you can use to reference all data published from Excelmd:
, which you can use to reference all data published from Magic Drawmega:
, which you can use to reference all data published from Megapowerpoint:
, which you can use to reference all data published from PowerPointrhp:
, which you can use to reference all data published from Rhapsodysa:
, which you can use to reference all data published from System Architectword:
, which you can use to reference all data published from WordAs for the properties available on a given object, the recommended way is currently to use your browser's "Network" tab.
Response
or Body
, which you should click onNow you can see the various properties of the object of interest. You may use these properties within your queries.
Not all properties from each tool is published to SECollab. If you know of a property from a given tool that you believe is not published, feel free to get in touch with our Support Team to explain your use case.
Here are some real world examples for using queries
When creating a resource type, you need to write a query that fetches relevant resources. Such a query is meant to check if a
resource has a given set of properties, or if one of its linked resources has a given set of properties. To access a property, you need to
write the namespace prefix and the property name, such as `dcterms:title`. Backquotes are required to express properties. Double quotes (")
are used to express strings, and <> are used to express URI.
E.g.:
`dcterms:title` = "hello"
`dcterms:title` != "hello"
`dcterms:title` =~ "hello*"
`dcterms:title` =~ "*hello*"
`clm:design`.`clm:tool` =~ <*/com.sodius.mdw.clm.client.tool.doors>
`dcterms:description` != NULL
(`dcterms:title` =~ "*hello*" OR `dcterms:description` =~ "*hello*") AND `clm:design`.`clm:tool` =~ <*/com.sodius.mdw.clm.client.tool.doors>
Collaborative links and resource types are always prefixed with "clm_custom".
Let's say you have created a DOORS attribute called "testId" on your published module.
To determine which of the published resources have that property, you would write:
`doors:testId` != NULL
To determine which of the published resources have that property as well as an object text starting with "TRN-", you would write:
`doors:testId` != NULL AND `doors:objectText` =~ "TRN*"
Let's say you have published a Rhapsody model that uses stereotypes.
To list all resources of a given stereotype, you would write
`rhp:appliedStereotypesValues` =~ "*<<FlowProperty>>*"