Microsoft Gold Partner

Contact

Phone: (613) 563-3993
Toll Free: (888) 879-2020
Fax: (613) 563-7233

Email Sales
Email Technical Support

Mail
Beyond 20/20, Suite 500
265 Carling Avenue
Ottawa, ON
Canada
K1S 2E1

Resources

Forum
Wiki
Beyond 20/20 Support
Welcome, Guest
Please Login or Register.    Lost Password?
Re:WDS 8.1: Remove folder date? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:WDS 8.1: Remove folder date?
#69
WDS 8.1: Remove folder date? 10 Months, 1 Week ago  
Is there any way to completely remove the folder's date shown in the WDS?

It is really usefull to have this information for reports but unfortunately, as the folder's content does not correspond to the latest update of the folder's content, we are encountering lot of problem with our users.

Most of them think that the data are not refreshed because the folder date never changes. Even if we explained this several times, it's still the same question and same comment that the head of the statistics branch receives.

Could you please tell us if there is any way to "at least" remove the date? A batch? An apsx modification? other ways?


Thank you in advanced.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#70
Re:WDS 8.1: Remove folder date? 10 Months, 1 Week ago  
At the current time, you cannot remove the date from the folder, and keep it on the files. it is an "all or nothing" setting.

But we are looking through the code right now to see if it can be easily modified.

We will most likely create a preference for this in WDS 8.3
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#71
Re:WDS 8.1: Remove folder date? 10 Months, 1 Week ago  
Thank you Gilles.

Do you have any launch date for the WDS 8.3?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#72
Re:WDS 8.1: Remove folder date? 10 Months, 1 Week ago  
It is too early in our development cycle to have a launch date yet.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#73
Re:WDS 8.1: Remove folder date? 10 Months, 1 Week ago  
hello UNCTAD,

We figured out a way for your to fix the folder's date. It will actually remove it from report folders.

First, make a backup of the reportexplorer.js file, before modifying it.

Then find the file <website>/ReportFolders/reportExplorer.js. Edit it with notepad. Find the function onPageLoad, and replace the whole function with this code:

function onPageLoad() {
onPageLoadGlobal();
onLayoutResize(true);

if (typeof(ObjWdsForm.RF_ReportName) != 'undefined') {
setTimeout("myfocus(ObjWdsForm.RF_ReportName);", 1);
}
setTimeout("onLayoutResize(false);", 10);

//customization - remove dates from lines representing folders.
var clDiv = document.getElementById("SpanTableContents");
var clTable = clDiv.firstChild;
for (var i = 0; i < clTable.rows.length; i++) {
var clRow = clTable.rows[i];
var bFolder = false;
for (var j = 0; j < clRow.cells.length; j++) {
var clCell = clRow.cells[j];
if (clCell.innerHTML.indexOf("OnFolderClick") > 0) {
bFolder = true;
}
if (bFolder) {
if (clCell.className.indexOf("RFDate") > 0) {
clCell.innerHTML = "";
}
}
}
}
}

We have internally tested it with a WDS 8.1 site, in IE 8 and FireFox 5, without any issues.

If you don't feel comfortable doing this yourself, you can send us the file at This e-mail address is being protected from spam bots, you need JavaScript enabled to view it or use the file transfers application on the right side of our web site, and we can modify the code for you and send the file back.

Gilles.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#74
Re:WDS 8.1: Remove folder date? 10 Months, 1 Week ago  
Thank you very much to all the team!
It's perfect.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Designed by Edge Design and Marketing