I am programming SWT application which is used as a composite application on Lotus Notes 8.
One SWT application, which works fine on Lotus Notes 8.5, doesn’t work as expected on 8.5.1.
I traced and debugged my code, and found this line could be a key:
IViewPart dataview = SWTHelper.locateView( VIEWPART_ID );
- VIEWPART_ID = view id attribute string defined in plugin.xml
This “SWTHelper.locateView” function always returns null on 8.5.1, and following code made a exception. This line used to work fine with no problem on 8.5.
I also checked another code I made, and results are same.
This prevents my application from sending a property to property broker. This can be severe problem, because all my SWT application can NOT be a part of composite application.
Are there any specification change on 8.5.1? Do I need to assign different VIEW_ID from 8.5.1? If so, I would like to know how to get it.
I want to know how to get IViewPart interface properly in my SWT applications.