Problem In uidocument class

In place of Uidocument class in web what will be used pls suggest me.

Subject: Problem In uidocument class

UI classes ( NotesUIDocument, NotesUIDatabase, etc ) donot work on Web.You will have to use backend classes ( NotesDocument, NotesDatabase, etc ).

Dim sess as New NotesSession

dim doc as NotesDocument

set doc = sess.DocumentContext

cheers !!

Ashish

Subject: RE: Problem In uidocument class

Hi Ashish thanks for ur sugesstion, this code work like uidocument

Subject: RE: Problem In uidocument class

No.Please read the Designer help for both the classes i.e. NotesDocument and NotesUiDocument.

cheers !!

Ashish

Subject: RE: Problem In uidocument class

I know ashish notesdocument and notesuidocumentbut i want to know in place of uidocument class what class will be used for web

Thanks

amar

Subject: RE: Problem In uidocument class

As i mentioned in my first response, you will need to use DocumentContext from the NotesSession to obtain the handle to the current document. Also lotusscript is not recognized by the browser and hence it has to be written in agent ( as it executes on the server ) which can be called from the WebQuerySave event.

Search the forum for WebQuerySave and you will find lots of posts.

cheers !!

Ashish

Subject: RE: Problem In uidocument class

Hi

I suppose we have notesuidoucment (notes client) and notesdocument (for web) what is uidocument…?

notesuidocument comes under uidocument rite