Error Sbl-Uif-50132: Gotoview in IP16
Hello,
We have a requirement where based on some profile attributes, on clicking a particular screen in the application, we want to navigate to view 1 or view 2. Depending on the value of the profile attribute. Is there any option like dynamic view navigation?
Currently the code is oin Application PreNavigate where..we have something like this
If(DestinationView == "abc")
{
if(Value == "1")
GoToView("Test View 1");
else
GoToView("Test View 2");
}
This exact piece of code is causing the issue.
Oracle does not recommend using GoToView in Application PreNavigate but not sure what the alternative to this is.
Solution by Oracle
Using "GotoView" method in Application_PreNavigate event is not supported.