August 1, 201114 yr Anyone know a solid, easy way to "select" portal rows with a check box? Then run a deletion script to delete the selected portal rows? Giving User an easy way to delete selected portal records is just one of the task I would use with this technique for. In future, the possibilities are endless, move records, mark as "complete", print, etc... I could... set up a relationship that holds only "selected" records, access it via script and loop through records and perform task. Anyone think of a way to do this in a better way? Maybe no additional relationship? Or some tricks to use in the script to make this run smoothly? THANK YOU FOR YOUR HELP! A super simple model file is attached in attempts to help illustrate my question. My method feels sloppy, but it does work I guess. portal_delete_test.fp7.zip
August 2, 201114 yr 1. You should not be marking records as such, because then one user marks (or unmarks) a record for all users. Use a global field or variable to hold the IDs of the selected records. 2. Instead of a dedicated relationship, you could find the selected records (you'll need to create a separate request for each record in the list).
August 2, 201114 yr Author 1. Use a global field or variable to hold the IDs of the selected records. 2. find the selected records (you'll need to create a separate request for each record in the list). Two great points! If you may, elaborate on how to actually do this with a little detail, that would be greatly appreciated. Thank you! :)
August 2, 201114 yr 1. See: http://fmforums.com/forum/topic/79122-looping-variables-stuck/page__p__369089#entry369089 2. See: http://fmforums.com/forum/topic/47018-search-with-or-instead-of-and-with-a-repeating-global-field/page__p__219457#entry219457
Create an account or sign in to comment