I’m not sure if I was able to access Script Configuration in a place where it is not available, or if there is an issue saving Scripts at the ‘View’ level.
Select the view in the project browser. Double-click or right-click and select Open.
Right-click the Designer Workplace, select ‘Configure Scripts…’
The window ‘Script Configuration on view’ appears.
Double-click either ‘Add method…’ or ‘Add handler…’.
Delete the contents of line 2. Put a "print ‘howdy’ " statement in line 2.
Click Apply. Click OK.
Right-click the Designer Workplace, select ‘Configure Scripts…’. The scripts have disappeared.
The above steps work when ‘Root’ is selected in the Project Browser.
Nice catch! Whether it is intended that custom methods and message handlers are allowed for views, the current workflow here is not the expected functionality. I’ve created an internal ticket for this.
You would be correct. Just tested it against our internal build that should have had the fix in it and am seeing the same functionality occur. Sorry about that, I’ll pass it back to get another fix in.