It's all about the answers!

Ask a question

How to export nested global and local configurations to a word or pdf file?

Jens Gottschalk (11) | asked Mar 23 '20, 8:36 a.m.


is there any possibility to export a global configuration to a word or pdf document? Especially if nested global and local configurations are used.

For example

(Root) Global Configuration
1. Global Configuration
1.1. Local Configuration
1.2. Global Configuration
1.2.1. Local Configuration
1.2.2. Local Configuration
2. Global Configuration
2.1. Global Configuration
2.1.1. Local Configuration
3. Local Configuration

All Local configurations consist of DNG streams/baselines, which in turn contain only one single module.

Since the configurations are used in different global configurations, no chapter number shall be used to sort configurations, but the original structure shall be used in the word or pdf file.

Does anyone have a solution?

We are using version 6.0.6

4 answers

permanent link
Cristobal Sandoval (862) | answered Jul 31 '20, 10:36 a.m.

 Probably you can call this service

it should return you a json with the structure of the gc. 

permanent link
David Honey (3256) | answered Aug 04 '20, 11:39 a.m.

Services at gcContextRoot/gc.webui* are private and for internal use by the GCM web UI. They are not intended for public use, are not documented, and may change or even be removed in future releases without warning. A client that uses such services is likely to be fragile over time.

From a public REST API perspective, the only way would be to write client code that did a GET of the GC, then parsed the RDF content to get the contributions, then GET each of the contributed configurations, recursing down to the leaves.

If you're prepared to write your own SPARQL, you can also query for the information in the Lifecycle Query Engine. The type of report you are asking for is not currently supported by Report Builder.

permanent link
David Honey (3256) | answered Aug 04 '20, 11:41 a.m.

Report Builder can report on the immediate contributions of a GC. What it cannot do is to recurse arbitrarily to the leaves of the tree.

permanent link
David Honey (3256) | answered Aug 04 '20, 11:52 a.m.

Your answer

Register or to post your answer.