: 4582 | 108668 | 12353

URL Command to get the XML representation of a notes document 
Use this IdeaSpace to post ideas about Domino Designer.

: 43
: 43
: 0
: Domino Designer
: xml, web
: Rajeev Menon3688 17 Dec 2007
:
: / Email

Just like the view?readviewentries URL Command, I would like to have a URL Command to retrieve the XML representation of a Notes Document. For example: 

h t t p : / / ideajam.net/IdeaJam/P/ij.nsf/0/935851559D016E708625739C00807A4B?readdocument




1) David Camara916 (17 Dec 2007)
would you expose all fields in the xml? that could be an issue as we often use hidden fields for example?
2) Slawek Rogulski8874 (17 Dec 2007)
Maybe the URL command could contain an &FormName option to specify which form to use for rendering the XML. Then forms may need a bit that allows it to be used in XML rendering or not; default would be not to use it.
3) Matt White9280 (17 Dec 2007)
As long as it honours and field level security set up then this is a good idea.
4) Rajeev Menon3688 (17 Dec 2007)
@2, I completely agree with you.
5) Kerr Rainey3860 (17 Dec 2007)
I think you would want an option to turn it off / on at the db level. Other than that, if you are going to have it then all fields would be exposed, subject to normal notes Client rules. If they user could see the value by looking at the document properties box then it should come through with ?readdocument.

Specific a form seems to miss the point a little.
6) Slawek Rogulski8874 (17 Dec 2007)
@5 - yes the specific form complicates this more than it needs to be. Although, a form could generate computed fields, if that makes sense. Or if I ask for an invoice the form will compute all the lines and return them in the same XML stream. Or more in the notes world: main topic with all the responses. So this way I can get the whole logical document (invoice, conversation, etc) which is otherwise spread across multiple physical documents.
7) Sean Burgess5201 (20 Dec 2007)
even better if there was a flag to send the data back as JSON
8) Frank Strunzkus150 (17 Mar 2009)
Might be a security risk as fields that should stay hidden could be displayed on the web using this command.










:
:




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