Hi Peter,
Do you have any example code?
I have this code:
var bc2 = _cognosConnection.ContentManagerService.query(packagePath2, props, s, qo2);
var modelXML =
((model)bc2[0]).model1;
Its working fine with previous version of cognos, but its not working with 11.1.7, model1 property is null, always.
Do you know any different solutions?
model object doesnt have getModel method.
Version Infos:
Manifest=casrv-manifest-11.1.7-2012081900-winx64h.json
Installer=analytics-installer-2.0.20100517-win.exe
Product_version=11.1 R7 (LTS)
CAMAAA_ACM_version=11.1.7-20
CAMAAASA_version=11.1.7-21
CAMAAAW_version=11.1.7-21
CAMAAAWA_version=11.1.7-21
CM_version=11.1.7-47
------------------------------
Ali KEÇE
------------------------------
Original Message:
Sent: Fri March 05, 2021 06:37 AM
From: Peter Chan
Subject: Data Module metadata information from cognos content store database
Federico Balsa – for FM, you could use the Cognos SDK to recreate the model.xml file. Additionally, Motio can also be used to recreate the model.xml. Some notes:
- In general, I try not to use the content store to retrieve any metadata as it is unreliable from version to version
- SDK is the best interface as it provides a layer of abstraction between you and the content store
- If you would like a nice tabular listing (e.g. a table that lists all query items and the source value) of an FM model, you can also run the model.xml through an XSLT. I do this once in a while to get a dump of objects, relationships, etc... to provide to business users. XSLT is not a perfect solution, but if there modelling standards at your shop, it is a pretty good tool
.
Peter Chan
613-295--0428
Original Message:
Sent: 3/4/2021 2:05:00 PM
From: Federico Balsa
Subject: RE: Data Module metadata information from cognos content store database
Hi everyone, I got the same question.
There is any way to query the content store to get the Framework Manager metadata and the structure of a data module?
Regards.
------------------------------
Federico Balsa
Original Message:
Sent: Wed March 03, 2021 09:53 PM
From: Shailesh Dongarekar
Subject: Data Module metadata information from cognos content store database
Hi Team,
I have requirement from business that they want to maintain the metadata information for a data modules.
Does anyone knows how can I retrieve this information from content store database.
Regards,
Shailesh
------------------------------
Shailesh Dongarekar
------------------------------
#CognosAnalyticswithWatson