Currently I got a requirement related to the D365 Portal and cannot work it out. In portal page, we have a lookup field Work Order and there are three views associated with it. When we click the magnifier and open the modal, we can see there are three options for the view in the dropdown box. When we clicking on a non-default one, the records list will be filtered and returned with the new view. How could I program it to automatically switch the view based on the value of another field called type? Thank you!