Hii All ! I have screen for setting where in drop down have list of site_id and in form have allow access from date and allow access to date when admin select dates for particular site I'd it should be save and in other module when user try to login through site I'd it should first check user current date and admin assigned date is valid or not then only he will get acces. Or should check that site I'd is active or deactivate . If deactivate shows error page
Hello Skale,
Once admin select site Id, date from, and date to then click save you have to create a new record into relevant table using these data.
When user login and select site Id you will call public action from module which contains this data entity that will select from table using site Id then check if it is active or not or check from and to date.
I recommend for you to watch this course first to understand how you can implement that:
https://www.outsystems.com/training/lesson/1910/database-entities/
You need to create a database relation according to your use case.
Then you can create a form to accept the values like Site_Id and the dates. You can save this data using CRUD operation
After saving the data, you need to validate the data according to the user like if the date is valid or not or if the Site_Id is active or inactive.
You can refer the below link to understand how to create entity relationship:
https://success.outsystems.com/Documentation/11/Developing_an_Application/Use_Data/Data_Modeling/Entity_Relationships