I thought I recalled seeing this posted somewhere, but cannot locate it.
How would I list out all the elements in the LOM?
Thanks
Herb
I thought I recalled seeing this posted somewhere, but cannot locate it.
How would I list out all the elements in the LOM?
Thanks
Herb
It would seem that there is no method to traverse the items in a section other than by Lianja.getElementByID() which is a bit of an oversight.
I will add in:
.count
.item( nExp )
and while i'm at it I will do the same for pages so you can traverse the App like this.
Code:for i=1 to Lianja.count oPage = Lianja.item( i ) for j=1 to oPage.count oSection = oPage.item( j ) for k=1 to oSection.count oFormitem = oSection.item( k ) endfor endfor endfor
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
That functionality has now been added in as described earlier in the thread and will be available to MVPs in the windows/beta folder soon.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Fantastic - exactly what I was looking for.
Thanks!
Herb
Hey Herb
What does LOM stand for?
http://www.acronymfinder.com/LOM.html shows lots of definitions (like leader of men!). None seem to fit.
For further information:
Working with the Lianja Object Model
Regards,
Yvonne
OIC. Thanks for the info.
Bookmarks