Compart Launches DocBridge® Communication Suite
Market launch of the DocBridge® Communication Suite: New standards in flexibility and technology in customer communication management.
MoreSometimes, while working on a project based on a complex template, you may encounter many dependencies, such as DFB blocks, stylesheets, or even intricate sample record sets in a data dictionary. In such cases, it's useful to preview the impact a change to a dependency has on the dependent resources, without having to create and publish a new version each time. This can prevent version overload and helps maintain a cleaner version history. That's where the concept of a working copy comes into play.
When developing or designing, you often need to see the effects of your changes immediately. Using working copies allows you to:
The behavior you desire in a design or development environment differs from what you need in production. In production, you typically want to ensure stability by only using published versions of dependencies. However, in a design or development environment, you might want to see the changes you’re making immediately.
This behavior is configurable in Resource Director using an environment variable: version.onlyPublishedCanBeActive
By default, version.onlyPublishedCanBeActive is set to true. This means that only published versions can be loaded as dependencies, which is ideal for production environments.
For design or development environments, you may want to switch this setting to false. This allows working copies to be loaded as dependencies, enabling you to preview changes without the need to publish.
Using working copies in your design or development environment allows for more flexible and efficient testing of changes without cluttering your version history with unnecessary published versions.
By configuring the version.onlyPublishedCanBeActive environment variable, you can easily switch between using only published versions or including working copies based on your environment needs.
This approach helps streamline your development process, making it easier to manage dependencies and preview changes effectively.