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.

CDML Portal Update Problem

Featured Replies

I have an html page of fields and their values and also a portal. The portal is displaying its portals properly, but after an update has been made, the portal will not update correctly. Instead of updating the record within the portal with the changes, it goes and create a completely new record in the portal with the changes.

If anybody has any clues/tips/hints, it would be greatly appreciated.

Thank you.

  • Author

Well here's the code...thx

<table width=660 border=0>

<tr bgcolor=dddddd>

<td>

<table width="100%"cellspacing=1 border=0>

<tr><td><b>Requestor:</b></td><td colspan=3 bgcolor=white>First: <INPUT TYPE="text" SIZE="10" NAME="requestors_first" VALUE="[FMP-field: requestors_first]"></td>

<td colspan=4 bgcolor=white>Last: <INPUT TYPE="text" SIZE="10" NAME="requestors_last" VALUE="[FMP-field: requestors_last]"></td></tr>

<tr><td><b>Rationale:</b></td><td colspan=7 bgcolor=white><TEXTAREA name="rationale" COLS="40" ROWS="3">[FMP-field: rationale]</TEXTAREA></td></tr>

<tr><td><b>Comments:</b></td><td colspan=7 bgcolor=white><TEXTAREA name="comments" COLS="40" ROWS="3">[FMP-field: comments]</TEXTAREA></td></tr>

<tr><td height=40 colspan=8 valign=bottom><b>Create Accounts for:</b></td></tr>

<tr bgcolor=eeeeee>

<td> </td>

<td><b>First Name</b></td>

<td><b>Last Name</b></td>

<td><b>Payroll</b></td>

<td><b>Org Code</b></td>

<td><b>Folder Name</b></td>

<td><b>Exist/New</b></td>

<td><b>Access Type</b></td>

</tr>

[FMP-Portal: arf_link]

<tr bgcolor=white>

<td>[FMP-CurrentPortalRowNumber]</td>

<td><INPUT TYPE="text" NAME="arf_link::first_name" SIZE="10" VALUE="[FMP-Field: arf_link::first_name]"></td>

<td><INPUT TYPE="text" NAME="arf_link::last_name" SIZE="10" VALUE="[FMP-Field: arf_link::last_name]"></td>

<td><INPUT TYPE="text" NAME="arf_link: tongue.gif" border="0 ayroll" SIZE="8" VALUE="[FMP-Field: arf_link: tongue.gif" border="0 ayroll]"></td>

<td><INPUT TYPE="text" NAME="arf_link: blush.gif" border="0 rg_code" SIZE="6" VALUE="[FMP-Field: arf_link: blush.gif" border="0 rg_code]"></td>

<td><INPUT TYPE="text" NAME="arf_link::folder_name" SIZE="14" VALUE="[FMP-Field: arf_link::folder_name]"></td>

<td><select name="arf_link::exist_new">[FMP-Option: arf_link::exist_new]</select></td>

<td><select name="arf_link::access_type">[FMP-Option: arf_link::access_type]</select></td>

</tr>

[/FMP-Portal]

</table>

</td>

</tr>

</table>

  • Author

Here's more of a complete version...

code:


<FORM ACTION="FMPro" METHOD="post">

<INPUT TYPE="hidden" NAME="-DB" VALUE="account_req_forms.fp5">

<INPUT TYPE="hidden" NAME="-recid" VALUE="[FMP-currentrecid]">

<INPUT TYPE="hidden" NAME="-lay" VALUE="Admin">

<INPUT TYPE="hidden" NAME="-format" VALUE="edit_reply.html">

<table border=0 bgcolor=dddddd cellspacing=1>

<tr bgcolor=eeeeee><td><b>ARF #:</b></td><td>[FMP-field: arf]</td></tr>

<tr bgcolor=eeeeee><td><b>Request Date:</b></td><td>[FMP-field: request_date]</td></tr>

<tr bgcolor=eeeeee><td><b>Status:</b></td><td>[FMP-field: status]</td></tr>

</table>

<table width=660 border=0>

<tr bgcolor=dddddd>

<td>

<table width="100%"cellspacing=1 border=0>

<tr><td><b>Requestor:</b></td><td colspan=3 bgcolor=white>First: <INPUT TYPE="text" SIZE="10" NAME="requestors_first" VALUE="[FMP-field: requestors_first]"></td>

<td colspan=4 bgcolor=white>Last: <INPUT TYPE="text" SIZE="10" NAME="requestors_last" VALUE="[FMP-field: requestors_last]"></td></tr>

<tr><td><b>Rationale:</b></td><td colspan=7 bgcolor=white><TEXTAREA name="rationale" COLS="40" ROWS="3">[FMP-field: rationale]</TEXTAREA></td></tr>

<tr><td><b>Comments:</b></td><td colspan=7 bgcolor=white><TEXTAREA name="comments" COLS="40" ROWS="3">[FMP-field: comments]</TEXTAREA></td></tr>

<tr><td height=40 colspan=8 valign=bottom><b>Create Accounts for:</b></td></tr>

<tr bgcolor=eeeeee>

<td> </td>

<td><b>First Name</b></td>

<td><b>Last Name</b></td>

<td><b>Payroll</b></td>

<td><b>Org Code</b></td>

<td><b>Folder Name</b></td>

<td><b>Exist/New</b></td>

<td><b>Access Type</b></td>

</tr>

[FMP-Portal: arf_link]

<tr bgcolor=white>

<td>[FMP-CurrentPortalRowNumber]</td>

<td><INPUT TYPE="text" NAME="arf_link::first_name" SIZE="10" VALUE="[FMP-Field: arf_link::first_name]"></td>

<td><INPUT TYPE="text" NAME="arf_link::last_name" SIZE="10" VALUE="[FMP-Field: arf_link::last_name]"></td>

<td><INPUT TYPE="text" NAME="arf_link:
tongue.gif" border="0
ayroll" SIZE="8" VALUE="[FMP-Field: arf_link:
tongue.gif" border="0
ayroll]"></td>

<td><INPUT TYPE="text" NAME="arf_link:
blush.gif" border="0
rg_code" SIZE="6" VALUE="[FMP-Field: arf_link:
blush.gif" border="0
rg_code]"></td>

<td><INPUT TYPE="text" NAME="arf_link::folder_name" SIZE="14" VALUE="[FMP-Field: arf_link::folder_name]"></td>

<td><select name="arf_link::exist_new">[FMP-Option: arf_link::exist_new]</select></td>

<td><select name="arf_link::access_type">[FMP-Option: arf_link::access_type]</select></td>

</tr>

[/FMP-Portal]

</table>

</td>

</tr>

</table>

<INPUT TYPE="submit" NAME="-edit" VALUE="Submit Changes">

</FORM>

</BODY>

</HTML>

[ November 19, 2001: Message edited by: Vaughan ]

  • Author

I am using FM Unlimited 5.5

Please use [ code ] [ /code ] and insert code between that flags. Remove the spaces in above.

I took the liberty of editing the post and adding the CODE tags as Anatoli suggested. One of the privileges of being moderator. ;-)

In FMP 5.0 Unlimited, you need to specify the portal row you are updating.... arf_link::last_name.0 is a new record, and arf_link::last_name.1 is portal row number 1. You can use [FMP-CurrentPortalRowNumber] to do this for you. Try using

Name="arf_link::last_name[FMP-CurrentPortalRowNumber"

Hope this helps!

smile.gif" border="0

BTW - how is FMP 5.5 Unlimited to work with - Any surprises?!?

If you post the code, someone can find something on it.

  • Author

Thanks Meltdown for the advice. It worked. As for any surprises? Nope just this one!

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.