This is the second time in less than a year I have spent time killing myself over a bug inherent to LotusScript. Here's the scenario:
- I have a view with 3 categorized columns. The first and third columns are single value fields on the form, while the second column is a multivalue field. The view looks great when just viewing it.
- Users click theough a number of screens to determine what documents to report on.
- Based on the user's input, a 3 element array is created and passed to the GetAllElementsByKey method to get the list of documents to add to the report.
- No matter what is passed in the key, no entries are returned. If only a value that matches the first column is passed, the correct number of view entries.
This is a known bug with the GetAllEntriesByKey method, but it is something that will cause significant hair loss, none the less. The really funny thing is that the method works fine if the first key is a multivalue column, but not on the second column.
Created 9/18/2006 7:29:15 AM email |
Hello,
I have created a webservice that uses GetAllEntriesByKey to get some entries with DOM. The domino server and the webservice are on two separate physical servers.
The "funny" thing is that DOM seems to cache the view.
When the GetAllEntriesByKey has run once, changes are not reflected in the entrycollection when GetAllEntriesByKey runs again.
Do you know if this a bug or if it's possible to clear the cache?
Regards,
Lars
Created 9/18/2006 11:20:08 AM email | website
Are you sure it's not the browser that's caching the results? Make sure that you include a Cache-Control:NoCache at the beginning of your web service output so that the data returned to the browser isn't cached.
I don't believe that the GetAllEntries methods have a caching option, so I will be that they are never cached.
Sean---