Skip to Content

Updating A Table with the File Name of a File Being Inserted into a File Browser

Step-by-Step Guide

  1. Create a new Business Object on the File table (File (Source) as an example) for the file browser and add Shared('field') to the Business Object.
  2. Point the File Browser page on the UI to the new Business Object.
  3. Add shared binding to the link of the file browser page. This will pass in the Primary Key of the table you want to update.
  4. Create a XP CRUD XP Rule on Insert of the new Business Object. Inside of the rule have FileName (targeted), Directory, DataSourceID, Content, and caller('SharedField') targeted to the Primary Key of the table you want to update. Using explicit binding, bind the Primary Keys from the File table.