Skip 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.

Portals are not displayed on the web

Featured Replies

Hi,

I am trying to put 2 portals on the web page using CDML.

At first, both of them were not displayed when I viewed the page in IE. The page was designed so that portal records will appear in a table.

Then I removed the table and one of the portals appeared on the page.

I did the same with another one - it didn't work.

I double-checked the field names and relationships - still no results.

I am completely lost.

Does anybody know what could be the problem??

Thank you

Yul

Maybe you can show us some of the html/cdml code of your page.

All the best.

Garry

I was having exactly the same problem just yesterday! I don't know why, however. But I eventually deleted my entire table and started over by simpling placing the portal on the web page, but not in a table (just to see if I could get it to show up) and that worked. Then I started to build the table around that, adding the basic <table> structure then more and more rows. If something didn't work I would undo it and try something different. I'm at home right now and don't have my code with me :-( but when I get to work I will post what I came up with.

Hi a couple of brief observations:

- whenever there's a related file involved you must refer to the layout in the url/form/inline action that calls the page or it doesn't work.

- the portal and its fields has to be on the layout you're calling

These have always worked for me:

portal as part of a search return list:

[FMP-RECORD]

[FMP-FIELD: Fieldname]

[FMP-PORTAL: relationship_name]

<TABLE BORDER=1>

<TR>

<TD>

<P>[FMP-FIELD: relationship_name::fieldname1]</P>

</TD>

<TD>

<P>[FMP-FIELD: relationship_name::fieldname2]</P>

</TD>

</TR>

</TABLE>

[/FMP-PORTAL]

[/FMP-RECORD]

....or on a record detail page

[FMP-PORTAL: relationship_name]

<TABLE BORDER=1>

<TR>

<TD>

<P>[FMP-FIELD: relationship_name::fieldname1]</P>

</TD>

<TD>

<P>[FMP-FIELD: relationship_name::fieldname2]</P>

</TD>

</TR>

</TABLE>

[/FMP-PORTAL]

.the "portal" tags need to be outside the table in both cases.

regards, jeff

Jeff Spall said:

.the "portal" tags need to be outside the table in both cases.

Here's my code. Note that the "portal" tags are inside the table.

<table border=0 cellpadding=0 cellspacing=10>

[FMP-Portal: addropFiles]

<tr>

<td valign=top rowspan=3 colspan=1>

<font face="Courier" size=1 color="#99CCCC">

[ [FMP-CurrentPortalRowNumber] ]

</font>

</td>

<td valign=bottom colspan=2>

<font face="Courier" size=1>

<b>[FMP-Field: addropFiles::UPLOAD_NAME]</b>

</font>

</td>

</tr>

<tr>

<td valign=bottom colspan=2>

<font face="Courier" size=1>

<b>Client Name:</b> [FMP-Field: addropFiles::CLIENT_NAME]

</font>

</td>

</tr>

<tr>

<td valign=bottom>

<font face="Courier" size=1>

<b>Uploaded:</b> [FMP-Field: addropFiles::UPLOAD_DATE]

</font>

</td>

<td valign=bottom>

<font face="Courier" size=1>

<b>Sent to:</b> [FMP-Field: addropFiles::PICKUP_SITE_ID]

</font>

</td>

</tr>

[/FMP-Portal]

</table>

Hi, I think it should be:

[FMP-PORTAL: addropFiles]

<TABLE BORDER=0 CELLSPACING=10 CELLPADDING=0>

<TR>

<TD VALIGN=top ROWSPAN=3>

<P><FONT SIZE="-2" FACE="Courier" COLOR="#99CCCC">[FMP-CurrentPortalRowNumber]

</FONT></P>

</TD>

<TD VALIGN=bottom COLSPAN=2>

<P><FONT SIZE="-2" FACE="Courier"><B>[FMP-FIELD: addropFiles::UPLOAD_NAME]</B>

</FONT></P>

</TD>

</TR>

<TR><TD VALIGN=bottom COLSPAN=2>

<P><FONT SIZE="-2" FACE="Courier"><B>Client Name:</B>

[FMP-FIELD: addropFiles::CLIENT_NAME] </FONT></P>

</TD>

</TR>

<TR><TD VALIGN=bottom>

<P><FONT SIZE="-2" FACE="Courier"><B>Uploaded:</B>

[FMP-FIELD: addropFiles::UPLOAD_DATE] </FONT></P>

</TD>

<TD VALIGN=bottom>

<P><FONT SIZE="-2" FACE="Courier"><B>Sent to:</B>

[FMP-FIELD: addropFiles::PICKUP_SITE_ID] </FONT></P>

</TD>

</TR>

</TABLE>

[/FMP-PORTAL]

...just moving the Portal tags and taking out an extra bracket from the current row tag. This lets it draw extra table rows for each entry.

regards, jeff

My point was that my code works with the portal tags inside the table tag, and the extra square brackets were there for design, not function, so the portal row numbers would be displayed like this [ 1 ]. So my code doesn't need any changing whatsoever smile.gif

I posted it as an example of code that does work for someone who was having trouble getting theirs to do the same.

  • Author

Thank you all for your help. I could figure out how to do one of the portals, but still have no luck with the second one even though I am using the same structure...

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.