























Okay, most customer wanna to customizing their OC Client then integrated with other application system in the communication environment. Today, I will introducing How To adding Tabs with OC 2.0 Client! Final done, lez go!
| Code | Description |
| <?xml version="1.0"?> | Defines the XML version |
| <customStates xmlns="http://demo/newsite/customStates" | Points to the XML namespace |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | Points to the XML instance |
| xsi:schemaLocation="http://demo/newsite/customStates http://demo/newsite/Custom-Activities.xsd"> | Points to the XML schema definition file |
| <customState ID="1" availability="online"> | Starts the CustomState tag. ID=1 refers to the first state of availability.Online is the state. Busy and Do Not Disturb are the other two states you can configure to use custom presence. |
| <activity LCID="1033">Working from Home</activity> | Activity refers to the custom presence state available under Online, Busy, and Do Not Disturb. LCID stands for local ID. |
| </customStates> | Closes the CustomState tag |
1. Opened the Editor, like Notepad and create a sample HTML page with the following code:
<HTML> <HEAD> <TITLE>Sample Page</TITLE> </HEAD> <BODY>This is a sample Page</BODY> </HTML>
then save it as index.html
2. Once again create a XML file like following code:
<?xml version="1.0"?> <tabdata> <tab> <image>http://url/image.png</image> <name>Mail</name> <tooltip>This my Messaging System Site</tooltip> <contecturl>https://mail.bingosoft.net/owa</contecturl> <userid>false</userid> <contactid>false</contactid> <accessibility>inside</accessibility> </tab> <tab> <image>http://url/image.png</image> <name>my blog</name> <tooltip>This is my blog, Ehleox.Lab</tooltip> <contenturl>http://yotu.cnblogs.com</contenturl> <userid>false</userid> <contactid>false</contactid> <accessibility>inside</accessibility> </tab> </tabdata>
Save it to tabs.xml
3. Putting index.html & tabs.xml to a share folder, then create two string value in the Registry Editor, and with the value fie://servername/share/tabs.xml to the following locations:
HKLM\SOFTWARE\Policies\Microsoft\Communicator
HLCU\Software\Policies\Microsoft\Communicator
4. Restart the OC Client. U will getting exciting.
Johnny tu.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。