Create an instance parameter named "View" for the Detail Items category. Then this tool will automatically set and update that parameter when Detail Items and their Views are created and modified. This can be particularly useful in a Revit 2014 Detail Item Schedule if you want to schedule the view in which each detail item is located.
|Revit 2014 Detail Item schedule showing the 'View' parameter whose value is set by this app|
This free add-in may be downloaded from the Autodesk Exchange Apps website.