Configuring a Download Adapter

You can configure the Download adapter to download content (documents and files) from the 3DEXPERIENCE platform to the working directory where it can be accessed by an app in the simulation process.

  1. From the Utilities section of the action bar, click Download and drop it on the process diagram.
  2. Select the Download adapter.
  3. From the context toolbar, click Edit .
    The Download Editor appears.
  4. Click Create New to create a new download rule.
    The Create Download Rule dialog box appears.
  5. To edit the title, clear the AutoName box, and enter a name for the download rule. Process Composer for Dashboard automatically names your download rule by default.
  6. Select the Download Step in which to run the rule.
  7. Choose whether the rule is Enabled. By default, the value is True and the download rule will run. You can choose a value of False to run an activity without running its download rule.
  8. Select an Object Parameter if you choose to download content from an object in the 3DEXPERIENCE database. For more information, see Object Parameters.
  9. Select the Source Category where the content is stored, if you choose to download content from the current activity. For more information, see About Categories.
  10. Enter the Content Title of the documents to download.
  11. Enter the File Name of a specific file to download from the specified document. If you leave this field blank, Process Composer for Dashboard downloads all of the files in the specified document. You can use a wildcard to download multiple files from a document; you can also enter a parameter expression and a comma-separated list. For example, ${myDocument}, *.doc.
  12. Select the Download Method:
    OptionDescription
    DownloadDownload the documents and allow them to be modified (read-write).
    Read-only DownloadDownload the documents but do not allow them to be modified (read-only).
    Check outCheck out the documents.
    Use Exporter Process Composer for Dashboard does not check out or download any documents if you use the exporter method.
  13. Choose the Exporter. If you selected Use Exporter as the export method, the exporter is used to move data from the database to an application. Otherwise, the exporter refers to a postprocessing script that operates on the files in your working directory after the download rule runs.
  14. Select the Download Path. You can choose whether or not to create a directory under the working directory that corresponds to the category in which the documents are stored. Process Composer for Dashboard always creates a directory corresponding to the folder, if any, in which the documents are stored. If you choose this option, you must configure the application to look in the appropriate subdirectory for the files that were exported.
  15. Click Done to create the download rule.