5. Double-click on the customp.reg fi le to execute.
6. Click on Yes to the Registry editor message Are you sure you want to add the
information in c:\share\customp.reg to the registry?.
7. Click on Yes to the Confi rm Restore Key message window (see Figure A.3).
Figure A.3 Importing the Registry Key
Consider the following points while confi guring custom presence states:
?– The length of the status message should not exceed 64 characters.
?– Custom presence states are available only with Available, Busy, and Do Not Disturb
status messages.
?– You can add only four custom states.
?– While mentioning the location of the XML fi le, only fi le:///, http://, and https://
addresses are supported.
408 Appendix A ??? Customizing the MOC Client
Let??™s look at the XML fi le closely to understand the tags that are used (see Table A.1).
NOTE
Knowledge of XML is essential to tweak the code. Administrators with prior
HTML experience can learn XML very easily. XML fi les consist of three essential
components: a Document Type Defi nition (DTD) fi le or schema, a style sheet,
and the main XML program. You can learn more about XML through tutorials
available at www.w3.org/XML.
Table A.1 Custom Presence XML File
Code Description
Defi nes the XML version
newsite/customStates???
xmlns:xsi=???http://www.w3.org/2001/ Points to the XML instance
XMLSchema-instance???
xsi:schemaLocation=???http://demo/ Points to the XML schema defi nition
newsite/customStates fi le
http://demo/newsite/Custom-
Activities.
Pages:
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415