Locking and Unlocking of Profile Documents

I’m trying to create a sequntial number system using profile documents, but hit an error with locking and unlocking profile documents.

You can lock it ok, but try unlocking and it doesn’t clear the $Writers and $WritersDate fields which results in a permament lock.

Has anyone reported this as a bug to Lotus?

Subject: RE: Locking and Unlocking of Profile Documents

Don’t use a profile document for this. Profile documents are not intended for use with fast-changing data shared by multiple users. Their contents are cached, so users might not see changes made by other uses. Use a regular document instead. Regular documents are cached also, but you can remove them from cache using the Delete satement.

Subject: RE: Locking and Unlocking of Profile Documents

Thanks Andre,

I’ve already resorted to using normal documents but there’s nothing in the Notes documentation to suggest you can’t lock profile documents. In fact you can lock the profile but it’s impossible to unlock it.

A bit weird don’t you think?

Pat

Subject: RE: Locking and Unlocking of Profile Documents

Given that profile documents are not meant to be used this way it is not unexpected. It uses write once read many algorithm, so it is not surprising that you are not seeing updates since you are dealing with cached values. You might find useful to read a discussion of profile document usage in the Agent FAQ. I can’t remember the specific faq# but if you search for ‘profile’ you should find it.