Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Publish

When setting up Offline publication, the publication will create a database based on the settings in server.config. The publisher will create a database with the same version as the instance in the settings file.

...

Info

Note!

Note that browser built in PDF viewer is not functioning very well in Offline client. To avoid these problems, make sure to use pdf.js as PDF viewer and disable browser built in reader. This is done by setting the following properties:

Code Block
languagexml
<DefaultPdfJsReader>true</DefaultPdfJsReader>
<BrowserPdfReaderEnabled>true</BrowserPdfReaderEnabled>

Synchronization

Warningnote

Note!

Offline synchronization should also be enabled in C:\inetpub\wwwroot\AssertWeb\App_Data\settings.config

Code Block
languagexml
<OfflineViewSynchronizationEnabled>true</OfflineViewSynchronizationEnabled>
	<OfflineSynchronizationSettings>
		<CertificateSettings>
			<ChainOfTrust/>
		</CertificateSettings>
		<JsonWebTokenSettings>
			<Audience>Offline</Audience>
			<DurationInMinutes>10</DurationInMinutes>
			<Issuer>Offline</Issuer>
			<Secret>123456789OfflineOfflineOfflineOfflineOffline</Secret>
		</JsonWebTokenSettings>
	</OfflineSynchronizationSettings>

Synchronization settings with credentials

...

  • Issuer: The name for the entity which is responsible for issuing and validating tokens (unique name, ex: hostname)

  • Audience: Name of the entity by which the token is intended to be used. (unique name, ex: hostname)

  • DurationInMinutes: How long a token is considered valid. After it has expired, the client will need to authenticate again. This is done seamlessly in the background and requires no user interaction.

  • Secret: A Base64 randomly generated string. A length of 128 bytes is recommended. Make sure this is kept secret!

2. Server setup: Certificate-based authentication

...

Code Block
languagexml
<!-- File: anytime.setup.config -->
<SilentInstall>true</SilentInstall><SilentInstallEnabled>true</SilentInstallEnabled>

If this setting is missing from the configuration file, it will default to false.

Silent Uninstallation

Similarly to the Silent Installation, it is possible to configure the Offline client so that it quietly uninstalls itself by skipping the “Feature Select Uninstall” dialog:

Code Block
languagexml
<!-- File: anytime.setup.config -->
<SilentUninstallEnabled>true</SilentUninstallEnabled>

If this setting is missing from the configuration file, it will default to false.

Windows programs list registration

...