Re: Email Campaign managment and Portals
- From: fritzo2ster@xxxxxxxxx
- Date: 25 Dec 2005 13:43:13 -0800
Did you remember to drag a field into the portal area of the layout,
and specifying its definition? (Are the relationships set right?)
otherwise...(quoting)
you want to duplicate the parent record and also all related
records (all the portal's content).
right
One way to do that is to export the related records, create your new
record
in the parent file, set a global to the ID of that new record, and then
import the related records back into the child file and set their
parent_ID
to the value of the global.
In the parent file
- Go to related records (show only related)
- Perform sub-script (external) (Export script)
- duplicate record
- set field (global_ID, ID)
- Perform sub-script (external) (Import script)
- refresh window
In the child file
1. Export script
- Export Records (Restore, No dialog, "temp.fp5")
(You'll have to perform the export manually once, then open the script
as if
to edit it. As you click OK to close the edition window, a dialogue
will
come up asking whether you want to keep or replace the export order.
Choose
to replace).
2. Import script
- Import Records (Restore, No dialogue, "temp.fp5")
(Same as with the export. Do it manually once and then open the script
and
set it to use that import order)
- Replace (No dialog, parent_ID, constant relationship::global_ID)
A constant relationship is a usefull technique to pull data from other
files. You define a calculated field (=1) is each file, and use a
relationship between these fields to access globals in other files.
((c)Marc-André Paiement)
.
- References:
- Email Campaign managment and Portals
- From: gerry hoch
- Email Campaign managment and Portals
- Prev by Date: Re: Formating a number in a merged field text
- Next by Date: Re: Formating a number in a merged field text
- Previous by thread: Email Campaign managment and Portals
- Index(es):
Relevant Pages
|