Jump to content

This topic is 8060 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

A find on my custom web solution is initiated, the resulting html page shows the resulting FM record. The record is shown on my web page with CDML. The web page also displays the contents of a portal from the FM record in a table.

[FMP-Portal:Tasks]

<tr height="15"><td class="text" align=LEFT valign=MIDDLE width="106" height="15"><span class="text">[FMP-field:Tasks::T]</span></td>

<td class="text" align=LEFT valign=MIDDLE width="68" height="15"><div align="left">

<span class="text">[FMP-field:Tasks::S]</span></div></td>

<td class="text" align=LEFT valign=MIDDLE width="65" height="15"><div align="left">

</tr>

[/FMP-Portal]

Here is my question...the table showing the portal info shows it in the order it was created in Filemaker. now of course in FileMaker I can sort the portal by a given field, but is there a way to have the results in my table sort by a particular field?

LR

Posted

A couple of ways exist.

1. Create another relationship with the sort on the required field and place a Portal for this relationship on another Layout. Use this Layout and Portal for that CDML page.

2. Use an InlineAction with "-sortfield" instead of the Portal.

Hope this helps.

Garry

This topic is 8060 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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