This should not be that complicated. You can get it from the vpath, just regex out the filename earlier. Something like:[html] match="^Y.*)/WORKAREA/[^/]+/(.*)" replace="/$2" />I use the parent EA (which points to the generated file) to get the URL and push it to the DB.[/html]