Sharing Released Data through Publishing Destinations
Contents
- Defining Publishing Destinations
- Adding a new Amazon S3 Publishing Destination
- Adding a new Box.com Publishing Destination
- Adding a new Folder Publishing Destination
- Adding a new FTP Publishing Destination
- Editing the Connection to a Publishing Destination
- Removing a Publishing Destination
- Additional Publishing Options
- Publishing the Data
Parent article: Board Design Release
Publishing Destinations offer you the ability to publish release data for an Item Revision (Blank Board and Assembled Board Items only) directly from an Altium Vault or Output Job to a storage space, such as Box.com, Amazon S3, an FTP server, or a simple folder location on a shared network. This enables you to host generated release data securely, while providing access to it on a global scale. From the manufacturing plant in Mumbai, to the design teams in Stuttgart and San Diego, and to the project director holidaying in the Greek islands, the geographically-dispersed 'Product Team' – collectively responsible for getting the product from idea to physical reality – have shared (and controlled) access to view, discuss and utilize the data to build the Item.
Defining Publishing Destinations
Before looking at how the release data for an Item Revision is actually published, options must first be defined, to set up where that data is to be stored. This is performed from the Data Management – Publishing Destinations page of the Preferences dialog (DXP » Preferences).
For each defined publishing destination, the following information is presented:
- Name – a meaningful name for the destination. This could, for example, reflect the data to be published to that destination.
- Type – the type of publishing destination. The following destination types can be defined:
- Amazon S3 – Simple Storage Services hosted by Amazon AWS.
- Box.com – a publishing destination hosted by Box.com.
- Folder – a simple folder structure on, for example, a shared network.
- FTP – for uploading to an FTP storage server or a location on your web site.
- Status – whether the connection between Altium Designer and the publishing destination is successful () or not (). If connection is unsuccessful a comment will be displayed, indicating the problem.
Adding a new Amazon S3 Publishing Destination
To add a new publishing destination hosted by Amazon Simple Storage Services (S3), select Amazon S3 from the Add Destination drop-down menu – the Add Amazon S3 Publishing Destination dialog will appear.
Define the destination as follows:
- Give the destination a meaningful Name.
- Enter your Amazon Web Services Account credentials. You will need an existing Amazon Web Services Account. If you don't already have one, sign up at aws.amazon.com. During your account setup process, you would have created a 20-character Access Key ID (or public key) and a corresponding 40-character Secret Access Key (or private key). You may have more than one of such key pairs. As indicated by the name, your Secret Access Key should be kept secure and only known by you and Amazon Web Services.
- Specify the name of the bucket which will store the published files. Buckets can be created by tools such as the AWS Management Console. You can optionally specify a sub-folder within the bucket to store your files. Type in the path in the Key Prefix field or click the button to browse and select a folder.
- Define additional publishing options as required.
- Click OK.
A connection from Altium Designer is made, and an entry will appear for it in the listing of publishing destinations back on the Data Management – Publishing Destinations page of the Preferences dialog.
Adding a new Box.com Publishing Destination
To add a new publishing destination whose folder structure will reside within your cloud-based Box – hosted by Box.com – select Box.com from the Add Destination drop-down menu – the Add Box.com Publishing Destination dialog will appear.
Define the destination as follows:
- Give the destination a meaningful Name.
- Activate your Box.com account. This process allows Altium Designer to access your Box. To activate your Box.com account for the first time:
- click the Activate button in the Box.com Account region of the dialog. The Activate Box.com Account dialog will appear, prompting you to login to your account.
- Enter your Box.com account credentials, then click Authorize.
- Once you are successfully logged in to your Box, click the Grant access to Box button to allow the AltiumBoxApplication to have Read/Write access to the Box.
- Click the Close button at the top-right of the dialog to return to the Add Box.com Publishing Destination dialog. The dialog will now reflect your account as activated.
- Specify the location for storing published data by specifying an existing, or creating a new, folder within your Box. Specify this folder using the Folder field in the Location region of the dialog. Use the button to access the Choose the Destination Root Folder dialog, from where you can browse all currently defined folders in your Box, or click New Folder... to create a new one. Choose the required folder and click OK.
- Define additional publishing options as required.
- Click OK.
A connection to the nominated folder from Altium Designer is made, and an entry will appear for it in the listing of publishing destinations back on the Data Management – Publishing Destinations page of the Preferences dialog.
Adding a new Folder Publishing Destination
To add a new local folder-based publishing destination, select Folder from the Add Destination drop-down menu – the Add Folder Publishing Destination dialog will appear.
Define the destination as follows:
- Give the destination a meaningful Name.
- Specify the location of the root folder. Either enter the location for the folder directly into the Folder field, or click the folder icon to access the Browse For Folder dialog, from where you can browse for an existing local or network folder, or create a new one, as required.
- Define additional publishing options as required.
- Click OK.
A connection to the nominated folder from Altium Designer is made, and an entry will appear for it in the listing of publishing destinations back on the Data Management – Publishing Destinations page of the Preferences dialog.
Adding a new FTP Publishing Destination
To add a new publishing destination hosted by an FTP server, select FTP from the Add Destination drop-down menu – the Add FTP Publishing Destination dialog will appear.
Define the destination as follows:
- Give the destination a meaningful Name.
- Enter your FTP Account credentials.
- Enter the Server Name - this may be an IP address (such as
123.45.1.1
), a domain name (such asmyserver.com
), or a hostname if located on your local area network (such asmyserver
). - Enter your User Name and Password to log into your FTP server.
- Enter the Server Name - this may be an IP address (such as
- Optionally specify a directory on your FTP server to store the published data. Type the path directly in the Directory field, or click the button to browse and select a folder.
- Define additional publishing options as required.
- Click OK.
A connection to the nominated folder from Altium Designer is made, and an entry will appear for it in the listing of publishing destinations back on the Data Management – Publishing Destinations page of the Preferences dialog.
Editing the Connection to a Publishing Destination
You can edit the connection to a Publishing Destination at any time, for example if the location of the publishing destination changes. To do this, simply select the entry for the destination in the listing of destinations, then click on the Edit Connection button. A dialog will appear, from where you can modify the connection properties.
Removing a Publishing Destination
To remove a publishing destination, simply select the entry for the destination in the listing of destinations, then click on the Remove button.
Additional Publishing Options
The following additional publishing options are provided (where applicable) when defining a publishing destination:
- Zip Contents - enable this option to have data compressed into a zip archive before being published. The zip archive can also be password protected if required. This option is available for all publishing destination types.
- Present Contents in a HTML page - enable this option to generate a HTML index page to list the contents of the published data and aid navigation of the files in a web browser. This option is available for Amazon S3, Folder and FTP publishing destination types.
Publishing the Data
With Publishing Destinations defined as required, you are able to publish release data for a board design either from the Item view, the Vaults panel, or from an OutputJob file:
- From the Item view, simply select the specific revision of the Item you wish to publish documents for. Publishing commands are available from the right-click menus for the Released Documents and Design Snapshot regions respectively. While you can publish just the Released Documents, or just the Design Snapshot, from these respective regions, both menus contain a command for publishing all documents in a single hit.
The publishing sub-menu lists all available Publishing Destinations, by name, as defined on the Data Management – Publishing Destinations page of the Preferences dialog.
- From the Vaults panel, simply select the specific revision of the Blank Board or Assembled Board Item you wish to publish documents for, and switch to the Preview aspect view. Publishing commands are available from the right-click menus for the Released Documents and Design Snapshot regions respectively. Again, while you can publish just the Released Documents, or just the Design Snapshot, from these respective regions, both menus contain a command for publishing all documents in a single hit.
The publishing sub-menu lists all available Publishing Destinations, by name, as defined on the Data Management – Publishing Destinations page of the Preferences dialog.
- From an Output Job file, click on the Generate and publish control for the required Output Container to access publishing commands.
In each case, use the subsequent Publish to dialog to define the required destination sub-folder in which to store the data.
Once published, set access rights for the folder, FTP site or Amazon S3 area as required (and if not already), then communicate availability of data to the required people. With a Box publishing destination, determine – through email – who to share the published data with, at the time of publishing (in the Publish to dialog).