Skip to content

How to import DX Site Page Hierarchy

Importing DX Site page hierarchy via xmlaccess

  1. Run the following command.

    # assumes other required parameters are already set via config file in store or via enviroment variables
    dxclient xmlaccess \
       -dxUsername {DXUSERNAME} \
       -dxPassword {DXPASSWORD} \
       -xmlFile {XML} \
       -dxProtocol $DXPROTOCOL \
       -hostname $HOSTNAME \
       -dxPort $DXPORT;
    
    :: assumes other required parameters are already set via config file in store or via enviroment variables
    dxclient xmlaccess ^
       -dxUsername {DXUSERNAME} ^
       -dxPassword {DXPASSWORD} ^
       -xmlFile {XML} ^
       -dxProtocol %DXPROTOCOL% ^
       -hostname %HOSTNAME% ^
       -dxPort %DXPORT%;
    

    Notes on parameters:

    1. xmlFile should be pointing to your page hierarchy export xml which can be the one exported from here or the one mentioned in manual export.
      • wbiSite.xml if you are using the Woodburn Insurance Demo.
    2. Ensure to place your correct credentials in the {DXUSERNAME} and {DXPASSWORD}.
  2. The output should look similar to this.

    2022-09-05 21:46:57 : XML Access execution in progress.
    (node:27677) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
    2022-09-05 21:47:01 : XML Access execution successfully completed, please find the output below, also refer to this file for more details store/outputFiles/xmlaccess/Output-20220905214701.xml.
    
  3. Update the wcm libraries that are referencing to this DX Site page hierarchy. You can do this by doing the import process of the wcm library again or by manually updating each of the component in Authoring of Practitioner Studio.

  4. To verify, your site should appear in Sites tab. Verify Site

See more detailed information here.

Related information