Hi Umme sadaf,
Option 1: Change the homepage to a non-data view page (like a dashboard or navigation page).
Option 2: Use a microflow as the homepage. In the microflow, create or retrieve the LoginContext object, then open the login Web page with that object.
Go to Navigation → Default Home Page → Select Microflow.
In the microflow, add an activity: Create Object → LoginContext.
Then use Show Page → login_Web with that object
For Using Nanoflow:
Option 1: Assign a nanoflow that retrieves the required object.
Create a nanoflow that returns the entity you want (e.g., Login Context).
Set that nanoflow as the data source of the data view.
Option 2: Change the data source to Context or Database, depending on your use case.
If the page is opened with an object, use Context.
If you want to fetch from DB, use Database.
Hey Umme,
In Mendix the Homepage can't require an object, should be a navigation layout page or a page with a data source that doesn't need an object.
Either you change the homepage for a page that doesn't require the object or you use a microflow as the homepage, this microflow can create the required object and pass it to the page you are trying to use.
Let me know if this helps or share some screen shots if you are still having issues.