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

how to find a specific portal row and delete it with scripting


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

Recommended Posts

Posted

i need to know if i can find a specific portal row and then delete it ,  only using a script. 

i have a field , in that field i have to put the item number of the portal and then a button to delete that item number from the portal . 

do i need to loop?

is that possible ?

thanks,

 

Posted

When you say "item number" do you mean the portal row number?

If so, you wouldn't need to loop, you'd just go straight to that row number.

If not, then yes, it's easy enough to loop, e.g.:

Go to object( "the name of your portal" )
Loop
  Go to portal row (next ; exit after last )
  Exit Loop If( item field = portal item field )
End Loop
If( item field = portal item field )
  Delete Portal Row
End If
  • Like 1
Posted

Hi Fileman922,

 

Just to eliminate the obvious and looking at this from an overall User-perspective ... you can place an X on the first row and attach simple button step Delete Portal Row.  You probably are aware of this; if so then Tom's suggestion is a good one but I thought I should mention it.  :-)

This topic is 4024 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.