Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Displaying Portals with multiple table data

Featured Replies

I understand that to display a portal, I use the CDML inline approach of querying the portal table directly. But in my portal, I have fields from tables two or more deep, as we can now do in v7.

Is there a way to get these values via some '::' style coding, or do I have to create a calculation field in the table of the portal, as we used to do pre7.

If that is the way, it is a bit of a nuisance, as using the Data Separation Model, my main table relationships are in the logic file - I would need to duplicate them in the data file to store values in calculation fields.

(I am seriously questioning the value of the Data Separation Model)

Michael

I think PHP and XSLT use the same XML result tree, don't they? Then it is possible.

Here is how a Portal is presented using the fmresultset grammar:


   

      

         Home

      

      

         1/1/2001

      

   

   

      

         Restoration

      

      

         12/15/2001

      

   

This is an example from the "fmsa7_custom_web_guide.pdf"

If you are using the FX class you can display the whole result of a query with:

echo print_r($myresult)

This may show you where and how the Portal data is presented.

All the best.

Garry

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.