There are several key concepts and workflow differences to consider when using Vista with App Xchange.
Attachment Data Objects Architecture
Managing attachments through App Xchange requires a different approach than native Vista because attachment metadata and the actual file bytes are handled as distinct data objects.
Vista stores attachment metadata and file bytes separately. App Xchange mirrors this split across two data objects in the Document Management module.
| Object | Source | Contains | Populated by |
|---|---|---|---|
| Attachments | HQAT | Metadata only (filename, keys, form/table refs) | Cache writer service (scheduled) |
| Attachment Files | HQAT + HQAF | Download handles after bytes are staged in App Xchange | cache_file connector action only |
The Attachments cache tells you that a file exists. It does not include file bytes or a download URL. To retrieve file content, run the Document Management cache_file connector action on Attachment Files.
For more information about cache writer and action processor services, see Services.
Download Files from Vista
Discover attachment metadata and stage file bytes to download files from Vista using App Xchange.
Vista stores attachment metadata and file bytes separately. To retrieve file content, discover attachment metadata and run the Document Management cache_file connector action on Attachment Files.
cache_file action using __file_id or file pointers inside flows.Upload Files into Vista
Upload attachment files into Vista using the Document Management Attachments Add action in App Xchange.
Add a Connector Action flow step. Select Vista for the connector and Document Management > Attachments - Add for the action path (or a module-specific add-attachment action where available).
Set URLToFileBytes to one of the following:
- A public HTTP(S) URL, or
- An App Xchange file URL from a prior
cache_fileresult or file-producing step (for example,appNetwork.fileUrl('<__file_id>'))
Request body example:
{"HQCo": 1, "FormName": "AP Invoice Entry", "KeyField": "KeyID = 12345", "TableName": "APHB", "OrigFileName": "invoice.pdf", "DocAttchYN": "Y", "IsEmail": "N", "URLToFileBytes": "https://example.com/files/invoice.pdf"}
The agent downloads those bytes and writes them into Vista per DM attachment options (HQAO):
- HQAF database storage, or
- Filesystem path derived from HQAT.DocName
Using Vista View Columns for Field Lookups
When working with Vista data in App Xchange, you may need to understand database fields that are not directly referenced in the Vista interface.
Vista provides a supplemental lookup report, Viewpoint View Columns, that lists available columns and their properties.
This lookup page is especially useful when you build database integrations or automate data flows, because it helps you:
- Identify the technical names and attributes of fields that appear in views and reports.
- Confirm how fields are stored in the database when the UI does not expose full details.
- Align App Xchange mappings and connector configurations with Vista's underlying data model.
Use the Viewpoint View Columns page together with in-app field descriptions to validate your assumptions about Vista data and reduce integration errors.
Refresh the User-Defined Table Data Cache
There are many Vista data objects with a large memory footprint. Leverage refresh actions to apply desired filters. A common use case is User-Defined tables.
The Vista user-defined table data refresh cache action enables pulling data from Vista user-defined (UD) tables into the App Xchange cache. The most common way to use this connection action is within a schedule to ensure up-to-date data for other flows that reference the cached data.
_custom_fields) will not trigger cache event triggers. To trigger a flow, at least one standard (non-underscored) field must also be updated.- Add a new step to your flow.
- Select the Connector Action type.
- In the Step Detail section, select Vista for the connector.
- Select for the action path.
When this flow step runs, it refreshes the App Xchange cache with your specified Vista UD table data, enabling other flows referencing the cache data to access up-to-date data.