About This File
Make new row of portal into a button to add new portal row. This will only show a button in the last portal row to add new portal row.
Button Object Formatting
IsEmpty ( Glb_PortalTab__gContactID::SerialNo ) [Enable the button object]
not IsEmpty ( Glb_PortalTab__gContactID::SerialNo ) [Disable the button object]
Here "Glb_PortalTab__gContactID" is the TOG of portal table and the field - SerialNo must be the primary/non empty serial# of Portal table.
Attached a script to all the portal fields and pass 2 parameters. 1st parameter should be the object name of the portal field and 2nd parameter should be the SerialNo from portal TOG.
script will be like this - Portal Button ( Object Name, SerialNo)