Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

After you have modified an XML design file, you can upload it through the Add New Domain Data Source page. Alternatively, you can create a new Domain Data Source based on a modified file or even on a design file created from scratch.

To upload an XML design file, complete the following steps:

  1. Log in to the server as an  Administrator

  2. Locate the DomainData Source

    1. Choose  View > Search Results

    2. In the  Filters panel, under  Types, click  More choices

    3. Click  DomainsData Sources

  3. To update an existing DomainData Source, right-click the  DomainData Source and select  Edit from the context-menu. 

    • To create a new DomainData Source, select  Create > DomainData Source from the main menu. The Domain Data Source appears in the  Data and Design page of the  Edit DomainData Source or  Add New DomainData Source dialog. If you are creating a new DomainData Source, you must select a data source before you can proceed. 

  4. Select  Upload under  Domain Data Source Design, then click the  Choose File button. A local  File Upload opens. 

  5. In the  File Upload window, locate the XML design file, then click the  Open button. The server validates the uploaded XML file. If there are syntax or semantic errors, the current design is not replaced. You can make changes to the XML file and upload it again until there are no errors. 

  6. If you used only supported features in the design file, verify the uploaded Domain Data Source design by selecting  Edit in Domain Data Source Designer from the  AddEdit DomainData Source page. Make sure the settings you made in the XML design file appear as expected on the various tabs of the Domain Data Source Designer. If there are any errors or inconsistencies, you should make changes to the XML file, upload it again, and verify it again. 

    The results of editing a design in the Domain Data Source Designer based on inconsistent XML file are unpredictable. If you cannot resolve the error or inconsistencies, you should click Cancel on the Data and Design page so that the uploaded design is not saved.

    After the design appears correctly in the Domain Data Source Designer, you may make further modifications on any of the tabs.

    If you intentionally use syntax in the design file that Domain Data Source Designer does not support, do not launch the Domain Data Source Designer after uploading the file. The Domain Data Source Designer can have unpredictable results with some XML designs it does not support.

     

  7. In the  Domain Data Source Designer, click the  OK button. 

  8. Click the  Submit button to update the Domain Data Source in the  Repository

  9. If you modified an existing DomainData Source, you must clear the Ad Hoc cache of all queries based on the DomainData Source. This removes any data that was based on the old instance of the Domain Data Source and avoid inconsistencies in new reports.