Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4863 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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).

Posted

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! :)

Posted

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

This topic is 4863 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.