Docs lost when @Isresponsedoc is used

Use of @Isresponsedoc enabling “Show Response document in a heirarchy” has caused loss of documents from the view.My Form type is “Document” and not “Response”. If the “Show Response document in a heirarchy” option in view properties is not enabled, then there is Replication conflict.

Subject: RE: Docs lost when @Isresponsedoc is used

Your documents are not lost. They’re there; the view just isn’t showing them for some reason.

I don’t understand what you’re doing. Where and how are you using @IsResponseDoc? Please show your formula and tell where you’ve put it (view selection? Column formula? or …?)

You said, If the Show Response document in a heirarchy option in view properties is not enabled, then there is Replication conflict.

I’ve seen this sometimes while editing a view design – if you change some properties Designer gets confused and displays [Replication or Save conflict] on every row. There is not actually a replication or save conflict. If you go ahead and save the view and open it in the Notes client (or close and reopen it in Designer), you will see that everything is OK.

The appearance of the view while you are editing can also differ in other ways from the actual appearance you’ll get when you save it. Just be aware of this and if in doubt, try it in the Notes client.

You said, My Form type is “Document” and not “Response”.

For purposes of creating a view, your form type does not matter. What matters is whether the document is actually a response. A document whose form is of the “Document” type can become a response in various ways – by being a save conflict document, or because you use version control, or because some LotusScript code has called MakeResponse on it. It’s also possible for a document with a form of a “Response” type to become no longer a response, though that is rarer. The question is, does the document have a $REF item that contains the UNID of some other document? Not the form. The document.

Subject: RE: Docs lost when @Isresponsedoc is used

Have U used Versioning

Subject: RE: Docs lost when @Isresponsedoc is used

The @Isresponsedoc is put in th View SelectionFormula as:

SELECT ((form = “MainTopic” | form = “WebMainTopic” & Status != “0”) | @IsResponseDoc) & copyflag=“”

and the versionsing is also used

The form is of type"Document" and hence by using the @IsResponsedoc the responses are collected.

Yes, the document has $REF which contains the UNID and all the responses have the same ID.

But i still see some of the documents missing,i.e some of the versions of the document have been lost.

How can I recover those documents??

Subject: RE: Docs lost when @Isresponsedoc is used

Well, first, you’re not going to see anything where copyflag != “”.

As for other documents, you formula asks for all response documents, even if they are not using the “MainTopic” or “WebMainTopic” forms, and even if the response has a status of “0”. Is that your intention?

You could write the formula a little shorter to do the same thing:

SELECT ((form = “MainTopic” : “WebMainTopic” & Status != “0”) | @IsResponseDoc) & copyflag=“”

Incidentally, why have different form names for documents created on the web? You could have two forms with the same name, one set to only be used in Notes, one set to only be used on the web.

If the view is set to show documents in a hierarchy, then response documents will not be displayed if they refer to parent documents that do not also appear in the view, either because they no longer exist or because the view selection formula excludes them (for instance because their Status = “0”). Could that be your problem?