Acces Asset Centrasite to consume on our custom website

We have customer that requirements is make custom website to see all of assets we have on Centrasite. the question is how to acces that asset data from centrasite ?

I’m strugle to find Centrasite database

Centrasite Product Version

Registry/Repository Version

Business UI Version


the CentraSite database understands both HTTP (or HTTPS) and XQuery. Asking queries via HTTP(S) works via X-Machine commands. This is not, strictly speaking, part of the CentraSite product, but works due to the CentraSite datastore being sort of a Tamino database. Thus read more in A sample XQuery that gives all assets is the following:

import module namespace csdt =;

import module namespace cs =;

let $ulp := csdt:getUserLanguagePreferences(),

$allAssetTypes := collection(‘CentraSite’)/cs:concept[cs:classifications/cs:classification/cs:concept = ‘uddi:0890ce6f-eab5-11dc-97f4-a62991caebeb’]

for $a in collection(‘CentraSite’)/cs:objectInfo

where $a/@objecttype = $allAssetTypes/cs:value


{data(cs:localString($a/cs:name, csdt:getUserLanguagePreferences()))}

{data(cs:localString($a/cs:name, csdt:getUserLanguagePreferences()))}


As described in the above link, an HTTP call to send this XQuery goes like http://localhost:53307/CentraSite/CentraSite/CentraSite?_xquery=import%20module%20namespace%20csd… depending on where your database resides. Note that some chars must be URL-escaped. CentraSite uses XQuery massively in its predefined reports. So when looking for further inspiration scan the reports using the Designer. This is described in the CentraSite docu at

When the Designer shows that XQuery code is not given directly in the report but uses modules, these modules are contained in the database. Get at them via http://localhost:53307/CentraSite/CentraSite/ino:source/ino:module?_xquery=for%20$m%20in%20input()/*:module%20return%20tf:text-content($m/…).

Besides direct HTPP calls, trying out XQueries against CentraSite can also be done using XTools. These can be installed for free using the Software AG Installer. Look below “Tamino XML Server”.




1 Like

I have been able use xquery to find all asset, then I’m also have been query to get asset detail using xquery like this

declare namespace ns = ""
let $allAssetType := collection("CentraSite")/ns:concept/ns:value
for $q in collection("CentraSite")/ns:objectInfo
	for $i in $allAssetType
	where $q/@objecttype = $i and $q/ns:name/ns:localString = "HelloWorld"
return $q

then I get the response

declare namespace ns = "" let $allAssetType := collection("CentraSite")/ns:concept/ns:value for $q in collection("CentraSite")/ns:objectInfo for $i in $allAssetType where $q/@objecttype = $i and $q/ns:name/ns:localString = "HelloWorld" return $q
<ino:message ino:returnvalue="0">
<ino:messageline>XQuery Request processing</ino:messageline>
<objectInfo crt="2023-01-20T16:23:24.622+07:00" doctype="{}Collaboration" inoId="3" lifeCycleState="" mod="2023-01-20T16:23:24.622+07:00" objecttype="{}Collaboration" v2Key="16ff0946-98a4-11ed-a667-9850dd8deee1" v3Key="uddi:16ff0946-98a4-11ed-a667-9850dd8deee1" virtualtype="CentraSiteFavoriteType">
<localString xml:lang="in-ID">HelloWorld</localString>
<localString xml:lang="in-ID"/>
<registryObject type="string">uddi:cf4e6006-98a3-11ed-a667-928fd5cc5857</registryObject>
<ino:message ino:returnvalue="0">
<ino:messageline>XQuery Request processed</ino:messageline>

when I go to the detail asset on BusinessUI I see that detail like Description, Technical Details, Components, Resource and Methods etc. was showing on BusinessUI but I don’t get a response data like that when I use xquery.
can you explain to me ? where I can get a specific detail from specific asset ?



1 Like