Problem
It shall be checked, if a view in an Formal module exists.
Approach
The load method returns false if a View cannot be loaded.
Solution
bool checkIfViewExists(Module m)
{
View v = view("12 REVIEW L/C Status");
bool isLoaded = load(m,v);
if(isLoaded)
{
return true;
}
else
{
return false;
}
return false;
}