202
Views
3
Comments
List and ListItem
Application Type
Reactive

In my list I have 2 ListItems with project name and description next to it is another list with 2 ListItems with task name and description when I create a task I don't want the project to be displayed but remain empty and only the task page is displayed how can I implement this most easily 

2023-07-28 17-00-32
Marco Arede
 
MVP

Hi Alexander, 

If I understand you correctly, you want to add a task without a project, right? 

Then you'll need to model your entities relationships, to adjust the datamodel to that purpose. You could allow creating a task without a project ID, by setting the attribute Project ID to not mandatory, that is perhaps the simple way, but then try also to guarantee the data consistency in all other cases (when a task needs to have a project) for this perhaps is wise to build extra logic.

Cheers!

2024-09-12 02-43-38
Deepsagar Dubey

Hello Alexander.

Can you elaborate it more because this is completely depend on your database structure or business logic, 

Thanks
Deep   

UserImage.jpg
Alexander Eder

this is the database 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.