We've added a cancel button to our prompt page and it works as expected using this code cognos.Report.Action.CANCEL when either running from report studio or from the report link. However, if the user click the Set Properites box and sets the prompt values from the Report tab, the cancel does not function.
Is there other code I should be using?
Thank you
figured it out. We used promptAction('cancel') instead of cognos.Report.Action.CANCEL and this fixed the issue
Glad it worked out, but on a prompt page, why not just use a Prompt Button with the Type property set to 'Cancel'?
We are using cookies to store previously stored values from a list box that we need to delete when the cancel button is used.