is it possible to open a document from an embedded view to a new window in web? do you have a sample code???
thanks
is it possible to open a document from an embedded view to a new window in web? do you have a sample code???
thanks
Subject: Open document from an embedded view
U can put the following code under your view:
dbreferer:=@ReplaceSubstring(@ReplaceSubstring(@Subset(@DbName; -1); “\”;
“/”);" “;”+");
FormRef := “Click to open the document”;
NL:= “input style="font-size:7pt" type = button
onclick="Javascript:window.open('/”+dbreferer+“/0/”+@Text(@DocumentUniqueID)+“?
Opendocument’,‘priview’)" value='”+ FormRef + “’ + Preview Document in New
Window" >]”;
NL
This will create a button, upon clicking will open up the document in a new
window
Cheers
Rusyinni
Subject: RE: Open document from an embedded view
thanks a lot!!!