Hi All,
I have deployed the FileDownload Example into my NT app by copying in from the example,
DocumentBrowse,DocumentForm and ServeDocument
Its working
However I now want to embed in, the ability to delete the file conditionally after serving
I presumed that the code to delete should be in the ServeDocument WetWeb Page and I have this in the Footer Routine 4 End
IF p_web.GSV('RemoveAfterServing') = 1
remove(loc:filename)
STOP('FileRemoved')
END
This doesnt work.....
The Stop is not found presumably because the p_web.GSV('RemoveAfterServing') is not found either
Recently I posted another request on the example, and it was suggested to use the Server Side code embed but there doesnt seem to be that option on the ServeDocument NetWeb Page
So
Where should I conditionally code the deletion after serving please?
many thanks
Regards,
Richard
NT 12.54