M-Files Management
Manage M-Files integration, testing, and document operations
Search for Job by Matter Reference:
Please get Object Types and Properties first before searching
Search for Body Corporate Certificate Request by Subject:
Object Type: Body Corporate Certificate Request (ID: 265)
Property: Subject (ID: 1120)
Please get Object Types and Properties first before searching
Search Jobs by Contact Name (Form 7):
Object Type: Job (ID: 117)
Method: quickSearch (searches across all indexed fields)
🔬 Document InspectorFind Job Property
Inspect a specific document to find which property references the Job ID
This will:
- Get all properties of the document
- Find which property references the Job ID
- Tell you the Property ID to use for searching ALL documents
🔍 Job Documents ExplorerDiscovery Tool
This tool will try different methods to find all documents related to a Job ID
This will test:
- Method 1: Search Documents with various Job property filters
- Method 2: Get Job properties to understand structure
- Method 3: QuickSearch using Job ID
📊 Check browser console for detailed results!
Get Object Properties by ID:
Auth Endpoint: POST /api/mfiles/auth
Value List Endpoints: GET /api/mfiles/valuelists/{244|245}/items
Status Endpoint: GET /api/mfiles/auth/status
Expected Response: Array of strings like ["ABN", "Adjudicators Application"]
Comparison Logic: Items are compared against SORT_ORDER_RULES with exact match, similarity search, and intelligent word matching.
Authentication: Backend handles M-Files credentials automatically. No frontend configuration required.
Endpoint:
GET /api/mfiles/job/{jobId}/documents-metadata
Properties extracted:
- Category (Property 1622)
- Subcategory (Property 1624)
- Document Date (Property 1122)
- Undated (Property 1771)
- Subject (Property 1721)
How it works:
- Uses Puppeteer (headless Chrome) on the Express backend
- Navigates to search.titlesqld.com.au/product-search
- Enters the CMS number and clicks Search
- Intercepts the API response to extract dealing number
Endpoint:
GET /api/titlesqld/cms/{cmsNumber}