Angus Murray Posted August 11, 2014 Posted August 11, 2014 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.
eos Posted August 11, 2014 Posted August 11, 2014 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.
Recommended Posts
This topic is 3756 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now