Return to HomePage


Question: How to create and Publish a library on web?

Answer:

In order to create a library that can be accessed from the HTTP, use the "Sample library for online feature" (httptest.zip) as a starting point. Its available in download section of Guidance Explorer home page at http://www.gotdotnet.com/codegallery/codegallery.aspx?id=bb9aecfe-56ba-4ca9-8127-44e551b90962

It contains a library file (containing the definition of some folders and views), Test.xml and a set of guidance items for the library in a Guidelines folder.

Creating a online library

* Create a folder GuidanceLibrary and another folder Guidance
* Export all the items as xml which you want to include in the online library to the Guidance folder
* Create an XML file, lets say MyOnlineLibrary.xml, in the GuidanceLibrary folder.
* Copy paste all the content from Test.xml file in the "Sample Library" to MyOnlineLibrary.xml file.
* For all the <item> elements, replace the value with "Guidance/<Guidance Item Name in the Guidance folder>". Make sure you add extra <item> element if required, to cover all the items in the Guidance folder.

Your online Library is ready!!

Publishing a library in IIS

* In IIS create a Virtual Directory pointing to the folder GuidanceLibrary
* Enable anonymous access in the Directory Security tab.

Accessing online library from GE

* On Guidance Explorer right click in the Libraries node, select the menu entry "Subscribe to Library\From Web"
* Type the URL pointing to the library file (MyOnlineLibrary.xml)
* The library will be loaded in the Guidance Explorer.



Rreturn to HomePage
Microsoft Communities