| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Server Extension Programmer's Guide:
|
File name |
Description |
MyCustomCommand.asp |
The ASP file that contains the custom command implementation. |
These ASP files implement a custom viewer for files with the ".txt" extension.
This application uses the following Server Access API interfaces: IERUCustomContext, IERURoom, IERUItem, IERUPrincipalItem, and IERUFacility.
The following table describes each of the files used in the custom viewer:
File name |
Description |
eRoom_TextViewer.asp |
Contains a Main() subroutine that implements popup and standalone modes. |
eRoom_TextViewer_class.asp |
The class file that implements embedded mode. |
This is a synchronous event handler that turns on version tracking for every file that is uploaded to the eRoom Server. Autoversion uses the eRoom synchronous event handler mechanism so that it is notified every time a file is uploaded.
Interfaces used
This application uses the following Server Access API interfaces: IERUSynchronousEvent, IERUSEvent_AddFile_After, IERUItem, IERUFile, and IERUSynchronousEventRegister
This application implements the IERUEventHandler Server Access API interface.
Application files
The following table describes the files used in the SynchronousAutoVersion application:
File name |
Description |
SynchronousAutoVersion.dsp |
The VisualC++ project file. |
SynchronousAutoVersion.dsw |
The VisualC++ workspace file. |
SynchronousAutoVersion.cpp |
Implements the entry points for the DLL. |
SynchronousAutoVersion.def |
Exports the entry points for the DLL. |
SynchronousAutoVersionps.def |
Exports the entry points for the proxy/stub DLL. |
SynchronousAutoVersion.dll |
The synchronousAutoVersion DLL. |
SynchronousAutoVersionps.mk |
The file that contains the build parameters. |
SynchronousAutoVersion.idl |
Defines the interface for the ERAutoversion COM object. |
SynchronousAutoVersion.rc |
Defines the resources for the application. |
StdAfx.cpp |
Precompiled header. |
StdAfx.h |
Precompiled header. |
resource.h |
Contains the resource IDs. |
ERAutoversion.cpp |
The class implementation for the ERAutoversion COM object. |
ERAutoversion.h |
Class definition for the ERAutoversion COM object. |
ERAutoversion.rgs |
The registry file. |
This application handles the following synchronous events by tracing a message every time one of these events is triggered:
erSynchEventType_ItemAdd,
erSynchEventType_ItemDelete
erSynchEventType_ItemModify
erSynchEventType_ItemMove
erSynchEventType_ItemCopy
This application uses the following Server Access API interfaces:
IERUTraceMessage, IERUSynchronousEvent, IERUSEvent_Item, IERUSEvent_ItemCopy, IERUSEvent_ItemMove, IERUSEvent_Item.
This application implements the IERUEventHandler interface.
The following table describes each of the files used in the ItemLogger application:
File name |
Description |
clsItemLogger.cls |
Subroutines that implement the IERUEventHandler interface. |
Common.bas |
Helper subroutines that convert between strings and enumeration values and that log the messages to eTrace. |
Item.bas |
The subroutine that handles the item add, item delete, and item modify events. |
ItemCopy.bas |
The subroutine that handles the item copy event. |
ItemLogger.dll |
The ItemLogger DLL. |
ItemMoved.bas |
The subroutine that handles the item moved event. |
SynchronousEventsItemLogger.vbp |
The Visual Basic project file. |
This ASP page pops up a dialog every time an eRoom user creates a user. It allows for the eRoom user to either create a user immediately, cancel the action, or use the eRoom dialog to create the new user.
This application uses the following Server Access API interfaces:
IERUMember, IERUCommunity.
Only one file is used in this application: CreateUserUIEvent.asp. This file contains the UI event handler implementation.
This ASP page pops up a dialog every time an eRoom user creates a room. It allows for the eRoom user to either create a the room immediately, cancel the action, or use the eRoom dialog to create the new room.
This application uses the following Server Access API interfaces:
IERUUser, IERUCommunity, IERUSiteFacility, IERUSite.
Only one file is used in this application: CreateRoomUIEvent.asp. This file contains the UI event handler implementation.