Single Category PicklistCollection on local replica issue

We are using a single category view via PicklistCollection to display a list of related documents. This works fine in Notes/Domino 7 on the server. However local replicas do not work - the list displayed is empty. If you use Shift-F9 with the dialog open, the list displays. But when you open the list again, you have to use Shift-F9 again to display the list. Using Ctrl-Shift-F9 also does not make the list appear automatically. (This process works in Notes 6.5 and earlier). I cannot find any similar issues reported by others - any ideas?Any assistance much appreciated.

Kathy

Subject: RE: Single Category PicklistCollection on local replica issue

Curious. Is there anything special about the view? Any odd functions in the selection formula, or do you constantly modify it on the server? Is the view set to collapse all categories on open? Do you modify the documents frequently, so that there are maybe no documents in the category that haven’t been modified recently? What happens if you open the view in a local replica in its own window – does it behave oddly in any way then?

Subject: RE: Single Category PicklistCollection on local replica issue

It’s a perfectly ordinary process that is used to allow access from one document to a related document in many places. There is nothing unusual about it, and it displays all documents, not just modified ones. I have also checked that Ctrl-Shift-F9 before opening, or getting the view programatically (sorry - can’t spell today!) and refreshing does nothing to address the issue. When opened directly, each view is perfectly fine.Through some testing a colleague has identified that the ‘Enforce a consistent ACL’ setting is not turned on in the versions where it does not work, so I am currently replicating after changing this setting.

Thanks for the ideas, though.

Subject: RE: Single Category PicklistCollection on local replica issue

Can you test if uiws.ViewRefresh() in the view’s PostOpen event works around the issue?

Subject: RE: Single Category PicklistCollection on local replica issue

I have resolved.

The view was set to collapse all categories on open.

Now , the view is set to NOT collapse all categories on open

Subject: RE: Single Category PicklistCollection on local replica issue

Thanks for the thought, but unfortunately it does not solve the issue - the document list still only displays in the window if you press Shift-F9 with the dialog open.

Subject: RE: Single Category PicklistCollection on local replica issue

Not sure if I should ask (maybe you tried that already), but what about NotesUIWorkspace.ViewRebuild()? It’s a costly operation, so even if it works, it should probably just be called when the database’s Server property is empty.

Subject: RE: Single Category PicklistCollection on local replica issue

I have the same problem in one of my DB.But, if i use the script from a view action, it works fine, but if i use a similar script from inside a document opened in edit mode, it doesn’t work !

In both case, i use the same function with picklistcollection