Hi - search works fine with custom fields of FullName, Forename, Surname and Username configured in the backend. When using Spark 2.7.7 and entering a search, only the label for the last selected search criteria is visible - see attached. Is this a Spark or OpenFire issue?
Hi. I’d expect to see labels next to the radio buttons on the search form for each of the search criteria configured in the back-end. From the screenshot, only the username label is visible. View of back-end below:
Hi. No I haven’t modified anything - code wise. Just added an extra 3 criteria for searches. As they show up ok in the backend, I assumed the lables would be passed to Spark. The searches themselves work fine But I wanted surname searches as well as username.
Hm, i haven’t found a place where to modify Search fields via Admin Console GUI. Anyway, i think Spark is only expecting default values there. But i haven’t found exact place in the code responsible for this form.
Hi - the place you enter the extra fields is when you configure the LDAP connection - that’s step 2 - the user mapping bit. In advanced settings under user mapping, I added FullName/displayName,Forename/givenName,Surname/sn,Username/sAMAccountName in the Search Filters input box - then they appear in the Search Service Poperties page in the back end.
Great - thanks! Just a thought - it might not be Spark - I used a couple of clients in a trial here - one of them was OneTeam - when you search using that, it brings up the same options as presented by OpenFire - so it too had labels missing next to search fields. So it might be the search plugin itself?