Morley:
Not wanting to be argumentative, but the specifics of the syntax needs are not clearly spelled out, not there nor in the printed docs nor the online help.
I’m wary about raising shortcomings in the docs. Some readers of this forum over react. Writing docs are a delicate science. What’s clear to one is mud to another.
In this specific instance, there’s a requirement to include quote marks around the field in the first argument, but DEFINITELY NOT if there’s a field in the third argument. Not understanding this curious requirement left me baffled for months, posting repeatedly to this forum without effect. Bob Cusick’s new tutorial finally broke through.
I just wish people weren’t so defensive about Servoy’s docs. In my view, a miscommunication in the docs is much like a bug in code. If the docs send some readers barrelling off in the wrong direction, then that snippet of documentation needs reworking. Nothing to be gained in the blame game.
In other words, I’ve been holding back on my observations about the specific weaknesses in the docs for some time. I’ve been singed a few times. The docs are good, but there are definitely some bumps in the road.
Morley,
Documentation is a VERY important part of the tools that Servoy provides.
As such, it is the posts to the Servoy Forum that contribute not only to
resolving unclear issues in the documentation but also affect the content
of the documentation as well.
For example, there were posts in the Forum and emails that were
received by Servoy that suggested adding all of the Servoy functions and
runtime properties as index entries to enable developers to find information more easily.
All Servoy functions and runtime properties (over 300 index entries) were
added to the index as of the Servoy 2.1 documentation.
More recently there have been posts that have pointed to bugs in the
indexing and search engine of the online Servoy Help Navigator.
These issues have been resolved as well as over 100 new index entries
added as of the Servoy 2.1.1 Online Help update and fixes.
We welcome any and all comments and/or suggestions regarding specific
documentation issues. The only way that we know what works (or does
not work) well for developers is if you tell us.
Regarding your particular comment about the addFoundSetFilterParam function:
Entering “add” in the Index tab search box shows “addFoundSetFilterParam” in the list of index entries.
Doubleclicking on this entry opens the “Form functions” topic.
Choosing Tools>Find and entering “add” in the “Find What” box highlights
the “add” of the form function addFoundSetFilterParam.
The example for this function shows:
controller.addFoundSetFilterParam('department', '=', 'sales');
This example includes exactly the same syntax as the “Move Code”
sample for the function addFoundSetFilterParam in Servoy Editor.
This exact same function and example is also available in
Servoy Developer Edition Reference Guide p.193.
What information regarding the clarity of using quotes around the first
argument and third argument of this function is missing?
What suggestion do you have that would help to make the Servoy
functions and their examples more clear in the documentation?
Marc Norman
Servoy