惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
B
Blog RSS Feed
阮一峰的网络日志
阮一峰的网络日志
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Help Net Security
MyScale Blog
MyScale Blog
WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
Martin Fowler
Martin Fowler
Vercel News
Vercel News
S
SegmentFault 最新的问题
M
MIT News - Artificial intelligence
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
Last Week in AI
Last Week in AI
Hugging Face - Blog
Hugging Face - Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
Engineering at Meta
Engineering at Meta
云风的 BLOG
云风的 BLOG

博客园 - johnny tu

Moving............. Tech.ED North America 2008 Launch! (June 10-13,2008) 开启硬件辅助虚拟化——Intel虚拟化之旅 Exchange, I know something you don't know What is the Placeholder Domain Model? Office Communicator 2007 with Polycom How To Create AD Users with PowerShell - johnny tu Damn it! Microsoft Newsletters @ China. About the Statement Of Work(SOW) Microsoft Product Support's Reporting Tools The ROUTE of OCS Edge Server got ERROR About Windows 2008 "Data Execution Prevention" - johnny tu exchange2007+outlook2007,无法使用外出助理 打开exchange2007管理控制台时,提示没有读取服务器安全描述符的权限 Exchange 2007 被攻击 exchange 2007 CCR 的...MSDTC 问题???? 在Exchange2007中,如何批量建立用户邮箱 Exchange 2007 AcitveDirectory架构 智能邮件筛选疑问
Customizing the OC 2.0 Client /part 01
johnny tu · 2008-05-05 · via 博客园 - johnny tu

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.