hi all,
only NOTES:
i’ve a frameset, some kind of a navigator on the left, the views chosen by the navigator on the right. users are sometimes using the preview pane. sometimes not.
in one of my views i have a button which will donwload some data to excel from the chosen document (unprocessed in db).
the selected document will be downloaded.
the problem now is that if the preview pane is closed the uidocument and the corresp. backend doc do not compute all needed data, as some fields on the form are “computed”. therefor I added a computedForm and in the script I do a simple
computeWithForm.
now the data is correct.
this applies ONLY if the preview pane is closed.
when it’s open, the document is set to edit mode by default (yes, a must have) and the data is allready computed!
when using the computeWithForm line, the data is gone.
is there any way to find out if a document is open in the preview pane?
i tried isuidocopen and this is true in both cases.
i tried to do a simple formula like “@command[showhidepreviewpane];0)” BEFORE the script executes…the preview pane does nothing.
any help is appreciated
thanks
alex