Examples of How You Can Use Custom Object Search and Select Dialog Boxes

Use a search and select dialog box that you configured for a custom object to let your users associate the custom object with any other object. Here are some examples.

Example 1

Maybe your users want to assign a solution to a service request. In which case, they will assign a solution to a service request using a dynamic choice list field.

  1. Create a custom object for the Solution object.

    1. Create the set of default application pages for the object.

    2. Configure a search and select dialog box for the Solution object.

  2. Create a custom object for the Service Request object.

    1. Create a dynamic choice list field, Solution, that's populated with records from the Solution object.

      This field will automatically use the search and select dialog box that you configured in step 1.a.

      When you create the dynamic choice list field, Application Composer creates a one-to-many relationship between the Solution and Service Request objects. In other words, one solution can be associated with many service requests, but a service request can have only one solution.

    2. Add the new Solution field to the Create Service Request and Edit Service Request pages.

At runtime, your users will use the Solution's search and select dialog box, available from the Solution dynamic choice list field, to search for and select a solution to assign to a service request record.

Tip: Optionally, if you want users to view all service requests associated with a solution, you could add a Service Requests related object subtab to the Edit Solution page. However, to do this, you must create a search and select dialog box for the Service Request object.

Example 2

In this next example, you assign solution records to the company employee who authored the solutions. To do this, you would use the same search and select dialog box that you configured for the Solution object on a subtab.

  1. Create a one-to-many relationship between the Resource and Solution objects, using the Relationships page, available under the Common Setup pane in Application Composer.

    In this case, one resource can author multiple solutions, but a solution can have only one author.

  2. On the Edit Resource page, create a related object subtab called Solutions that's populated with records from the Solution object.

At runtime, your users can search for and select one or more solutions to assign to a resource. They can also create a new solution record to assign to the resource, right from the search and select: Solutions dialog box.