Skip to main content

Creating a Production

This page describes how to create, open, export, generate documentation for, and delete productions.

Note:

If a production is Suspended or Troubled, see Correcting Production Problem States.

For information on creating and opening productions in the legacy UI, see Creating a Production (Legacy UI).

Creating a Production

To create a production:

  1. Display the Production Configuration page.

  2. From the Add item menu, click Production.

    The system displays a dialog box.

  3. Enter a Package Name, Production Name, and Description.

  4. For Production Type, choose Generic or HL7.

  5. Click Create.

  6. Now you can add business hosts and configure them.

Opening a Production

To open a production:

  1. Display the Production Configuration page.

  2. In the Productions list on the left, click the production you want to open.

Exporting a Production

To export a production:

  1. Select Interoperability > List > Productions.

  2. Click the row for the production to export.

  3. Click Export.

  4. Select items to export.

  5. Click Export.

  6. Select whether you want to export the production to the server or to your local machine via the browser’s downloading capability.

  7. If you are exporting to the server, enter a path and name of the export file. If you are downloading to your local machine via the browser, enter the name of the export file.

  8. Click OK.

See Deploying a Production for details on exporting and deploying a production.

Generating Production Documentation

To generate production documentation:

  1. Select Interoperability > List > Productions.

  2. Click the row for the production to export.

  3. Click Document.

    This displays a dialog box.

  4. Now you can do the following:

    • Click View HTML to display the online documentation you previously generated (if applicable).

    • Click Generate HTML to create new documentation for this production in HTML form.

    • Click Generate PDF to create new documentation for this production in PDF form.

    • Click Cancel to cancel the operation.

It may take a considerable amount of time to generate documentation for a large production; therefore, you may not want to generate new documentation if you have not made changes to the configuration of your production.

You can also generate documentation using the following methods in the Ens.Config.ProductionOpens in a new tab class:

  • CreateDocumentHTML()Opens in a new tab—creates new documentation in HTML format.

    For example, to create documentation for Demo.Loan.FindRateProduction in HTML format:

     Set status=##class(Ens.Config.Production).CreateDocumentHTML("Demo.Loan.FindRateProduction",1,.URL,.ErrLog)
  • RemoveDocumentHTML()Opens in a new tab—removes existing HTML-format documentation from the current namespace.

  • CreateDocumentPDF()Opens in a new tab—creates new documentation as a PDF file.

    For example, to create documentation for Demo.Loan.FindRateProduction in PDF format, you can use the method in a statement similar to the following:

     Set status=##class(Ens.Config.Production).CreateDocumentPDF("Demo.Loan.FindRateProduction",1,"C:\Temp\Rate.pdf",.Log)

    The PDF format requires that you have a PDF renderer installed. It also requires Java.

Deleting a Production

To delete a production:

  1. Navigate to the Interoperability > List > Productions page.

  2. Click the production that you want to delete.

  3. Click Delete.

  4. Click OK.

See Also

FeedbackOpens in a new tab