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.

Portal Unique IDs

Featured Replies

  • Newbies

I'm having trouble with a Contact list within a portal for our Suppliers (ie having multiple contact for each supplier complete with name, nbrs, email address etc). I have an ID field that is set to create a serial number and increment by one for each entry. The relationship is set between the portal ID and portal ID on the parent Supplier entry.

My problem is that each entry within the portal has the same ID number (although if I enter ten entries into one supplier, the next portal entry in another supplier has a serial number eleven higher than the previous)>

Not sure if I have explained this well and I'm sure it's simple, but I am complete numpty. Please feel free to ask Qs.

Thanks

Barney

Make sure that the ID field on the portal is from the same table occurrence as the one used for the Portal relationship.

  • Author
  • Newbies

Thanks for your swift reply. There is only one occurence of the table, which bears the relationship. The ID that I use to link the relationship is a "Contact Line Item ID" on each table (Supplier and Supplier Contact Line Item), whose sole role was to link the two together.

Maybe I'm missing something. Should I perhaps have a linking table too (ie on table to hold the data, and another to display it? It seems over-the-top, but I am a novice.

You have something close to the following correct?

Table Supplier

pk_SupplierID (auto-enter serial number)

Table SupplierContactLine

pk_SupplierContactLineID (auto-enter serial number)

fk _SupplierID

relationship

pk_SupplierID --> fk _SupplierID

I'm not crazy about stepping in when John obviously has nailed the proper configuration. But it's a seriously potential error which most new FMers fall into.

The relationship is set between the portal ID and [color:green]portal ID on the parent Supplier entry.

You should not have the portalID in the parent at all but rather the other way around!

  • Author
  • Newbies

I have seen the light. Thanks to everyone for their help. Schoolboy error! :

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.