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
SwayampravaSwayamprava 

ASAP: How a button can look up to different object on Visual force.

My Issue:

    There is a Custom Object named "Decision__c". On the Decision record there should a inline visula force page. On this page a button should be there named "Add New Members". When this button is clicked, it should open users list and i can select one user and after selecting this this should be added to the Visual force page..Like this One by one users can be added on the Related list.

 

Navatar_DbSupNavatar_DbSup

Hi,

      You can create a inline visual force page through page layout setttings.Visual force page will see in the pagelayout when you write the code like this

<apex:page standardcontroller="Decision__c" extensions="controllerUsrlist"></apex:page>

After creating you have to create a custom button "Add New Members". on the click of button you can write the business logic.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.