[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

FM - Creating a List of Document via Container Field

Posted on 2011-02-22
4
Medium Priority
?
516 Views
Last Modified: 2012-08-13
I asked this in a previous question, but, to be fair, it should be completely separate (not an aspect of my original question):  How can you create a list of documents that dynamically show depending on what record you are on.  Here is ChallengeDay's response with my followup question:

Sure, you could have a Document table, with a foreign key to tenants (or properties, or however you want to structure), so that for each tenant you could show a list of related documents in a portal. In the document have a field that calculates the filepath, with GetAsText ( FileContainer ). Then the portal shows all of the documents and their filepaths. Then if someone clicks on the icon of the file it opens it right up. (Files have to be stored as references for this scheme to work.)

This is really cool and seems straightforward enough (I'm very comfortable with portals and related tables), but I'm drawing a blank on what GetAsText (FileContainer) has to do with this.


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
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
challengeday earned 2000 total points
ID: 34956772
Hi rvfowler,

The GetAsText ( FileContainer ) simply gives you a field that shows the filepath, nothing else. I'll throw together a fast example for you.

0
 
LVL 2

Author Comment

by:rvfowler2
ID: 34960567
Oh, I feel dumb.  You meant that (FileContainer) was simply the name of the file container field, correct?
0
 
LVL 2

Author Closing Comment

by:rvfowler2
ID: 34963969
ChallengeDay, the sample db you sent me is brilliant.  Can you post it in this question?  Though I may have 2-5 tabs and a web view or container field on each tab for the 2-5 most common tenant documents, your document table and portal allows for a large # of misc documents to be stored as a reference in FM.  I could even do both, listing my main 2-5 documents in the doc table/portal as well, since I could then bring this table into layouts other than the main Tenant one.  You should make an article out of this.
0
 
LVL 4

Expert Comment

by:challengeday
ID: 35019804
Hi rvfowler,

Sorry, I was out of town on a family issue that took all of my attention.

I'm glad you liked the sample db. I'm uploading it here.

Yes, I'd like to write an article and will when I can find the time. Thanks!

 IncomeExpenseExample.fp7

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

649 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