Prompt - Grid Objects

Navigate to the Person’s default list and update a record. When you modify the information of the associated company appears an action in order to select the company to associate. The object that the action calls is the Prompt.

Prompt_img01

The object CompanyPrompt is created in the instance of WorkWithPlus within Company transaction. WorkWithPlus adds automatically the prompt rule to invoke that object in Person transaction (because the attribute CompanyId’s AutoPrompt property within Person transaction is set to "True").  

The Challenge

Modify the Company’s prompt object so that it displays just the following columns:

Prompt_img02

To customize the Company’s prompt object, open the WorkWithPlusCompany instance, go to the Prompt tab and hide the necessary columns:

Prompt_img06

It is suggested to use the prompts generated by WorkWithPlus instead of GeneXus´s prompt as they provide much flexibility. By default, they are generated, although we can uncheck the 'Generate Prompts' box when making the general configurations from the Design System Wizard.

Prompt_img05

If this box is checked, we will see the property to generate the GeneXus prompts with the 'No' value:

Prompt_img03

Comments & Tips:

  • The prompt is a Grid object so many of the features that we've studied can be also applied for prompts. 
  • You can use DVelop Combo instead of Prompts

Summary

Well done! You should now be able to:

  • Identify the Prompt object within an instance
  • Customize a Prompt object