Gibt es eine Möglichkeit, die Ansicht 'Outlook Heute' um
benutzerdefinierte Elemente zu erweitern?
Beispiel: Ich möchte mir auf dieser Seite das Fälligkeits-
datum von Aufgaben in einem Öffentlichen Ordner anzeigen.
Ich bin, wie immer, für jede Hilfe dankbar! :o))
Gruß
Martin
Hallo!!
>
> Gibt es eine Möglichkeit, die Ansicht 'Outlook Heute' um
> benutzerdefinierte Elemente zu erweitern?
>
Inzwischen weiß ich, wie man das macht. Die Lösung heißt
HTML und Databinding.
Aber jetzt stellt sich mir eine neue Frage:
Die Felder der Outlook-Datenbank sind mir namentlich ein
kleines Rätsel. Weiß jemand, wie die Felder der Datenbank
heißen?
Und? Was ist, wenn ich Benutzerdefinierte Felder anzeigen
möchte.
Best Regard
Martin
>Hallo Martin,
>lass doch was von Deinem Wissen raus und ich schicke Dir eine
>Liste der Feldbezeichnungen im Outlook bzw. derer die man beim
>scripten braucht.
>Grüsse
Na gut... :o))
Allerdings ist die HTML-Datei etwas größer. Ich hoffe, man verzeiht mir
das etwas umfangreichere posting.
Outlook Heute läßt sich als HTML-Datei realisieren und dann im OL2000
als Homepage anzeigen.
Meine Anpassungen basieren auf eine Beispieldatei von Microsoft, die
um den Zugriff auf den öffentlichen Ordner 'Projekte' erweitert wurde.
Gruß
Martin
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<!-- OLKBASEHREF -->
<style>
a {color:windowtext;}
body
{margin-top:0px;margin-right:0px;margin-left:0px;}
.CalendarSubjectLocation {}
.CalendarStartEnd {}
.InboxCount {font-weight:bold;}
.InboxCountZero {font-weight:normal;}
.options
{color:white;font-family:Tahoma;font-size:8pt;text-decoration:none;}
.date
{margin-bottom:4px;color:white;font-family:Arial;font-size:11pt;font-weight:
bold; }
.itemNormal {font-size:8pt;font-family:Tahoma;
text-decoration:none;color:windowtext; }
.times {font-size:7pt; line-height:11pt;
font-family:Tahoma; text-decoration:none; cursor:hand; color:buttonshadow;}
.PastTimes {color:buttonface; line-height:11pt;
font-size:7pt;text-decoration:none; cursor:hand; }
.SplitDayTimes {color:teal; font-size:7pt;
line-height:11pt;text-decoration:none; cursor:hand; }
.allDayEventTimes {color:teal; line-height:11pt;
font-size:7pt;text-decoration:none; cursor:hand; }
.TskDone {font-size:8pt;color:gray;
text-decoration:line-through;}
.itemImportant {color:red}
.dayHeaders
{font-family:Tahoma;font-size:8pt;font-weight:bold;width:100%; height:100%;
border-color:#CCCCCC;
border-width:.1em;
border-bottom-style:solid;
border-top-style:none;
border-right-style:none;
border-left-style:none;
color:windowtext;
cursor:default;}
.SplitDay {font-size:8pt; font-family:Tahoma;
text-decoration:none;color:teal;}
.allDayEvent {font-size:8pt; font-family:Tahoma;
text-decoration:none;color:teal;}
.ApptPast {color:buttonface; }
.Folder {color:windowtext;
font-family:Tahoma;font-size:8pt;text-decoration:none; }
.NextAppt
{font-family:Marlett;font-size:10pt;line-height:12pt;font-weight:bold;text-d
ecoration:none;color:darkred; }
.OnGoing
{font-family:Marlett;font-size:10pt;line-height:12pt;font-weight:bold;text-d
ecoration:none;color:darkred; }
.ImportanceIcon
{font-family:Symbol;font-size:11pt;font-weight:bold;text-decoration:none;col
or:red; }
TD {font-family:tahoma; font-size:8pt;}
.component {background-color:buttonface; height:16px;
color:windowtext;cursor:hand;font-family:Tahoma;
font-size:8pt;font-weight:bold;}
.componentLink {text-decoration:none; }
.borderBottom {
border-color:#CCCCCC;
border-width:.1em;
border-bottom-style:solid;
border-top-style:none;
border-right-style:none;
border-left-style:none;
}
.borderRight {BORDER-RIGHT: rgb(192,192,192) 1px solid;
color:buttonface;}
.button2 {
position:relative;
height:100%;
text-decoration:none;
color: white;
font-weight: normal;
font-size: 8pt;
font-family:tahoma;
border-width:.1em;
border-style:solid;
border-bottom-color:black;
border-top-color:black;
border-right-color:black;
border-left-color:black;
}
.button2over {
position:relative;
height:100%;
text-decoration:none;
color: white;
font-size: 8pt;
font-family:tahoma;
font-weight: normal;
border-width:.1em;
border-style:solid;
border-bottom-color:gray;
border-top-color:white;
border-right-color:gray;
border-left-color:white;
}
.button2down {
position:relative;
height:100%;
font-family:tahoma;
font-size:8pt;
text-decoration:none;
color: white;
font-weight: normal;
border-width:.1em;
border-style:solid;
border-bottom-color:white;
border-top-color:gray;
border-right-color:white;
border-left-color:gray;
}
</STYLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Outlook Heute</title>
<!-- OUTLOOK Objekte für Datanbindung -->
<OBJECT ID="CalList" CLASSID="CLSID:0468C085-CA5B-11D0-AF08-00609797F0E0">
<PARAM NAME="Module" VALUE="Calendar">
</OBJECT>
<OBJECT ID="TaskList" CLASSID="CLSID:0468C085-CA5B-11D0-AF08-00609797F0E0">
<PARAM NAME="Module" VALUE="Tasks">
</OBJECT>
<OBJECT ID="MailList" CLASSID="CLSID:0468C085-CA5B-11D0-AF08-00609797F0E0">
<PARAM NAME="Module" VALUE="Inbox">
</OBJECT>
<!-- Selbstdefinierter Zugriff -->
<OBJECT ID="ProjektList"
CLASSID="CLSID:0468C085-CA5B-11D0-AF08-00609797F0E0">
<PARAM NAME="Module" VALUE="Tasks">
<PARAM NAME="Path" VALUE="\\Öffentliche Ordner\Alle Öffentlichen
Ordner\EDV\Projekte">
</OBJECT>
</HEAD>
<BODY>
<!-- Seitenkopf -->
<TABLE border=0 cellPadding=0 cellSpacing=0 width=100% bgcolor=black>
<TR>
<td height=28 valign=top width=120px align=left>
<img src=clock.gif border=0 align=left valign=top hspace=0 vspace=0
height=30px>
</td>
<TD height=28 noWrap valign=bottom>
<div id=dateScript class=date></div>
</TD>
<TD height=28 noWrap vAlign=bottom align=right>
<table border=0 cellpadding=1 id=topbuttons1 height=20px>
<tr>
<td valign=top> </td>
<td width=4px> </td>
</tr>
</table>
</TR>
</TABLE>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr>
<td colspan=9 width=12px> </td>
</tr>
<tr>
<!-- Ab hier: Kalender -->
<td valign=top width=47%>
<table cellpadding=2 cellspacing=0 border=0 width=100%>
<tr>
<td><div style='margin-left:9px'> </div></td>
<td id=CellCalHdr class=component child=CalendarHeader
onclick="window.document.location.href='outlook:calendar';window.event.retur
nValue=false;" vAlign=bottom width=100% nowrap>
<a id=CalendarHeader href="outlook:calendar"
onclick="window.event.cancelBubble=true;"
class=componentLink>Kalender</a></TD>
</tr>
</table>
<br>
<table id=CalendarLiveTable border=0 cellspacing=1 cellpadding=2
valign=top width=100% name="ItemCol" datasrc="#CalList" style="display:;">
<tr>
<td nowrap valign=top width=10px align=left>
<div datafld="Next" DATAFORMATAS="html"></DIV>
</td>
<td valign=top nowrap>
<DIV DATAFLD="StartEnd" DATAFORMATAS="html"
class=CalendarStartEnd > </DIV>
</td>
<td valign=top width=100%><div datafld="SubjectLocation"
DATAFORMATAS="html" class=CalendarSubjectLocation> </DIV></TD>
</tr>
</table>
<TABLE id=CalendarStaticTable border=0 cellspacing=1 cellpadding=2
valign=top width=100%>
<!-- RENSTATICTABLE~Calendar~Next=nowrap valign=top width=10px
align=left~StartEnd=valign=top nowrap ~SubjectLocation=valign=top
width=100%~ -->
</table>
</tr>
</td>
<td width=12px class=borderRight><img src=gap.gif width=12px
border=0></td>
<td width=12px><img src=gap.gif width=12px border=0></td>
<!-- Ab hier: Aufgaben -->
<td valign=top width=33%>
<table cellpadding=2 cellspacing=0 width=100%>
<tr>
<td id=TaskHdrCell class=component child=TasksHeader
onclick="window.document.location.href='outlook:tasks';window.event.returnVa
lue=false;" vAlign=bottom width=100% nowrap>
<a id=TasksHeader href="outlook:tasks"
onclick="window.event.cancelBubble=true;"
class=componentLink>Aufgaben</a></td>
</tr>
</table>
<br>
<table border=0 name="TaskCol" cellspacing=0 id=TasksLiveTable
datasrc="#TaskList" width=100% style="display:;">
<TBODY>
<TR>
<TD width=1px><INPUT TYPE=checkbox DATAFORMATAS="Text"
DATAFLD="Complete" height=20px></TD>
<TD width=1px><DIV DATAFLD="Importance" DATAFORMATAS="html"
class=TaskImportance></DIV></TD>
<TD><DIV DATAFLD="Subject" DATAFORMATAS="html"
class=TaskSubject></DIV></TD>
</TR>
</TBODY>
</table>
<table border=0 id=TasksStaticTable cellspacing=0 width=100%>
<!-- RENSTATICTABLE~Tasks~!Complete=width=20px
height=22px~Importance=width=1px~Subject=~ -->
</table>
</td>
<td width=12px class=borderRight><img src=gap.gif width=12px
border=0></td>
<td width=12px><img src=gap.gif width=12px border=0><img src=gap.gif
width=12px border=0></td>
<!-- Ab hier: Nachrichten -->
<td valign=top width=20%>
<table cellpadding=2 cellspacing=0 width=100%>
<tr>
<TD id=CellMail class=component child=MailHeader
onclick="window.document.location.href='outlook:inbox';window.event.returnVa
lue=false;" VAlign=bottom width=100% nowrap> <a id=MailHeader
href="outlook:inbox" onclick="window.event.cancelBubble=true;"
class=componentLink>Nachrichten</a></td>
</tr>
</table>
<br>
<table border=0 name="MailCol" id=InboxLiveTable datasrc="#MailList"
cellspacing=0 width=100% style="display:;">
<tbody>
<tr>
<td align=left valign=top class=borderBottom><DIV DATAFLD="Name"
DATAFORMATAS="html" class=Folder></DIV></td>
<td nowrap valign=top class=borderBottom align=right><DIV
DATAFLD="Count" DATAFORMATAS="html" class=InboxCount></DIV></td>
</tr>
</tbody>
</table>
<table id=InboxStaticTable border=0 cellspacing=0 width=100%>
<!-- RENSTATICTABLE~Inbox~Name=align=left class=borderBottom
valign=top~Count=class=borderBottom align=right valign=top nowrap~ -->
</table>
</td>
<td width=12px><img src=gap.gif width=12px border=0></td>
</tr>
</table>
<br>
<br>
<br>
<!-- Projektanzeige beginnt hier -->
<table bgcolor="#FFFFCE" >
<tr>
<td valign=top width=47%>
<table cellpadding=2 cellspacing=0 border=0 width=100%>
<tr>
<td><div style='margin-left:9px'> </div></td>
<td id=CellCalHdr class=component child=TasksHeader
onclick="window.document.location.href='outlook:\\Öffentliche Ordner\Alle
Öffentlichen Ordner\EDV \Projekte';window.event.returnValue=false;"
vAlign=bottom width=100% nowrap> <a id=TasksHeader
href="outlook:\\Öffentliche Ordner\Alle Öffentlichen Ordner\EDV\Projekte"
onclick="window.event.cancelBubble=true;" >Projekte</a></td>
</tr>
</table>
<table id=TaskLiveTable border=0 cellspacing=1 cellpadding=2 valign=top
width=100% name="ItemCol" datasrc="#ProjektList" style="display:;">
<tr>
<TD width=1px><INPUT TYPE=checkbox DATAFORMATAS="Text"
DATAFLD="Complete" height=20px></TD>
<TD width=1px><DIV DATAFLD="Importance" DATAFORMATAS="html"
class=TaskImportance></DIV></TD>
<TD><DIV datafld="Subject" DATAFORMATAS="html"
class=TaskSubject> </DIV></TD>
</tr>
</table>
</table>
<!--
------------------------------------------------------------------------
SCRIPT
------------------------------------------------------------------------
-->
<!-- This script block runs after the window has finished loading
(and after the datasource controls have rendered themselves)
Thus it should be used for frosting that does not effect the
page's core functionality. -->
<script defer for=window event=onload language="JavaScript">
///////////////////////////////////////////////////////////////////////////
// Displays the date in the banner
document.all.dateScript.innerHTML = window.external.GetDate();
/////////////////////////////////////////////////////////////////////
//Event Handling Functions
document.onmouseover = rollOn
document.onmouseout = rollOff
function rollOn() {
var e;
var child;
e = window.event.srcElement;
child = document.all[e.getAttribute("child", false)];
switch ( e.className )
{
case 'options':
{
OptionsCell.className = "button2over";
}
break;
case 'itemNormal':
{
e.style.textDecorationUnderline = true;
}
break;
case 'allDayEvent':
{
e.style.textDecorationUnderline = true;
}
break;
case 'allDayEventTimes':
{
e.style.textDecorationUnderline = true;
}
break;
case 'times':
{
e.style.textDecorationUnderline = true;
}
break;
case 'ApptPast':
{
e.style.textDecorationUnderline = true;
}
break;
case 'PastTimes':
{
e.style.textDecorationUnderline = true;
}
break;
case 'itemImportant':
{
e.style.textDecorationUnderline = true;
}
break;
case 'TskDone':
{
e.style.textDecorationUnderline = true;
}
break;
case 'component':
{
//child.style.textDecorationUnderline = true;
}
break;
case 'componentLink':
{
e.style.textDecorationUnderline = true;
}
break;
case 'link':
{
e.style.textDecorationUnderline = true;
}
break;
case 'SplitDay':
{
e.style.textDecorationUnderline = true;
}
break;
case 'SplitDayTimes':
{
e.style.textDecorationUnderline = true;
}
break;
case 'Folder':
{
e.style.textDecorationUnderline = true;
}
break;
}
window.event.cancelBubble = true;
}
function rollOff() {
var e;
var child;
e = window.event.srcElement;
child = document.all[e.getAttribute("child", false)];
switch ( e.className )
{
case 'options':
{
OptionsCell.className = "button2";
}
break;
case 'itemNormal':
{
e.style.textDecorationUnderline = false;
}
break;
case 'allDayEvent':
{
e.style.textDecorationUnderline = false;
}
break;
case 'allDayEventTimes':
{
e.style.textDecorationUnderline = false;
}
break;
case 'times':
{
e.style.textDecorationUnderline = false;
}
break;
case 'ApptPast':
{
e.style.textDecorationUnderline = false;
}
break;
case 'PastTimes':
{
e.style.textDecorationUnderline = false;
}
break;
case 'itemImportant':
{
e.style.textDecorationUnderline = false;
}
break;
case 'TskDone':
{
e.style.textDecorationUnderline = false;
}
break;
case 'component':
{
//child.style.textDecorationUnderline = false;
}
break;
case 'componentLink':
{
e.style.textDecorationUnderline = false;
}
break;
case 'link':
{
e.style.textDecorationUnderline = false;
}
break;
case 'SplitDay':
{
e.style.textDecorationUnderline = false;
}
break;
case 'SplitDayTimes':
{
e.style.textDecorationUnderline = false;
}
break;
case 'Folder':
{
e.style.textDecorationUnderline = false;
}
break;
}
window.event.cancelBubble = true;
}
</script>
</body>
</html>
-----------------------------------------------------
Feldbezeichnung im Outlook Feldname bzw. Datenherkunft
Object Model
Account Konto
Actions 4
Anniversary 31.12.99
Application
AssistantName Assistent
AssistantTelephoneNumber Telefon Assistent
Attachments 2
BillingInformation Abrechnungsinformationen
Birthday 01.01.99
Body
Business2TelephoneNumber Telefon geschäftlich 2
BusinessAddress G_Straße
G_PLZ G_Ort, G_Region
G_Land
BusinessAddressCity G_Ort
BusinessAddressCountry G_Land
BusinessAddressPostalCode G_PLZ
BusinessAddressPostOfficeB G_Postfach
ox
BusinessAddressState G_Region
BusinessAddressStreet G_Straße
BusinessFaxNumber FaxGeschäftlich
BusinessHomePage http://Webseite
BusinessTelephoneNumber TelefonGeschäftlich
CallbackTelephoneNumber Tel. für Rückmeldung
CarTelephoneNumber Autotelefon
Categories Kategorien
Children Kinder
Class 40
Companies
CompanyAndFullName Firma
Nachname, Vorname WeitereVornamen
CompanyLastFirstNoSpace Firma
NachnameVorname WeitereVornamen
CompanyLastFirstSpaceOnly Firma
Nachname Vorname WeitereVornamen
CompanyMainTelephoneNumber Telefonzentrale Firma
CompanyName Firma
ComputerNetworkName Netzwerkname des Computers
ConversationIndex rmaien.
ConversationTopic Vorname WeitereVornamen Nachname
Namenszusatz
CreationTime 15.09.99 18:51:52
CustomerID Kundennr.
Department Abteilung
Email1Address E-M...@test.de
Email1AddressType SMTP
Email1DisplayName Vorname WeitereVornamen Nachname
Namenszusatz (E-
Mail)
Email1EntryID ;rname WeitereVornamen Nachname
Email2Address E-M...@Test.de
Email2AddressType SMTP
Email2DisplayName Vorname WeitereVornamen Nachname
Namenszusatz (E-
Mail 2)
Email2EntryID =rname WeitereVornamen Nachname
Email3Address Ema...@test.de
Email3AddressType SMTP
Email3DisplayName Vorname WeitereVornamen Nachname
Namenszusatz (E-
Mail 3)
Email3EntryID ;rname WeitereVornamen Nachname
EntryID
0000000009842E06B230D3119F15C0C65DC50000640B2100
FileAs Nachname, Vorname WeitereVornamen
FirstName Vorname
FormDescription
FTPSite http://FTPSite
FullName Anrede Vorname WeitereVornamen
Nachname
Namenszusatz
FullNameAndCompany Nachname, Vorname WeitereVornamen
Firma
Gender 2
GetInspector
GovernmentIDNumber Regierungsnr.
Hobby Hobbies
Home2TelephoneNumber Telefon privat 2
HomeAddress P_Straße
P_PLZ P_Ort, P_Region
P_Land
HomeAddressCity P_Ort
HomeAddressCountry P_Land
HomeAddressPostalCode P_PLZ
HomeAddressPostOfficeBox P_Postfach
HomeAddressState P_Region
HomeAddressStreet P_Straße
HomeFaxNumber FaxPrivat
HomeTelephoneNumber TelefonPrivat
Icon
Importance 1
Initials V.W.N.
InternetFreeBusyAddress
ISDNNumber ISDN
JobTitle Position
Journal Falsch
Language Sprache
LastFirstAndSuffix Nachname, Vorname WeitereVornamen
Namenszusatz
LastFirstNoSpace NachnameVorname WeitereVornamen
LastFirstNoSpaceCompany NachnameVorname WeitereVornamen
Firma
LastFirstSpaceOnly Nachname Vorname WeitereVornamen
LastFirstSpaceOnlyCompany Nachname Vorname WeitereVornamen
Firma
LastModificationTime 15.09.99 19:14:08
LastName Nachname
LastNameAndFirstName Nachname, Vorname WeitereVornamen
MailingAddress G_Straße
G_PLZ G_Ort, G_Region
G_Land
MailingAddressCity G_Ort
MailingAddressCountry G_Land
MailingAddressPostalCode G_PLZ
MailingAddressPostOfficeBo
x
MailingAddressState G_Region
MailingAddressStreet G_Straße
ManagerName Vorgesetzter
MessageClass IPM.Contact
MiddleName WeitereVornamen
Mileage Reisekilometer
MobileTelephoneNumber Mobiltelefon
NetMeetingAlias
NetMeetingServer
NickName Spitzname
NoAging Falsch
OfficeLocation Büro
OrganizationalIDNumber Organisationsnr.
OtherAddress W_Straße
W_PLZ W_Ort, W_Region
W_Land
OtherAddressCity W_Ort
OtherAddressCountry W_Land
OtherAddressPostalCode W_PLZ
OtherAddressPostOfficeBox Weitere Adresse: Postfach
OtherAddressState W_Region
OtherAddressStreet W_Straße
OtherFaxNumber Weiteres Fax
OtherTelephoneNumber Telefon 7 ausgewählt
OutlookInternalVersion 5104
OutlookVersion 8.5
PagerNumber Pager
Parent Kontakte
PersonalHomePage http://Startseite privat
PrimaryTelephoneNumber Haupttelefon
Profession Beruf
RadioTelephoneNumber Funkruf
ReferredBy Empfohlenvon
Saved Wahr
SelectedMailingAddress 2
Sensitivity 0
Session Mapi
Size 15515
Spouse Partner
Subject Vorname WeitereVornamen Nachname
Namenszusatz
Suffix Namenszusatz
TelexNumber Telex
Title Anrede
TTYTDDTelephoneNumber Texttelefon
UnRead
User1 Benutzerfeld1
User2 Benutzerfeld2
User3 Benutzerfeld3
User4 Benutzerfeld4
WebPage http://Webseite
YomiCompanyName
YomiFirstName
YomiLastName
---------------------------------------------------------------
Hallo Leutz!
D. Wenzel hat mir freundlicherweise eine Feldliste der Outlook-
Datenbank zukommen lassen!
An dieser Stelle: Herzlichen Dank Detlev. Ist mir eine große Hilfe!
Aber: Mein Aufgabenformular, das ich auslesen möchte und dessen
Daten ich in Outlook Heute anzeigen will, enthält sehr viele Benutzer
definierte Felder.
Diese brauche ich unbedingt! Wie komme ich da ran??
(kleine Anmerkung am Rande... Auch den Inhalt anderer Felder in der
Datenbank will er nicht anzeigen. Nur 'Subject' 'Complete' und 'Imp-
portance' werden angezeigt. Es sind aber EINIGE Felder mit 100%iger
Sicherheit gefüllt!)
Wieder mal dankbar für Hilfe
Martin
Gruß
Arne Winkler
"M. de Hoogh" <deh...@gmx.de> schrieb im Newsbeitrag
news:eWWfnEgKAHA.241@cppssbbsa05...
"> Schau mal unter http://www.microsoft.com/DigitalNervousSystem nach. Es
gibt
> eine Menge zum Download.
>
Leider ist die Seite nicht mehr da! :o(
Gruß
Martin