Adding to Xml file
 
 

Changing the appmenus.xml file

The Xml file that contains all the menu information is located at: c:\program files\officeclip\7\officeclip\APP_Code\appmenus.xml. This file is copied to the c:\program files\officeclip\7\officeclip\custom\api\walkthru1\appmenus.xml folder and changed as shown below:

   File: c:\program files\officeclip\7\officeclip\custom\api\walkthru1\appmenus.xml                                  
        ------------------------------------------------------------------------------------------------
  ........
  ........
  ........                      
      </MenubarItem>
    </MenubarItem>
  </Menubar>
  <Toolbar>
    <ToolbarItem tbId="1" appId="15"  skinID="alerttoolbaritem" alternateSkinID="alertblinktoolbaritem"/>
    <ToolbarItem tbId="-2" appId="-1"  skinID="tbLine" />
    <ToolbarItem tbId="2" appId="-1"  skinID="portaltoolbaritem" Selected="True">
      <Leftbar>
        <LeftbarItem appId="14" imageUrl="leftbar/homepage.gif" Selected="True"/>
        <LeftbarItem appId="18" imageUrl="leftbar/announcement.gif"/>
        <LeftbarItem appId="21" imageUrl="leftbar/notes.gif" />
        <LeftbarItem appId="3" imageUrl="leftbar/bookmark.gif" />
        <LeftbarItem appId="9" imageUrl="leftbar/bulletin.gif" />
        <LeftbarItem appId="25" imageUrl="leftbar/rss.gif" />
        <LeftbarItem appId="17" imageUrl="leftbar/photo.gif" />
        <LeftbarItem appId="16" imageUrl="leftbar/poll.gif" />
        <LeftbarItem appId="1001" name="System Info" tooltip="See System Information" 
         imageUrl="leftbar/tutorial.gif" url="custom/API/Walkthru1/info.aspx"/>
      </Leftbar>
    </ToolbarItem>
    <ToolbarItem tbId="3" appId="-1" skinID="desktoptoolbaritem">
      <Leftbar>
        <LeftbarItem appId="1" imageUrl="leftbar/calendar.gif" Selected="True" />
        <LeftbarItem appId="20" imageUrl="leftbar/task.gif" />
        <LeftbarItem appId="10" imageUrl="leftbar/document.gif" />
        <LeftbarItem appId="13" imageUrl="leftbar/usermanager.gif" />
  .......
  .......
  .......
        ------------------------------------------------------------------------------------------------                                        
                                                

Note: The application id of your custom application should be more than 1000 and should be unique across all custom applications.

Changing the custom.xml file

The Xml file that drives this application is called custom.xml (as discussed in a previous section). This file is located at c:\program files\officeclip\7\officeclip\custom\custom.xml. Entries needs to be put in this file for OfficeClip server to use the custom files instead of its own files

   File: c:\program files\officeclip\7\officeclip\custom\api\walkthru1\appmenus.xml                                  
        ------------------------------------------------------------------------------------------------
   ....
   ....
   ....
  <customizations>
  <!-- Walkthru1 adds a new application to OfficeClip -->
      <custom id="1001" in="APP_Data/AppMenus.xml" out="custom/API/walkthru1/AppMenus.xml" active="Y"/>
      <custom id="1002" in="images/leftbar/tutorial.gif" out="custom/API/walkthru1/info.gif" active="Y"/>
   ....
   ....
   ....
   -------------------------------------------------------------------------------------------------
   

Note: All custom ids should be more than 1000 and should be unique across all custom ids.

The "in" parameter in the custom.xml file denotes the location of the file that OfficeClip will generally use whenever this file is accessed by OfficeClip. By specifying the "out" parameter we are telling OfficeClip to use this file instead of the file in the "in" parameter.



 Send us your feedback  Copyright© OfficeClip LLC 2000-2006, All Rights Reserved 

 OfficeClip provides a suite of web-based enterprise software such as Web Contact Manager, Issue and Bug Tracker, Time and Expense Reporting, Free Group Calendar, Free Document Sharing and other applications.