Marcelo, all the topics your are asking for are covered, at least in spanish, here: ?es,,MNU;E;19;2;MNU;. More under. GeneXus Trial: Tutorial The USER will use the GeneXus programs and documentation exclusively for personal INSTALLATION AND AUTHORIZATION. Primeros Pasos: Tutorial paso a paso. El objetivo de este tutorial es brindarle una primera experiencia práctica con GeneXus a medida.
|Published (Last):||20 June 2009|
|PDF File Size:||19.25 Mb|
|ePub File Size:||14.48 Mb|
|Price:||Free* [*Free Regsitration Required]|
There is a common scenario in which the user wants to search information but doesn’t know in which part of the application it can be found. For this scenario “Full Text Search” filters are a good choice. With this feature, you can offer the user a more fluid and appealing interface to make search queries.
By default, full text search results show as a description of the record the business components’ preview. In most cases, showing the business component preview is not a good idea. In order to improve this, we are going to use other properties that K2BTools has that allow the developer to improve the UI of the search results. For this purpose we are going to use formula attributes. K2BTools allows placing a fixed image in transactions that don’t have an image attribute.
In order to do that follow this steps:. Now the only thing that is left is to add formula attributes in order to improve the visualization of the searched records. For more information of using full text search filters follow this link. Warning, this page is marked to be deleted! K2BTools Tutorial – Exercise 6. Full Text Search Filter. This documentation is valid for: In this exercise you will learn how to configure full text search filters.
GeneXus X tutorials – Stack Overflow
Add the Customer transaction to the Full Text Search index Open the Customers transaction and verify that the “BusinessComponent” property is set to true full text search can only be used in transactions that are business components.
Go to the EntityServices instance associated with the “Customer” transaction. Go to the “Transaction” node, set the “Searchable” property to “True”. Searchable property Apply the instance and run the application. Run the gensxus All” action. Reindex all action Open the WorkWith for any transaction.
See how a search field and button appear in the application. Use the search field to search the name of a customer and press search.
Improving the customers view in full text search results Ttuorial default, full text search results show as a description of the record the business components’ preview. Import the following xpz GX15 in the Knowledge Base. If you are using GX Ev3 import this file. Add the “CustomerSearchResult” attribute to the Customer transaction.
Go to teh “Transaction” node. Search for a customer using the full text search filter and see that the search result visualization has improved. Tutoroal more transactions to the full text search index Go to the “Country” and “City” transactions and set them as Business Components. Apply the pattern instances and run the application.
K2BTools Tutorial – Exercise 6.6: Full Text Search Filter
You will see all products releated to Apple, and the invoices that have a product related to Apple in its detail. Use the product and invoice tabs that appear at the top of the screen.
Search for “Montevideo” You will see the city “Montevideo” and all Customers that live in that city. Improving the full text search As you can see the UI can be improved. Cities are not showing any image. Invoices are not showing any image. All results that are not custoemrs are showing the BC preview. Adding images to the City and Invoice results K2BTools allows placing a fixed image in transactions that don’t have an image attribute.
In order to do that follow this steps: Go to the EntityServices instance associated with the “City” transaction. Go to the root node. Set EntityImage property to Images Apply the instances.
Run the application and see how now the images appears to “City” and “Invoice” transactions. Adding formulas in order to improve search results.
Go to City Transaction and add a new attribute with the following properties Name: Go to the EntityServices instance associated with the “Country” transaction. In transaction node set Show BC Preview as result description to “false”.
Go to the EntityServices instance associated with the “Product” transaction. Go to the EntityServices instance associated with the “Invoice” transaction.
WorkWithPlus :: Functionalities
Run the application and use the full text search feature to see the improved user interface. You will get all customers whose mail is located in the “k2b” domain. Was gneexus page helpful? Your feedback about this content is important.
Let us know what you think. Thank you for your feedback! Customer Full Text Search configuration. Entity Image in K2BTools.