Hello. In this video, I will show you how you can create multiple instance of the view object. And each instance is pointing to a different view criteria. For example, if you have a movie view with query, select star from MVP so this view object will return all employees but for example, if you have in your page you need to display a minimum in Louis that's fine you can use the same view object the main view object, but at the same time is the other page or other tab you need to display only movie for department 10 or in specific department or you want to play or a movie was certainly greater than 20,000 or less than 2000. So If you need to make some filter hoses view object and you need to display it in some parts in your ADF application, so, what actually you can do, you need to create a dedicated view object for each of this and change the word clothes right here where salary is less than 20,000 nearly all the department equal to attain you can create depending on how many for example, if you need four type of employees, you already have the first one which is all in between the main one.
So, you can create our three view object and change our clothes, no need to do this. So I will show you how you can create an instance and each instance point to a specific view criteria. So if you have a main view object, which will return all data and you want to display bar of this data in some part of you Your ADF application some pages new rediff application, no need to create a dedicated view object and to change the word close, you can create a view criteria as you want. So, here for example, I will say this is MVP for depth 10 view criteria and I will add view criteria here and I will see department ID equal to 10 we are department ID equal to 10. So, this view current area will filter the main view object by department equal 10. I will add another one view criteria who is salary greater than or equal to 20,000 can name this few criteria salary greater than 20,000 we can add another one with salary this sense so it wasn't 27.
So, now, we created different multiple view criteria over this mean in believe you. So, we have actually only one view, but this view has different view criteria which will filter the main data that was built by specific condition. So, now let us need to display this data in our pitch in different depths. But to do this here We have a data model in the application module. So, I will go to the application module current application module has only in believe you one which will return all I need multiple instance of the view and each instance point to their view correct area. So, here is the application module I will shuffle the employee view again here and I will call this is a view initial new new view in essence, this is which I just started it now, but I will name it in MVP for the 10 view, one Okay.
Here MVP for 10 view one. I will shorten the same view object and application module So it gives me now in by the way for the main one here, I don't need it here because it is confusing. So, I have now, this is the review one which will return all this inventory for divorcement 10 is a new in this sense I will call it MVP salary returns then tap OK I will add another one here I will call it b we salary less than 20,000 Okay, so now we have multiple instance of the same MVP in the application module. So, here if you will refresh this you will find here multiple innocent but all of this In essence is boiling to one view object which is in between each view. But currently, all this in essence are the same order will return all employees. So, we need to make this instance bind to a specific view criteria.
So, how you can do this for example, the first instance with which is the employees for department 10 v one, I need this innocence to bind to the view criteria in Louis for the 10 view criteria. To do this you can select this view instance and the brief edit it you will find here list of the view criteria you can select whatever review corrector you want and you can just shorten it. So, now, this innocence will use this few criteria to filter the data We can do the same for the greeters then to select greeters and view criteria and this in 2000 to be lists. So, now we have only one view object, but this view object I can create multiple instance says for this view object and each instance can go into specific view criteria and each of you criteria has its own condition to filters at now, in the beach, we can straightaway no drag this in between for the Olympian we as a table okay.
Okay, so this is the first tutorial Second one is in between default apartment 10 so in blue for the bottom and 10 Okay, sir agree Tarzan. Okay. And last one is would be salary which is listen to antisocial people like this. Okay so now we have four tabs on our page. Each tab we track an instance of the MVP view. Three of this, this in essence are going to the specific view criteria.
So this now runs the beach C sorted okay. So, the first step which is all employees you can find here all employees okay. So, second step is employees for department 10 when you will find in blue for department 10 here in blue sir is greater than 20,000 nothing in between sir is listen to it, you will find all in blue he will resent 20,000 here. So, as you can see now, we create multiple instance of the same view object and each instance point to a specific view criteria and each view current area has its own condition to filter that data, so, no need to create a dedicated view object and the change will close whenever you want to This view object to be used somewhere in the your page you need for this simply create a viewport area which was its own condition. And in the application module, you can add one more instance of this view object and may exist in this endpoint to specific a few criteria and use this in a sense any anywhere in the page.
Now if you use this instance anywhere in the beach, your ETF application integration unit if application, it will return all his employees for the department and so this is one of the good feature you can you should know about EDF. So nice to meet you. I will jump into another feature to see you and consider you