
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Expand Request Type Section when Opening requests
Hi All,
We have noticed that when we open a request some of the section is collapse while some are expanded.
How can we make it consistent that when we open a request make all the section expanded by default.
Please advise.
Thanks.
Catherine


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Catherine,
When we collapse/expand any section in the request type in the browser and then save it...
Next time when we open the same request type then it opens in the same condition as it was saved last in..
If you want that all the sections should be expanded and just open the requet , expand all sections and then save it...
Thanks!!
Mohit Agrawal


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Catherine,
This is related with user settings – if I user makes them expanded/collapsed they will stay like that for the same user next time he logs. However that will not affect any other user or request. They cannot be pre-defined to be expanded/collapsed for a user or a request.
I guess cleaning the cache may help to reset such settings.
Regards
Oscar Pereira


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
You can use a UI rule to expand or collapse the sections in a request type.
Following is what other customer has added to their RequestRulesUserLibrary.js file.
function expandCollapseSection(sectionName) {
if (isSectionExpanded(sectionName)) {
collapseSection(sectionName);
} else {
expandSection(sectionName);
}
}
function collapseSection(sectionName) {
if (!isSectionExpanded(sectionName)) {
return;
}
}
function expandSection(sectionName) {
if (isSectionExpanded(sectionName)) {
return;
}
}
function isSectionExpanded(sectionName) {
result = false;
var imageElement = document.getElementById('IMAGE_' + sectionName);
if (imageElement != null) {
result = (imageElement.src== collapseImg.src);
}
return result;
}
To use the above UI Rule, you just need to know which section you want to expand or collapse, and enter its value.
Below is an example where we are expanding one section and collapsing three others:
expandSection('EC_SUBSECTION_EC_REQUEST_DETAILS_4'); collapseSection('EC_SUBSECTION_EC_REQUEST_DETAILS_3'); collapseSection('EC_SUBSECTION_EC_REQUEST_DETAILS_2'); collapseSection('EC_SUBSECTION_EC_REQUEST_DETAILS_1');
You can also check these threads for further information:
http://h30499.www3.hp.com/t5/Project-and-Portfolio-Management/Can-we-have-all-sections-in-the-Request-be-expanded-rather-than/m-p/4185955#M554
http://h30499.www3.hp.com/t5/Project-and-Portfolio-Management/Hide-a-section-with-rules/m-p/5365655#M14997
Hope this helps!
Regards,
Jonathan


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Did the tips above help you in your question?
Please remember to mark the post as solved and provide kudos to the solutions that worked for you.
Regards,
Jonathan


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello, Catherine.
Actually, you can, all you need- is to update few *.jsp files, two java-classes, and create one table in database.
Ieroglif.