check the Creating Portlets and Modules Guide (CreatePM.pdf). The answer of your questions depending on the type of the portlet you want to configure.
Your second question: The project is stored somewhere in the database depending on the field. The table for request header fields: kcrt_req_header_details The table for Request Type fields: kcrt_request_details There are additional tables depending on the selected field groups. Check the Technical Reference Manual (TRM.pdf on ppm 7.1 and earlier or data_model_guide.pdf on ppm 7.5) for details
Hi Lukas, I am not able to send snaps. I am not sure whether you have created new Data Source Under Workbench -> Dashboard -> Data Sources.
If you create one there will be a tab called "Filter Fields", In this you can create a new Filter, It will ask for name and a validation. If you want to give the Project name as input, Create a new validation and assign it to this filter. I hope you know how to create validations.
Hello Portlet preferences are getting stored in the table dsh_portlet_pref table and it refers to the table dsh_preferences. but if want to directly inserting records into these tables, yes it is possible but, it is not advisabe to that, as the primary keys are generated dynamcally using hibernate technology, hence it may lead you a mess in future.