Is there a way to get access to the current view name in InfoPath?
For example I want to use it in a condition on a rule:
If current view = X then set the value of a field on load.
This is part of implementing a sharepoint group based permission system for controlling access to particular views of a form.
The current plan is have a series of rules that say if current view = X set a required group field to y. If user is not in group y then switch to read only view.