• Anonymous
  • Login
  • Register
NotesView2 - Feature Request: Search-agent doesn't handle hidden columns correctly


As i got "column-shifts" on the NotesView2-table in my browser on certain views, using the search resp. the search-agent "agtSearchView", i found out, that the agent doesn't handle hidden columns correctly.

The prblem is, that although categories were ignored, hidden columns were not. I've got a small workaround, that fixes that problem and points out the thing, as i hope:

(Starts ca. at line 70)

Dim fixvar As Integer
fixvar = 0
Forall value In entryResult.ColumnValues
If Not vwSearch.Columns(x).isCategory And Not vwSearch.Columns(x).isHidden Then
Print "<entrydata columnnumber=""" & Cstr(x-fixvar) & """ name=""" & vwSearch.Columns(x).itemName & """>"
Print "<text>" & XMLEscape(Cstr(value)) & "</text>"
Print "</entrydata>"
Else
If vwSearch.Columns(x).isHidden Then
fixvar = fixvar + 1
End If
End If
x = x + 1
End Forall


Also: if one column doesnt contain anything but a static formula, i.e. a constant (!), (e.g.: "CustomIcon.gif" to display the same icon on every entry of the column) then we've got another problem, cause ColumnValues doesn't return anything for this, as the help pages say:

"A column value is not returned if it is determined by:
* A formula containing a UI-only function such as @IsExpandable or @DocNumber.
* A constant."(!)

Therefore i don't know, how to change it - ColumnValues seems to be insufficient to handle this issue .

Kind regards,

Stefan



Taken Actions by Owners

Defect has been fixed.


Thanks for the fix Stefan!


In this field you can enter the actual request.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.
In this field owners can describe what they have done or want to do.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.