August 11, 201411 yr I have just downloaded a trial version of FMP13 having been away from the forum for a while. I want to create a 'links' style segment on my client contactsl homepage where I can quickly access web pages / information that are relevant to the client in question but not on the client's homepage. Whilst I can obviously use the URL script step to access the client's homepage, I would like to be able to have a portal with several different url's that can be added to without the need to script each web page individually - a kind of dynamic button that would link to the web by clicking on the URL listed in the portal / URL table. I wondered if this is do able - I am guessing it is but wonder whether it may be very time consuming to achieve. Thanks in advance for any suggestions.
August 11, 201411 yr I wondered if this is do able - I am guessing it is but wonder whether it may be very time consuming to achieve. Not really. Create a table for your URLs (a child table to Client) and e.g. use a portal to add/manage/display the related records. Put a button in to the portal row; now a script that is launched from that button can read the URL of the respective record/row as PortalTO::URL. If you use a portal also for creation, be sure to trap for the spare portal row (e.g. by hiding the button with IsEmpty ( PortalTO::primaryID ), or querying that predicate in the script.
Create an account or sign in to comment