Validate if Value Exists in View before Calling getViewValue with iDoc Script
Hello all,
At this moment I am using the getViewValue idocScript function to get the value of a view, and I executing it from a Java component. The reason why I am doing it this way is because the function did not work in the content profile and only when called from the Java component.
Does anyone know a way to verify, with iDoc script so that I do not have to go to the database for every checkin event, whether the view value exists previous to calling the function or in the worst case how could I show a custom error message if there is no value and an exception is generated....
At this moment I am using the getViewValue idocScript function to get the value of a view, and I executing it from a Java component. The reason why I am doing it this way is because the function did not work in the content profile and only when called from the Java component.
Does anyone know a way to verify, with iDoc script so that I do not have to go to the database for every checkin event, whether the view value exists previous to calling the function or in the worst case how could I show a custom error message if there is no value and an exception is generated....
0