I was loading the script for the action OnLayoutLoad, but I needed to run it on OnRecordLoad so it also triggered after a search was performed.
Also to allow deletion of a record in the portal you have to right click on a portal, go to Portal Setup..., and choose Allow Deletion of Portal Records.
No comments:
Post a Comment