FM - Using Container Field vs. Web Viewer to Script Document Management
Posted on 2011-02-25
Breaking off this to its own questioni: Since I have about 700 tenants x about 5 documents, I want to script a few of the most common documents in a calc field to show on a tab pane. I've easily done it already with a web viewer and can view a pdf doc, for example, on the Insurance Certification tab no matter what record I'm on. However, I can't seem to do this with a container field. I enter the exact same calc in a container field and the field just shows an icon, but when I click on it, I get an error saying the file path is not correct. For example, following is the calc that works in the web viewer, but not in the container field. Anyone ever calc a container field, so whatever record you are on, it finds the doc in the correct file path? (Maybe I need to use the web viewer for the tab panes, but for all the misc. files, use container fields brought over in portal rows from a document table as ChallengeDay has suggested.) Thanks.
"file://R:/TNTINFO/" & Tenants::PropCode & Tenants::EntityNum & Tenants::BldingRNum & "/" & Tenants::PropCode & Tenants::UnitCode & "/" & Tenants::PropCode & Tenants::UnitCode & "_InsCert.pdf"