Skip to content

Publishing a workbook#

Publishing a workbook leaves a copy of it in the portal, a version, for anyone with access to consult without being able to change it. You can publish by hand whenever you want or let Empowerment Center publish by itself each time the scheduled recalculation of the workbook finishes.

Before you start#

  • You need Portal administration and to be able to modify the workbook.
  • Decide which documents should carry their data. A document with Keep data checked (in ⋯ › Properties… of its viewer or in its Wizard…) is published with its data; the others are calculated when someone opens them. See The portal.

Choose the publication options#

  1. Open the workbook menu: in Workbooks, the three dots of its row; or, with the workbook open, the workbook menu in its header.
  2. Choose Portal publication….
  3. Fill in the options:

    Option What it does
    Title in the portal The name with which the workbook is shown in the portal. If left empty, the name of the workbook.
    Versions kept How many versions the portal keeps, from 1 to 100. When a new one is published, the oldest ones over that number are deleted.
    Publish after each scheduled recalculation If checked, each scheduled recalculation of the workbook that finishes successfully publishes a new version. See Scheduling the recalculation of a workbook.
  4. Click Save. The dialog says “Saved”.

The “Portal publication” dialog of “Ventas por zona” with its options and the table of published versionsThe “Portal publication” dialog of “Ventas por zona” with its options and the table of published versions
The “Portal publication” dialog of “Ventas por zona” with its options and the table of published versions

Saving the options does not publish anything yet: it only leaves the workbook ready. Once saved, the Publish now and Unpublish… buttons appear.

Publish now#

  1. In the Portal publication dialog, click Publish now.
  2. The dialog says “Publishing…” while the documents are calculated. It may take a while if there are heavy documents.
  3. When it finishes it says, for example, “Version 4 published (3 with data, 2 when opened)”. If there were forms, it adds “not published:” with their names: forms are not published.

“Publish now” recalculates the documents that keep data before saving them in the version, just like Process in their viewer: their kept data becomes this. That way old data is never published.

Important

If a document cannot be calculated, the version is not created and the dialog says which document failed. The portal keeps showing the previous versions.

Publish after the scheduled recalculation#

With Publish after each scheduled recalculation checked, each time the scheduled recalculation of the workbook finishes successfully a new version is published with the freshly calculated data, without calculating it again. It is published on behalf of whoever saved the recalculation schedule. If the recalculation fails, nothing is published.

In the versions table, these versions carry the note “· after the recalculation”.

What a version saves#

  • The workbook as it is when published: its sections with their segmentation and its documents with their definition. Changing the workbook afterwards does not change the published versions; for the portal to show the changes, publish again.
  • The data of the documents that keep data, with the permissions of whoever publishes. All readers see those same rows, with their own columns.
  • Only the definition of the rest, which each reader calculates when opening it with their permissions.

If you cannot see a dimension or metric of a document, the document is published without it, and that version does not carry it either for those who can see it.

Versions are numbered 1, 2, 3… and a number is never repeated: even if you delete the last version or unpublish and publish again, the next one continues the count. Subscriptions and alerts “after each publication” are triggered once for each number.

The published versions#

The Published versions table of the dialog shows, for each version:

Column What it says
Version Its number.
Published When (hover over it for the exact date) and, if it was after the recalculation, “· after the recalculation”.
By Who published it.
Documents How many carry data and how many are calculated when opened.

To delete a version, click Delete… in its row and confirm with Delete version. Readers stop seeing it; the others do not change.

Unpublish#

  1. In the dialog, click Unpublish….
  2. Confirm with Unpublish. All its versions are deleted and the portal stops showing the workbook.

The template blocks that showed its documents are left without them (the designer sees them as “Workbook not published or no access”). Deleting the workbook also deletes its publication.

The identifier of a document#

Each document has an identifier that does not change even if its name changes. To see it:

  1. In the open workbook, open the menu of the document in the workbook navigator.
  2. Choose Identifier….
  3. The dialog shows the Identifier and the Address in the portal, each with its Copy button.

The address opens the document in its published workbook, as long as the workbook is published and whoever opens it has access.

See also#