werner - Friday, November 7, 2008 7:08 AM:
hello everybody,
i want to change the appearence of the "My Desktop" area.
1. i want to set the default view to the list (like if pressing the "Switch view" button).
2. only the last generation of an dcument item should be shown.
3. i want to show more attributes in the list (not only item and type)
thanks for your help!
regards werner
tstickel - Thursday, November 13, 2008 10:27 AM:
Werner;
The "My Desktop" area is controlled by .html located in the ..ArasInnovator901InnovatorClientscriptsDesktop
folder. If you look at Desktop.html there is a statement:
frames.WSarea.location = "Desktop-Area.html";
If the statement was changed to:
frames.WSarea.location = "Desktop-Grid.html";
then I believe the grid view would be the default. You would also need to modify a statement in Desktop-Title.html:
var view = 0;
This needs to be changed to
var view = 1;
In fact, if you look at Desktop-Title.html the following code does the view toggling:
function toggle_view() {
if (view == 0) {
parent.WSarea.location = "Desktop-Grid.html";
view = 1;
}
else {
parent.loadDesktopItems()
parent.WSarea.location = "Desktop-Area.html";
view = 0;
}
}
I also believe that Desktop-Grid.html controls which fields are displayed in the grid. But I have not looked in detail at this code.
I suspect that Aras would caution anyone about doing these modifications, as you may have to redo them on subsequent Innovator upgrades.
Terry
abhi1234 - Monday, November 17, 2008 10:37 AM:
hello thanks you for your post, you help is appreciated