193 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
The application requires com.ibm.xsp.extlibx.library. This library cannot be found.
Wed, May 24th 2017 98
Great news about BM Notes/Domino 9.0.1 Feature Pack 8
Fri, Jan 27th 2017 10
How to set Workspace as default homepage in IBM Notes client
Wed, Oct 26th 2016 11
Avoid processing items as both NotesItem and NotesMIMEEntity objects concurrently.
Thu, Jul 21st 2016 6
Third level in "Application links" section of Xpages Application Layout, WTF?
Sat, Jul 16th 2016 10
How to get a list of components for not open Xpage ?
Thu, Mar 24th 2016 6
LDAP on Domino with iPhone (iOS8x) - can it work?
Mon, Sep 14th 2015 7
Top 10
The application requires com.ibm.xsp.extlibx.library. This library cannot be found.
Wed, May 24th 2017 98
IBM Lotus Notes and Ctrl+Break on new laptops without button "Pause/Break" on keyboard. Is it familiar to you? :-)
Thu, May 29th 2014 12
NotesItem.Type = 256 causes "Variant does not contain a container"
Sat, Jul 26th 2014 11
How to set Workspace as default homepage in IBM Notes client
Wed, Oct 26th 2016 11
How to find out if PIRC is enabled programmatically
Sat, Nov 22nd 2014 10
If you can't remove lotus notes database icon from workspace
Wed, Sep 10th 2014 10
Third level in "Application links" section of Xpages Application Layout, WTF?
Sat, Jul 16th 2016 10
Great news about BM Notes/Domino 9.0.1 Feature Pack 8
Fri, Jan 27th 2017 10
No such session or session has been closed
Sun, Nov 2nd 2014 9
Corrupted unread list in Mail database caused "This database cannot be read due to an invalid on disk structure"
Thu, Jul 17th 2014 8


How to get a list of components for not open Xpage ?
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
   

Hi guys.

Need a clue from people smarter than me :-)

The task is simple.
I am working on configurable fields validation functionality.
I want to provide application administrator with Web GUI where he/she can:

  1. choose database
  2. choose Xpage from selected database
  3. choose field from selected Xpage ( <-- Here is a problem )
  4. define validation rules for selected field
It can look like this, for example:


Surfing on Internet I found solutions how to
  • get a list of Xpages in database. The idea is the same as for other Notes design elements, through NotesNoteCollection. See this link for example.
  • get a list of components from currently open XPage. The idea is to go through component tree from parent view to the bottom through all children. See this link for example.
However in my case I need to get a components list for not open Xpage, so I don't have everything needed for using example above.

I was thinking about exporting Xpage to dxl, then decoding its content from Base64 but though I could see more or less normal Xpage source I am not sure if it's worth to deal with. See some screen shots

dxl of Xpage



Then I used this online tool for decoding from Base64 and received this that looks good and probably it can give me what I need but I am not sure if I want to dive into this...



Of course I could introduce additional thing where I could describe meta data for all my Xpages (in JSON or in XML format) and fetch components list from there but I don't want to do any additional manual work, I don't want to remember that each time when I create new Xpage or add a new control on existing Xpage I have to update something else to keep solution in consistence. I could accept if meta data was generated automatically but I really want to avoid additional manual work. 

So my question to you is - do you have any good or even insane idea how can I get a list of component for not open XPage without doing additional manual work? 





---------------------
http://ypastov.blogspot.com/2016/03/how-to-get-list-of-components-for-not.html
Mar 24, 2016
7 hits



Recent Blog Posts
98
The application requires com.ibm.xsp.extlibx.library. This library cannot be found.
Wed, May 24th 2017 5:26p   Yuriy Pastovenskyy
Hi I want to share one strange thing that happened to me today. I have reinstalled IBM Notes 9.01 but did it a bit unusually: 1) I uninstalled IBM Notes and cleaned up all files and folders which usually stay after uninstallation. 2) Then I installed IBM Notes 9.01 and FP7 but when I wanted to install Extension Library from openntf.org I realized that I forgot to enable Domino Designer and Domino Administrator options during setup. So I run installer again, chose option "Modify", enabled Do
10
Great news about BM Notes/Domino 9.0.1 Feature Pack 8
Fri, Jan 27th 2017 3:22p   Yuriy Pastovenskyy
Notes/Domino Fix List (Copied from here) IBM Notes/Domino 9.0.1 Feature Pack 8 Preliminary Release Notice January 27, 2017 Beginning with 9.0.1 FP8, fix packs have been renamed to feature packs. To ensure quality, these feature packs still have a high focus on addressing high impacting defects. Where possible, these features are optional enabled to minimize risk. The same packaging, architecture and install kits used in previous fix packs remain in use for feature packs. IBM has identified im
11
How to set Workspace as default homepage in IBM Notes client
Wed, Oct 26th 2016 11:22a   Yuriy Pastovenskyy
Hi Recently I've got the task to set up Workspace as default homepage in IBM Notes client for about 400 users. Googling didn't really help - suggestion from IBM I found looked crazy and I didn't want to mess with it. My hope on Domino policies didn't work either - not sure, may be I missed something. However I found another interesting thing that can be very helpful for resolving this task. Database Bookmark.nsf (where Workspace is actually located) contains form "WPDiscoverChange" wi
6
Avoid processing items as both NotesItem and NotesMIMEEntity objects concurrently.
Thu, Jul 21st 2016 4:46a   Yuriy Pastovenskyy
Hi guys May be this will save a day to someone. Let's imagine you need to send email with HTML inside. In most of cases you would need to use NotesMIMEEntity class and probably some other MIME-related classes to build mail Body. Though it is possible to use the same classes to define Subject, SendTo, CopyTo and other mail headers people often use usual NotesItem-based syntax for the rest simple mail parameters. However very important point is that as soon as you used NotesMIME-class you can
10
Third level in "Application links" section of Xpages Application Layout, WTF?
Sat, Jul 16th 2016 12:51p   Yuriy Pastovenskyy
Hi Do you know how to create a third level in "Application links" section of Xpages "Application Layout" control? It has to work but it doesn't. Please look on my screen shots below. Here is a simple page with a single "Application layout" control (Bootstrap theme). I have added three levels for my top menu (in different ways). However in browser I only can see two first levels and whatever I tried to do the third level never appear. Do you know how to fix that? P.S.I have the lates




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition