function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Arun KArun K 

I want to remove records from sobject using enhancedlist

  • I want to remove records from sobject using enhancedlist. iam looking for that functionality.

 

 

  • Anyone who can help in this regard would be great
eclfeclf

Do you want to be able to select multiple records from a list view and mass delete them? Is that it?

Arun KArun K
Yes exactly.. -- With regards, K.Arun
Arun KArun K

Yes exactly,

 

 

i want to select multiple records and remove those records from one object and add them in other object using enhancedlist..

 

 

 

eclfeclf

So you don't really want to delete them; you want to transfer them? From on object to another... 

There isn't a std way to do this (I believe so, I could be wrong...). 

I guess you would need to create a button with a VF page and a controller to do the job. By code you're able to get the selected objects from the list, using a StandardSetController. Then you can add them (the selected records) to the object#2, remove them from object#1 and them and update both object lists. 

 

I hope I was helpful.

 

 

SFFSFF