Cadet 1st Class
Cadet 1st Class
882 views

Required Field on Project Search page

Jump to solution

Guys,

 

May be this is a very basic question, but is there a way to make the filters required on Project Search Page (PPM 8)? For example, Request Type must be defined before user clicks search button. 

 

Thanks,

Dmitry

Share Knowledge
0 Likes
1 Solution

Accepted Solutions
Cadet 1st Class
Cadet 1st Class

By changing a combinarion of JSP, XML and Struts we were able to call the PPM native required field validation on the Project Search form.

 

I am closing the post.

 

Thanks,

Dmitry

Share Knowledge

View solution in original post

0 Likes
9 Replies
Absent Member.. Absent Member..
Absent Member..

Check the check box Display on search and filter as 'YES'  in the Fields tab, in request types. Find the attachment for more details.

0 Likes
Cadet 1st Class
Cadet 1st Class

Hi Bhuvan,

 

Thank you for response! Your suggestion makes the field visible on Search page, however, I am looking for a way to make the field required, meaning if I press Search button with no field defined, I will get the PPM native message that required field must be populated before proceding.

 

I think the only way to do that is to change JSP file. But did anyone do that before?

 

Thanks,

Dmitry

Share Knowledge
0 Likes
Absent Member.. Absent Member..
Absent Member..

Hi, Dmitry,

 

you are correct, you can only do it by modifying the JSP page. I haven't done it myself, since I did not have any reason to do so.

 

Out of curiosity, why do you need such constraint?

 

cheers

alex


--remember to kudos people who helped solve your problem
0 Likes
Cadet 1st Class
Cadet 1st Class

Hi Alex,

 

As part of a performance improvement initiative, we are tunning up the PPM instance to improve user experiance. We looked over Performance Reports and found that often our users click the Search button with no criteria provided - this their waiting time for list of projects can be very long. So, we want to force our users to provide at least some criteria for search.

 

Thanks,

Dmitry

Share Knowledge
0 Likes
Absent Member.. Absent Member..
Absent Member..

Hi, Dmitry,

 

the fastest resolution is to decrease the REQUEST_SEARCH_RESULTS_MAX_ROWS parameter to something like 10 or 20 (and maybe even make it unavailable for the end users by modifying the JSP).

 

cheers

alex

 


--remember to kudos people who helped solve your problem
Cadet 1st Class
Cadet 1st Class

Hi Alex, 

 

Thank you for the tip!

 

Do you know if there is a parameter to limit Project Search results? 

REQUEST_SEARCH_RESULTS_MAX_ROWS works only for requests.

 

Thanks,

Dmitry

Share Knowledge
0 Likes
Absent Member.. Absent Member..
Absent Member..

Hi, Dmitry,

 

there is no such parameter.

 

cheers

alex


--remember to kudos people who helped solve your problem
0 Likes
Cadet 1st Class
Cadet 1st Class

Thank you anyway, limiting the requests returned (default) will be useful to us too.

 

For the project search I will try changing JSP.

 

Thanks,

Dmitry

Share Knowledge
0 Likes
Cadet 1st Class
Cadet 1st Class

By changing a combinarion of JSP, XML and Struts we were able to call the PPM native required field validation on the Project Search form.

 

I am closing the post.

 

Thanks,

Dmitry

Share Knowledge

View solution in original post

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.