Products | Versions |
---|---|
TIBCO Data Virtualization | 7.0 and higher |
To obtain a list of dependent resources in an XML format:
1. Increase the value of the following parameter in Studio to accommodate the size of the XML:
Administration >> Configuration >> Studio >> Data >> XML Text Size
As a rule of thumb: the view has a small number of dependencies, set the value to 10,000. For a complex resource with many dependencies, it is recommended to set the value to 100,000 - 200,000.
2. Run /services/webservices/system/admin/resource/operations/getDependentResources
3. For the input to getDependentResources, specify the absolute pathname of the view and use TABLE as the resource type in shown as in the example below.
----------------
<resource:getDependentResources xmlns:resource="http://www.compositesw.com/services/system/admin/resource" xmlns:common="http://www.compositesw.com/services/system/util/common">
<resource:path>/shared/examples/CompositeView</resource:path>
<resource:type>TABLE</resource:type>
<resource:detail>FULL</resource:detail>
</resource:getDependentResources>
----------------
Note: If you receive the following error, it means that the value of XML Text Size needs to be increased.
-------------------
One or more errors were encountered while parsing the result:
XML document structures must start and end within the same entity.
Please check 'XML Text Size' configuration if the result was truncated
---------------------
Below is an example.