Data Tools
Operational tools for bulk-renaming documents, queuing antivirus re-scans, scanning drawings, checking tag consistency, exporting document and version metadata, and repairing markup positions, each acting on real organisation data rather than on settings.
Overview
Select Data Tools in the admin main menu. The page requires the Administration Pages access right, and offers six tabs: Bulk Rename Documents, Batch AvScan, Drawing Reference Scan, Text Recognition (OCR), Document Data Report, and Tag Consistency. Two tools for repairing markup positions are opened from the viewer rather than this page, and are covered under Markup Position Repair.
These are operational and support tools, not everyday settings. Bulk Rename Documents and Batch AvScan act on real documents in bulk as soon as you submit them, with no confirmation step in between. Read what each tab does before you use it. Document Data Report and Tag Consistency are the safest: they only report on documents, and never change one. Drawing Reference Scan and Text Recognition (OCR) run in the background, report their progress, and can be paused or cancelled.
Bulk Rename Documents
Bulk Rename Documents renames document versions in bulk from a spreadsheet. Select Download template to get the .xls starting point, which ships with one example row showing the three required columns: VersionId, OriginalFileName, and NewFileName.

Select Upload File and choose your completed .xls or .xlsx file. There is no confirmation dialog. Selecting the file starts the rename job immediately.
Before any renaming happens, the whole file is validated: if a required column is missing, a NewFileName uses a disallowed extension, or any row has blank data, the job does not run at all and the affected row numbers are returned instead. The same applies to a row that renames a document to PDF when it has no rendition to keep, and to a row that renames to PDF when you are not authorised to replace that document's content.
For each row that passes validation, Lunr checks it against these conditions in order, and stops at the first match:
- If
NewFileNameis the same asOriginalFileName, the row is Skipped. - If the version ID does not exist, the row is marked Not Found.
- If you do not have access to that document version, the row is marked No Access.
- If the version's current file name no longer matches the
OriginalFileNamecolumn, the row is marked Mismatched Original Name. This catches a spreadsheet that has gone stale, for example if someone else renamed the document after you built the file. - Otherwise, the version is renamed and the row is marked Success.
A bulk rename has no undo. Once a row succeeds, the only way back is another rename, manual or bulk. Check your spreadsheet carefully before uploading it, particularly the OriginalFileName column, since a mismatch there is what stops you renaming the wrong version by accident.
Bulk renaming is gated only by the Administration Pages access right, at the level of the whole tool. It does not separately check the Rename Master Documents access right that a manual, one-at-a-time rename requires. In practice this means a bulk rename job can rename documents that the same user could not rename individually through the document viewer.
Upload History
Every job you run appears in Upload History, with these columns.
| Column | What it shows |
|---|---|
| ID | The job's correlation ID. This identifies the job itself, not a document. |
| Status | The job's overall status: Success, Partial Success, Error, Skipped, Cancelled, Running, or Unknown. |
| Success | Count of versions renamed successfully. |
| Not Found | Count of version IDs that did not match an existing document version. |
| No Access | Count of versions you did not have access to rename. |
| Skipped | Count of rows where the new name matched the original name. |
| Mismatched Original Name | Count of rows where the version's current file name no longer matched the spreadsheet. |
| User | The person who ran the job. |
| Started At | When the job began. |
| Completed At | When the job finished. |
Progress updates live while a job runs, and a completion message appears only for the user who submitted it.
Batch AvScan
Batch AvScan queues an antivirus re-scan for specific document versions. Enter their version IDs into the Version IDs field, separated by commas, then select Submit.

There is no confirmation dialog, no results table, and no history for this tool. Submitting shows only a brief message confirming how many versions were queued. If you paste a version ID that does not exist, it is counted internally but nothing in the page tells you which of your IDs did not match, so check your list before you submit it.
Queuing a re-scan runs an antivirus-only content generation pass against each version, and its rendition unless the version itself is a rendition; every other generation option, such as thumbnails, OCR, and form recognition, is disabled for this pass. A file that has already been scanned and marked clean is not scanned again, so only versions that were never scanned, or that did not come back clean, are actually re-scanned.
Re-scanning does not alter a document's content, so it is not destructive in the way a bulk rename is. If a scan detects malware, that is recorded as a "Malware content detected" entry in System Events, alongside every other system event.
Drawing Reference Scan
Drawing Reference Scan reads the drawings already in Lunr for drawing numbers that match other drawings, so they link in the Rift viewer and the Related view. Enabling drawing references does not scan existing drawings, so run a scan when you are ready. New and updated drawings are scanned as they are processed. See Drawing References for the setting and the coverage figures.
Choose the options for a new run, then start it.
| Option | Choices |
|---|---|
| Scope | This Repository or All Repositories. |
| Drawings | Unscanned Drawings or All Current Drawings. |

The count beside the dropdowns shows how many drawings the run will scan. Select Start Scan, and confirm in the dialog that follows. The run is queued, then shows its progress with Pause and Cancel Scan buttons, and counts of drawings Scanned, Failed, and Skipped, and of References found.

A scan reads text Lunr already holds. Drawings with no stored text are skipped with the reason No text extracted yet, and can be passed to Text Recognition (OCR) from the run page. One scan can be active in a repository at a time. A finished run stays in Scan History with its status, scope, drawings processed, references, and duration.

A completed run adds an Outcome summary of references Linked and Unmatched and of drawings Scanned, Failed, and Skipped, and a Text Coverage section. A stored-text scan reads only page text Lunr already holds. It opens no PDFs, so a drawing with no stored text is reported as None rather than as having no references.
| Figure | What it shows |
|---|---|
| Complete, Partial, None | How many drawings have text on every page in scope, some pages, or no pages. |
| Page total unknown | Drawings whose page count is not recorded. These are never reported as complete. |
| Pages with stored text | The pages with stored text, split into OCR and native text. |
| Beyond the 50-page limit, Failed OCR pages | Pages a deep scan does not close. |
| Linked, Ambiguous, No drawing holds the number | How the references found were resolved. |
- Extract text for these drawings opens Text Recognition (OCR) with the drawings that have partial or no text selected, so references can be found in them afterwards.
- Download Partial and None List downloads the list of those drawings.
- Start Deep Scan reads the PDFs of drawings whose stored text was partial or missing, for the pages that stored text did not cover. It shows an estimate of the drawings, pages, and download size first.
Text Recognition (OCR)
Text Recognition (OCR) extracts searchable text from documents that have none, such as scanned drawings. Search, drawing references, and XRAY use the text.
Each page that is read uses credits from your subscription's OCR allowance, which renews each period. The Credits card shows what is left this period, and Open Content Generation Settings opens the related settings. Uploads that are read for text use the same allowance.
| Method | Credits per page |
|---|---|
| Standard | 1 |
| Deep 2×2 | 4. Suits small text on large sheets. |
| Deep 3×3 | 9 |
| Embedded PDF text only | None. Copies the text already inside a PDF, so it applies to PDFs only. |
Choose the options for a new run under New Run.

| Option | Choices |
|---|---|
| Scope | This Repository or All Repositories. Running on all repositories requires access to every repository. |
| Documents | No text, Partial text, No text and partial, OCR failed before, or All documents. |
| File types | All, Documents read as PDF, or Images. |
| Method | One of the methods above. |
| Pages | All pages, up to the page limit shown, or First page only. |
| Budget | The most credits the run may use. |
The estimate of the credit cost appears before you start. Select Start OCR, and a confirmation shows the credits to be spent. While a run is active, its budget is set aside, and the run pauses when it reaches the budget. You can change the budget at any time, and raise it to resume a paused run. A run that is interrupted resumes from the page after the last one read.
Cancel a run with Cancel Run. Cancelling keeps the text already extracted and the credits already spent. The results table lists each document with its status (Completed, Partial, No text found, Skipped, or Failed), the pages read, credits, and duration, and OCR history lists earlier runs. A run can hand off to or from Drawing Reference Scan, with Back to Drawing Reference Scan returning you to the scan that started it.
Document Data Report
Document Data Report exports document and version metadata across your repositories as a spreadsheet-style file. This is the safest tab on this page: generating a report never changes a document, only ever produces a file, and that file expires automatically.
Choose your export options, then select Generate Report.

| Option | Choices |
|---|---|
| Format | TSV (tab-separated) or CSV (comma-separated). |
| Boolean values | true / false or 1 / 0. |
| Empty values | Blank or NULL. |
| Repositories | Only shown when your organisation has more than one repository. Leave every box cleared to include every repository you can access, which is not necessarily every repository in the organisation. |
The report contains one row per document version, not per document, covering a fixed set of columns describing the document and the version, such as its repository, workflow state, whether it is a standard document or a redline (document_kind, which holds Standard or Redline), file name, size, revision numbers, and modification details, plus one extra column for every tag definition in your organisation, holding that version's value for that tag.
You are emailed when the report is ready, with a link to a standalone status page that also offers a download button and a link back to this tab.
Report History
Report History lists the reports you have generated, with these columns.
| Column | What it shows |
|---|---|
| Created | When you generated the report. |
| Format | TSV or CSV. |
| Rows | The number of version rows the report contains. |
| Status | Generating, Ready, Failed, or Expired. |
| Available Until | The date and time the report's download stops working. |
This list only ever shows your own reports, not every report generated by every administrator; a report you generate cannot be downloaded by another administrator, even if they have the direct link. Select Download on a Ready report to fetch it; the download link is generated fresh each time you select it, and is short-lived, so do not save the link itself, only the file it downloads.
A report that has not finished after an hour is shown as Failed, with a message that generation timed out. Generate a new report rather than waiting on it.
Document Data Report is unrelated to the downloads area covered in the user guide. It does not appear under My Downloads, and generates a separate report file with its own expiry, rather than a document package.
Tag Consistency
Tag Consistency finds groups of documents that should share a tag value but do not. For example, group documents by Drawing Number and check Plant Number to list every drawing whose documents hold more than one plant number. Running the report never changes a document.
- Choose the Group by tag. Documents sharing a value of this tag form a group.
- Under Tags to check, select up to 20 tags. Use the search field to find a tag, and Clear All to start again. A group is listed when one of these tags holds more than one value in it.
- Choose a Sort: Group (A to Z), Group (Z to A), or Most Distinct Values First.
- Select Include superseded revisions to check earlier revisions too. Otherwise only current revisions are checked.
- Select Run Report.
Blank values are ignored, and values match regardless of case and spacing. A tag that holds several values is compared as a set.
The results are grouped by the group value and then by the checked tag, with the number of distinct values and documents in each group. Each row shows the File Name, Revision, Version, whether it is Current or Superseded, and the Value. If every group has one value for the checked tags, the page reads No differences found.

Select Export to Excel to download the results. A large export is prepared in the background, and you are told when it is ready.
Save the chosen tags as a named report with Save report to run the same check again later, and reopen a saved report from the saved reports bar at the top of the tab.
Markup Position Repair
On a drawing whose pages are rotated in the PDF, markup drawn in the viewer could be saved turned away from where it was drawn, by a quarter turn or more. Two tools put that markup back in place. Unlike the tabs above, they are opened from the viewer, in the Repair group of the View ribbon.
The tools appear only when all of the following apply:
- You have both the Administration Pages and Edit Annotations access rights.
- The drawing is under an active workflow. A released drawing cannot be repaired with these tools.
- The drawing is open in the full-page viewer, rather than as a redline, a review set, or a preview.
Nobody else can have the drawing open while you repair it. If someone does, Lunr reads "Other people have this drawing open. Markup positions can only be repaired while no one else is viewing it, so that nobody receives the changes before you have checked and saved them." The repair panel also leaves the real-time session while it is open.
Repairing Markup Positions
- Open the drawing and select Repair Markup Positions on the View ribbon. The Repair Markup Positions panel opens beside the drawing, so you can still pan and zoom.
- Review the list. It shows the markups on each rotated page, with those that look turned flagged first, and suggests how many quarter turns each needs where it can tell. Flagged markups with a suggestion are selected to begin with. Some text boxes are flagged for you to check without being selected, so select any that are out of place.
- Use Show on a row to find that markup on the drawing, and Select Flagged, Select All, or Clear to change the selection.
- Select Turn Selected Back a Quarter Turn. Lunr checks the markups again, so select it again for markups that need more than one turn.
- Where markups that came from the PDF itself are turned, select Re-import Markups Saved in the PDF to bring them back at their positions in the PDF.
- Select Save to store the repaired markup. Nothing is saved until you do.
Select Cancel to leave without saving. If you have made changes, a Discard Markup Repair prompt asks you to confirm, and the stored markup is reloaded.
Loading Corrected Markups
Select Load Corrected Markups to replace the drawing's stored markup with an XFDF file (.xfdf or .xml), for example one corrected outside Lunr. Lunr checks the file first and refuses one that is not a markup file exported from the viewer, is larger than 20 MB, holds content the viewer does not support, or refers to pages the drawing does not have. The message names the first markup at fault, so you can remove it from the file and try again.
A Replace Stored Markups prompt then names the file, the revision, and how many stored markups it replaces. Once you confirm, the file's markup appears on the drawing with the repair panel open. Select Save to store it, or Cancel to go back to the stored markup.
Message Templates
The Templates tab of Email Notifications, where you edit the Liquid subject and HTML body of every notification email your organisation sends.
System Events
Search the audit trail of everything that has happened in Lunr, and monitor the project and document event queues that feed connected systems.