logo
search
Office Settings & Configuration

How to Display a Visio File Name and Location on a Page

Khadija KhanKhadija Khan Oct 9, 2026 869 views

Question details

The user needs to display the document's file name and directory path dynamically on a Visio drawing page.

How to Display a Visio File Name and Location on a Page
Product
Microsoft Visio
Device & OS
not provided
Scenario
Adding document property fields to a title block for accurate file tracking, sharing, and printing.
Observed behavior
The goal is to have the file properties appear automatically on the page. Directory fields may remain blank until the file is saved and reopened.
Before you start

Ensure you have saved your Visio document to a specific folder on your computer at least once, as the directory path cannot be displayed for an unsaved file.

Solution 1Recommended

Use Document Information Fields on a Background Page

This is the most efficient method for consistently displaying the file name and directory across multiple drawing pages.

By utilizing a background page, you only need to insert the file information once, and it will automatically appear on all foreground pages assigned to that background.

1
Create a background page

Set up a new background page in your Visio document and place your title block shape on it.

2
Assign to foreground pages

Navigate to the Page Setup settings of your standard drawing pages (foreground pages) and assign the newly created background page to them.

3
Insert the document field

Select the text area inside your title block, go to Insert > Field, and choose the required item under Document Information, such as 'Directory' or 'File Name'.

Use Document Information Fields on a Background Page
Display Delay: The directory field may remain blank initially. You must save the file to a specific location and reopen it for the directory path to update and display correctly.
Free Microsoft Office alternative

Looking for a Lightweight Office Solution?

While Microsoft Visio manages complex technical diagrams, WPS Office provides a free, lightweight, and comprehensive suite for all your document, spreadsheet, and presentation needs with highly familiar flowcharting and drawing capabilities.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the installer and follow the on-screen prompts to complete the lightweight installation process.
  3. 3. Create Diagrams Easily: Open WPS Writer or Presentation, navigate to the Insert tab, and use the Shapes or SmartArt tools to build flowcharts and structural diagrams effortlessly.
Completely free to download and use with comprehensive office toolsSeamless format compatibility with Microsoft Word, Excel, and PowerPointLightweight installation with ultra-fast startup timesBuilt-in flowchart, SmartArt, and diagramming tools in Writer and Presentation
microsoft office alternative - wps office

Frequently Asked Questions

Why is the directory field on my Visio page blank?

The directory field will remain blank until the file has been saved to a specific location on your drive and subsequently reopened. Visio requires the file to be committed to a directory before it can pull the path data.

Can I automatically apply the file name and location to every page in my document?

Yes. The best way to achieve this is by placing the document information field on a background page. Once created, you can assign this single background page to all your foreground pages via Page Setup.

How do I access the ShapeSheet in Visio?

To access the ShapeSheet, you must first enable Developer Mode by going to File > Options > Advanced and checking 'Run in developer mode'. Afterward, you can right-click any shape and select 'Show ShapeSheet' to input formulas like FILENAME().