runtime properties docs

Would appreciate someone pointing to example code in the Servoy Docs showing the relatively new Internal Runtime Properties feature put to use. I’ve run to ground trying to find how to actually utilize this new feature.

Kind regards,

Can you explain, which feature you mean???

HJK:
Can you explain, which feature you mean???

The new red buttons. Typically, the labels read “allmethods”, but in some contexts “allrelations”, “allvariables”, etc.

The docs describe them as “built-in internal runtime properties” but I was unable to find any explanation or demonstration of their functionality.

These are not buttons, but properties and they basically do what they sound like. For example: allmethods returns an array of all method names. Just try it out!

var allMethods = allmethods

and have a look in the debugger what’s in allMethods.

Another way to get you going could be looking at the tooltip. For example for “allvariables” I read “Get all global variable names of the current solution”. I think it couldn’t be much clearer than that!?

Hope this helps.

patrick:
These are not buttons, but properties and they basically do what they sound like. For example: allmethods returns an array of all method names. Just try it out!

var allMethods = allmethods

and have a look in the debugger what’s in allMethods.

Another way to get you going could be looking at the tooltip. For example for “allvariables” I read “Get all global variable names of the current solution”. I think it couldn’t be much clearer than that!?

Hope this helps.

That does help. Thanks for connecting the dots.

Morley:

HJK:
Can you explain, which feature you mean???

The new red buttons. Typically, the labels read “allmethods”, but in some contexts “allrelations”, “allvariables”, etc.

The docs describe them as “built-in internal runtime properties” but I was unable to find any explanation or demonstration of their functionality.

Morley,

All runtime Servoy functions and properties descriptions, including the
“internal” runtime properties you refer to, can be found in:

  • The printed Servoy Developer Reference Guide
  • The online Servoy Help Navigator
  • The corresponding downloadable PDF file.

Marc Norman
Servoy

mnorman:
All runtime Servoy functions and properties descriptions, including the
“internal” runtime properties you refer to, can be found in:

  • The printed Servoy Developer Reference Guide
  • The online Servoy Help Navigator
  • The corresponding downloadable PDF file.

Not easily.

It’s not my purpose here to start a flame war. Just a very frank statement of views expressed as constructively as I can.

With very weak indexing Servoy docs are useful more as a reminder for function specifics you’re already familiar with. There’s a “minimalism” to the style of Servoy docs that speaks well when you already have a sense of the architecture of Servoy, JavaScript, etc. If you don’t already know, more or less, the particular issue, then Servoy docs can indeed be frustrating.

Yes I read the docs. When they don’t enlighten, I turn here to Servoy Talk. Which is exactly what I did in this instance.

Please, no flames leaping to the defense of Servoy and its docs. :)

With very weak indexing Servoy docs are useful more as a reminder for function specifics you’re already familiar with. There’s a “minimalism” to the style of Servoy docs that speaks well when you already have a sense of the architecture of Servoy, JavaScript, etc. If you don’t already know, more or less, the particular issue, then Servoy docs can indeed be frustrating.

I have to agree with Morley. I am a rank beginner. I started in Hypercard → Filemaker. The first challenge I ran into was how do I create a database to start my wonderful Servoy development. I could find it nowhere in the docs. I stumbled onto a step by step in Bob’s wonderful FMP to Servoy turtorial. If I was not a Filemaker user, I would never have found it.

I, too, find the docs baffling sometimes. Not just the indexing (although that is an issue, for sure) but also some of the examples are just so abstract that they are practically useless to me. Some while back, I posted a request for more & better example files. (It did not seem to be experienced as a actionable request.) In part, my request was driven by frustration with the docs.

Please, no flames leaping to the defense of Servoy and its docs.

The more I work with Servoy, the more I like it. But sometimes it seems that criticisms are not taken well. Not just about documentation; for example, I recall a thread on stacked FIDs wherein users noted how important that feature would be to them, and someone at Servoy protested that it wasn’t necessary… they could not think of an example where anyone would want to use stacked forms! But the users could.

Now, how is this…

All runtime Servoy functions and properties descriptions, including the
“internal” runtime properties you refer to, can be found in:

  • The printed Servoy Developer Reference Guide
  • The online Servoy Help Navigator
  • The corresponding downloadable PDF file.

… useful to anybody? I have also seen answers from other staff (not just Marc) which basically say “go look it up”. I just spent a long time looking for how to show one or the other tabs in a tabless tabpanel. The docs were not helpful to me; I looked through several posts before I found the answer. It seems embarrasingly simple now, but what a pain in the ass trying to sort it out!

ComplaintMode[off]

Jim

About the indexing in the help file:
If you can’t find what you’re looking for, try using the pdf files instead.
By using Ctrl+F in Acrobat reader you can easily search for a string
throughout the whole document.

You can download them here.

http://developer.servoy.com/generic.jsp?taxonomy_id=346