Skip to content

Commit 5630bb7

Browse files
committed
Expose new TranslateTopicPointers option to interface
The `ExportOptions` was expanded to allow the `TranslateTopicPointers` functionality to be optionally disabled as part of the **OnTopic Data Transfer 1.2.0** library, which was integrated as part of the support for working with a clean database (18f676b). As part of that, I missed exposing this option to the `Export()` view in the editor. Whoops! (In practice, I'm not sure most customers will need this. But it's nice to have for particular edge scenarios.)
1 parent eb84431 commit 5630bb7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

OnTopic.Editor.AspNetCore/Areas/Editor/Views/Editor/Export.cshtml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@
3737
<i class="fa fa-info-circle" data-toggle="tooltip" data-placement="right" title="Includes relationships even if the topic they are referencing falls outside the scope of the export."></i>
3838
</section>
3939

40+
<section class="attribute">
41+
<input type="checkbox" asp-for="ExportOptions.TranslateTopicPointers" />
42+
<label asp-for="ExportOptions.TranslateTopicPointers">Translate Topic Pointers?</label>
43+
<i class="fa fa-info-circle" data-toggle="tooltip" data-placement="right" title="Attributes which end in 'Id' and have a numeric value mapping to an existing topic will be translated to their unique key (e.g., 'Root:Web:Contact') on export, and then translated back to topic identifiers on import. This is enabled by default, but can optionally be disabled."></i>
44+
</section>
45+
4046
</div>
4147

4248
@if (!Model.IsModal) {

0 commit comments

Comments
 (0)