Thursday, July 30, 2009

How to make inviewedit more user friendly and useful

The ability to edit Lotus Notes data at the view level is a cool feature that has been around for a while. Recently while searching for some old code I found a prototype I designed for addind date pickers, text boxes, and dialog list to the inviewedit options.See Below:



The premise is that for any dialog/radiobutton/checkbox fields the answers are in a separate field on the doc I call choices:


THe code is very simple and the sample db is here. Let me know if you have any questions

7 comments:

  1. Hi John,

    Thanks for the cool inline edit.
    I downloaded the nsf, when clicked on New Checklist action button, "Invalid or Non-existence document" error pops up. Reason is there is no "Checklist" form to compose. can you pl. check at your end?

    thanks,
    rharan

    ReplyDelete
  2. OK my fault for not testing old code. Try nw

    ReplyDelete
  3. Thanks you very much John,
    Really helpfull! its working for me!

    Venkatakrishna

    ReplyDelete
  4. Hi John,

    I'm slowly building developing skills to make a fairly complex Lotus Notes database in our office more user friendly. I was able to start using Inviewedit on an embedded view, and really wanted to be able to have a picklist, like in your example database. As I worked on it though, I ran into problems with the KeyPress in your Inviewedit script.

    I'm sure its my niavety, but is this something that would be easy for me to resolve?

    ERROR: (View): Inviewedit: 59: Not a sub or function name: KEYPRESS

    Any help would be greatly appreciated.

    Thanks,
    Chad

    ReplyDelete
  5. Chad. Are you using the viewedit script library? Also this was written in a long time ago in 32 bit windows. Never tried in 64

    ReplyDelete
  6. I did copy that to the Script Library and am currently using 32 bit XP. I just know enough to get myself in trouble.

    I do regularly meet with our developer, so I'll run it past him.

    I work in an Attorney's Office, so we're always trying to make data entry easier for Attorney's. Inviewedit would be awesome, particularly in this one form/embedded view I'm currently working on. I'm surprised there aren't more examples online.

    Thanks,
    Chad

    ReplyDelete
    Replies
    1. Did you sign the database with an id that can run all types of lotusscript? if you did, ping me at my firstname dot(.) lastname @ g m a i l dot(.) c o m

      Delete