Somebody can tell me how can I do to add defalut value in a query or lookup
Thanks a lot,
You can define "Default" for attributes properties.
If you add lookup type attribute in object, you will be able to set default value in "Default" input field.
For example, I added "Project browse" lookup as lookup1 attribute in object as below.
I could define default value of project in "Default" input field.
For Query/Portlets though, you can set the default value for a filter field in the Portlet definition.
Go to the portlet definition / List Filter Section / Fields then against the relevant lookup filter field you have a "Filter Default" option.
For a dynamic query based lookup, check if this discussion helps you to know how you can set a default value for the lookup:
Retrieving data ...