Badrinath H K Absent Member.
Absent Member.
70 views

Search Code for Person should be all Numbers

Jump to solution
Hi,

We are currently running OVSD 4.5 with Microsoft SQL 2005 as backend database.

I have requirement where we want the Persons Search Code to be all NUMBERS as we want the employee numbers to be the searchcode.

Currently the system support having the First character as Alphabet and others can be Numbers but this will not help me.

So I need help in achieveing this; so please suggest if there is any workaround for the same.

Thanks in Advance.

Cheers !!!
Badri
0 Likes
1 Solution

Accepted Solutions
Highlighted
Pinion Honored Contributor.
Honored Contributor.

Re: Search Code for Person should be all Numbers

Jump to solution
You can create another field call 'Emp#' for example.

try alter the settings in Adminitration Console:
presentation > search > person > "search" tab > search field
from SearchCode to another field (Emp# in your case)
-/\-
0 Likes
4 Replies
Highlighted
Pinion Honored Contributor.
Honored Contributor.

Re: Search Code for Person should be all Numbers

Jump to solution
You can create another field call 'Emp#' for example.

try alter the settings in Adminitration Console:
presentation > search > person > "search" tab > search field
from SearchCode to another field (Emp# in your case)
-/\-
0 Likes
Badrinath H K Absent Member.
Absent Member.

Re: Search Code for Person should be all Numbers

Jump to solution
Hello Kriengsak,

Thanks !!

I will require this new field that I will create as "Employee Number" to be UNIQUE. I would not want 2 Person records to have the same Employee Number how can I achieve this? Any Suggestions

Cheers !!
Badri
0 Likes
Robert S. Falko Absent Member.
Absent Member.

Re: Search Code for Person should be all Numbers

Jump to solution
Badri,

OVSD has no internal way of forcing unqiueness on any field except certain search codes.

The way people generally work around this is by setting up either a smart action or an overview action to display any existing items with the same field value, or to otherwise warn that the value is not unique.

-Josh
0 Likes
Badrinath H K Absent Member.
Absent Member.

Re: Search Code for Person should be all Numbers

Jump to solution
Thanks to all.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.