logo
search
OneDrive File Issues

How to Use Word RD Fields with OneDrive Documents

Huda QurayshiHuda Qurayshi Sep 25, 2026 869 views

Question details

The user needs to combine headings from multiple Word documents stored in OneDrive using RD (Referenced Document) fields.

Using Word RD Fields with OneDrive Documents
Product
Microsoft Word
Device & OS
not provided
Scenario
Creating a master document or combined table of contents using files stored in a OneDrive folder.
Observed behavior
RD fields require a local synchronized OneDrive path to function correctly, rather than a web-based sharing URL.
Before you start

Ensure that the OneDrive desktop application is installed and that the target folder containing your documents is fully synchronized to your local hard drive.

Solution 1Recommended

Use a Locally Synchronized OneDrive Path

To make RD fields work with OneDrive documents, reference the local sync folder path instead of the cloud URL.

Word RD (Referenced Document) fields cannot process HTTP/HTTPS web URLs directly. Instead, you need to point them to the local directory where OneDrive syncs your files.

1
Locate the local synced folder

Open File Explorer and navigate to the synchronized OneDrive folder on your computer (e.g., C:\Users\username\OneDrive - Organization\Folder\).

2
Insert the field bracket

In your master Word document, press Ctrl+F9 to insert a blank field bracket {}.

3
Enter the RD field code

Type the RD field code using the local path, formatting it as: {RD "C:\\Users\\username\\OneDrive - Organization\\Folder\\01 Chapter.docx"}. Note the use of double backslashes to ensure the path is read correctly.

4
Repeat for all documents

Repeat this process, creating a new RD field for each document you want to reference in your master file.

5
Update the fields

Select the entire document by pressing Ctrl+A, then press F9 (or right-click and select 'Update Field') to combine the headings.

Use a Locally Synchronized OneDrive Path
Macro or Script Automation: If your list of files is generated by a customized macro or PowerShell script, ensure the code is programmed to fetch the local synchronization path rather than the SharePoint or OneDrive web link.

Manage Complex Documents Easily with WPS Writer

WPS Writer offers a seamless and intuitive way to manage complex documents, Table of Contents, and field codes. It is highly compatible with Microsoft Word formats and works flawlessly with your locally synced cloud files.

  1. 1. Open WPS Writer: Launch WPS Office and open your main master document in WPS Writer.
  2. 2. Insert a Field: Navigate to the Insert tab on the top ribbon, click on 'Field', and select the desired field code from the available list.
  3. 3. Enter the Local File Path: Input the local synced path of your target document into the field code properties.
  4. 4. Update the Fields: Select your text, right-click, and choose 'Update Field' (or press F9) to instantly refresh and combine your document data.
Highly compatible with Microsoft Word (.docx) formatsEasily manage Table of Contents and document fieldsWorks perfectly with locally synced OneDrive or Google Drive foldersLightweight, fast, and completely free to use
microsoft office alternative - wps office

Frequently Asked Questions

Why won't my RD fields work with a OneDrive sharing link?

RD (Referenced Document) fields in Word are designed to read local file directories. They cannot parse web-based HTTP/HTTPS URLs generated by OneDrive's 'Share' feature. You must use the local synchronized file path instead.

How do I find the local path for my OneDrive synced files?

Open File Explorer, navigate to your OneDrive folder, open the directory containing your document, click on the address bar at the top, and copy the file path. Remember to add the exact document name and extension (e.g., .docx) at the end.

Should I use double backslashes in the RD field path?

Yes, when typing the path in an RD field manually, it is standard practice to use double backslashes (e.g., C:\\Users\\...) to ensure the software reads the file directory correctly and prevents path formatting errors.

How do I update all RD fields at once?

Press Ctrl+A to select the entire document, then press F9 on your keyboard. Alternatively, right-click anywhere in the selected text and choose 'Update Field'.