My first Widget in Notes 8.0.1
Julian Buss, February 20th, 2008 14:41:38
Tags:  Lotus Notes 8  YouAtNotes Software 
Here it is: a list of open tickets from the YouAtNotes troubleticket system, as a widget in the Notes sidebar:

Image:My first Widget in Notes 8.0.1

The widget is just a proof-of-concept and consists of a form with some pass-through HTML. But boy, this is so cool. It just took minutes to built!
Comments (7) | Permanent Link

Kommentare:

1) My first Widget in Notes 8.0.1
Ulrich Krause 20.02.2008 14:57:16

I had the same idea, but you were faster :-)

2) My first Widget in Notes 8.0.1
Denny Russell 20.02.2008 16:11:17

Care to share? I'd love to build a similar type app for our customer incidents (which are stored in a Notes db) but I'm not sure where to start.

3) My first Widget in Notes 8.0.1
Chris Reckling 20.02.2008 16:18:54

Very nice - I just posted something similar with a form in the sidebar using nothing but Dom. Des. and @formulas. (I tried embedded views, but they don't work too well.)

Chris

4) My first Widget in Notes 8.0.1
Julian Buss 20.02.2008 16:19:36

Denny, I cannot share the whole database - it's way too big :-)

But in brief, here is what I did:

- create a form with a field "SaveOptions" = "0", hide that field

- in queryOpen, put a script which gets your data, puts some html around it and save that in a user specific profile document

- create a computed text, marked as pass-through-html. Use something like @getProfileField("NameOfProfileDocument", "NameOfFieldYouStoredTheHTMLIn"; @username)

Then in Notes 8.0.1, go to preferenes and enable the widget functionality. Then open the database in which you created the form, then click the "Configure a widget from the current context" toolbar button. Change the notes URL to "notes://servername/replicaID/yourform?OpenForm" and finish the wizard. Èt voila, the widget is being created and shows your form with the pass through HTML :-)

5) My first Widget in Notes 8.0.1
Julian Buss 20.02.2008 16:24:35

Chris, I read your posting. Nice, too! How did you created that? I'm looking for a way to simple have a browser in the widget which I dynamically feed with HTML. Would be much better than Notes pass-through HTML.

6) My first Widget in Notes 8.0.1
Denny Russell 20.02.2008 18:33:08

Awesome. I will give it a try.

7) My first Widget in Notes 8.0.1
Chris Reckling 25.02.2008 19:14:26

The form I used was pure Notes, although I thought about a way to also do HTML rendering, too, but didn't get too far on that (other, real job got in the way). For real apps (meaning, running on a real Domino server, not local like mine was), you could simply point the widget to a Domino url and use that for the widget - either an agent or something else to create the html you want.

Chris

 Erstellen Sie einen Kommentar
Thema:
   
Name:
E-mail:
Web:
 
Kommentar:  (Kein HTML - URLs bitte mit führendem http:// angeben)
 
Angaben merken?    
Über diese Seite
Das YouAtNotes Blog ist ein Webtagebuch der Mitarbeiter von YouAtNotes. Hier möchten wir ihnen direkt aus dem Alltag eines Softwarehauses berichten.
Wir freuen uns über Ihre Kommentare und wünschen Ihnen anregende und unterhaltsame Lektüre.

Impressum

Blog of Julian Buss

Suche
RSS-Feeds
rssfeed.pngContent Feed
rssfeed.pngComment Feed
Aktuelle Einträge
Aktuelle Kommentare
Links zu YouAtNotes
Links zu YouAtNotes (in englisch)
Archiv