Solved

FM - Using Container Field vs. Web Viewer to Script Document Management

Posted on 2011-02-25
3
710 Views
Last Modified: 2012-06-22
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"
0
Comment
Question by:rvfowler2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Expert Comment

by:jvaldes
ID: 34983612
Is your container a global field?
0
 
LVL 2

Author Comment

by:rvfowler2
ID: 34997393
No, so it should show for every record.  However, possibly the calc box for container fields don't accept the above calc or the above calc needs to be modified (possibly different for a web viewer than a field).  I've tried several iterations and they do not work.
0
 
LVL 9

Accepted Solution

by:
jvaldes earned 500 total points
ID: 35002506
You should display the container from a different table than the table where you store the path. Then from the layout of the new table (no the original container table) link the tables by the reference ID that connects the two tables. Now create a global container in the new table that is global and make reference to locate the resource from the path field in the table. That should work
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question