0

Happy Friday!

Looking to see if the following is possible using only Javascript. I have two Custom Objects - Obj1 & Obj2 (both have child relationship to Account).

Using a List View Button on Obj1, create new records in Obj2 (based on selected records in List View). Ideally this would create unique records by Account. For example, if 5 records were selected associated to 3 Accounts in total, only 3 records would be created in Obj2.

I have looked for posts on similar inquiries but haven't found anything matching this use case with a confirmed answer if it's even possible or not.

Any help/guidance/programming help is greatly appreciated.

0

You can override the list view button with the vf page and there you can have your logic based on selected records. Here is the link to another question where you would get help how to create such list view button :

Overriding new button in List view to point to custom apex page

| improve this answer | |
  • Thanks for the response - Wouldn't this then require Apex coding from the Visualforce page? I'm looking to see if this is possible using only Javascript. – sqlbane Apr 3 at 18:01
  • Yes. It will require apex coding – Kiran Machhewar Apr 3 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.