NotesUIDocument closewithoutsave method 
Use this IdeaSpace to post ideas about Domino Designer.

: 42
: 44
: 2
: Domino Designer
: Melissa Snell1668 05 Jan 2009
: / Email
I would like to be able to call NotesUIDocument.close with a parameter that means that the user won't get the 'Do you want to save' message. This message is not always appropriate if this is a cancel button or if you are trying to close a new document post open because some of the fields have values that show that the user did not have the correct document selected when they created the new document.
The workaround is to use script to add a field called SaveOptions with the value of "0".
This works, but it would be a lot nicer if we could have either a property like "isDirty" that we can set to true or false OR an optional arguement for Uidoc.close OR a new method (probably easier as won't impact existing code) such as NotesUIDocument.closewithoutsave.

1) Joseph Hoetzl5019 (07 Jan 2009)
Wow, just had to modify an inherited app that was plagued by this very situation. I don't like workarounds!
2) Mick Moignard2600 (07 Jan 2009)
see also this idea: { Link } which asks for the isDirty flag to be exposed.



Welcome to IdeaJam

You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>

IdeaJam developed by

Elguji Software Logo