4.1 GetSpotlight
A protocol client could issue the following command to request a list of all templates from the "Routing Target" document library that were designed for LCID 0x0409 (en-US) and that were classed as "WD" templates:
http://site/dc/_layouts/GetSpotlight.ashx?lidhelp=0409&ListName=Routing%20Target&app=WD
The following example is sample XML that might be returned for this request. This XML specifies a single template located at "http://site/dc/Routing Target/Forms/template.dotx" whose preferred save location for new documents is "http://site/dc/Routing Target".
-
<?xml version="1.0" encoding="UTF-8"?> <!--Office Server generated Spotlight XML--> <o:featuredcontent lcid="1033" xmlns:o="urn:schemas-microsoft-com:office:office"> <o:application id="WD"> <o:featuredtemplates startdate="1901-01-01" enddate="2201-01-01"> <o:featuredtemplate source="http://site/dc/Routing Target/Forms/template.dotx" lmod="Mon, 27 Apr 2009 21:11:03 GMT" savelocation="http://site/dc/Routing Target" title="Document" filename="template.dotx"> </o:featuredtemplate> </o:featuredtemplates> </o:application>
-
</o:featuredcontent>