Ik probeer het volgende te bereiken:

waar de muis is. Hier krijg ik wel Company, maar wanneer ik hier op klik is dit leeg.
daarvoor heb ik de volgende tutorial gebruikt:
http://technet.microsoft.com/en-us/library/cc178976.aspx
en ben ik uit de volgende code gekomen:
ContosoTemplates.xml:
echter werkt het niet.
Heb ik het volgende weer geprobeerd:
http://social.technet.mic...42-41ce-8232-b04655ff8d3e
http://social.technet.mic...ce-48e8-aa6a-dcc599ec7cd7
http://social.technet.mic...fb-4a6c-a981-49f68127bf77
elke keer zie ik HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\Spotlight\Content gevuld worden, met de juiste waarden dus daar kan het niet aan liggen. Na elke test gooi ik deze key helemaal weg.
Zelfs 1 template werkt niet / zie ik niet terwijl de key's dus wel worden gevuld.
\\WS02\ is een goede share waar ik gewoon bij kan. Heb ook het volledige pad geprobeerd, werkt ook niet helaas: c:\.......
Heb het ook geprobeer zonder plaatjes dus de volgende code:
werkt helaas ook niet.
Heeft iemand een idee?
waar de muis is. Hier krijg ik wel Company, maar wanneer ik hier op klik is dit leeg.
daarvoor heb ik de volgende tutorial gebruikt:
http://technet.microsoft.com/en-us/library/cc178976.aspx
en ben ik uit de volgende code gekomen:
ContosoTemplates.xml:
XML:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
| <?xml version="1.0" encoding="utf-8"?> <o:featuredcontent lcid="1031" xmlns:o="urn:schemas-microsoft-com:office:office"> <o:application id="WD"> <o:featuredtemplates startdate="2007-06-11" enddate="2015-01-01"> <!-- TEMPLATE 1 --> <o:featuredtemplate title="Template 1" source="\\WS02\sjabloon\Company\Source\template1.dotx" > <o:media mediatype="gif" filename="template.gif" source="\\WS02\sjabloon\Company\media\template.gif" /> <o:preview filename="template.gif" source="\\WS02\sjabloon\Company\preview\template.gif" /> </o:featuredtemplate> <!-- TEMPLATE 2 <o:featuredtemplate title="Template 2" source="\\WS02\sjabloon\Company\Source\template2.dotx" > <o:media mediatype="gif" filename="template.gif" source="\\WS02\sjabloon\Company\media\template.gif" /> <o:preview filename="template.gif" source="\\WS02\sjabloon\Company\preview\template.gif" /> </o:featuredtemplate> <!-- TEMPLATE 3 <o:featuredtemplate title="Template 3" source="\\WS02\sjabloon\Company\Source\template3.dotx" > <o:media mediatype="gif" filename="template.gif" source="\\WS02\sjabloon\Company\media\template.gif" /> <o:preview filename="template.gif" source="\\WS02\sjabloon\Company\preview\template.gif" /> </o:featuredtemplate> <!-- TEMPLATE 4 <o:featuredtemplate title="Template 4" source="\\WS02\sjabloon\Company\Source\template4.dotx" > <o:media mediatype="gif" filename="template.gif" source="\\WS02\sjabloon\Company\media\template.gif" /> <o:preview filename="template.gif" source="\\WS02\sjabloon\Company\preview\template.gif" /> </o:featuredtemplate> <!-- TEMPLATE 5 <o:featuredtemplate title="Template 5" source="\\WS02\sjabloon\Company\Source\template5.dotx" > <o:media mediatype="gif" filename="template.gif" source="\\WS02\sjabloon\Company\media\template.gif" /> <o:preview filename="template.gif" source="\\WS02\sjabloon\Company\preview\template.gif" /> </o:featuredtemplate> ---> </o:featuredtemplates> </o:application> </o:featuredcontent> |
code:
1
2
3
4
5
| Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\Spotlight\Providers\COMPANY] "ServiceURL"="\\\\ws02\\offerte_sjabloon\\Company\\ContosoTemplates.xml" "Application"="WD" |
echter werkt het niet.
Heb ik het volgende weer geprobeerd:
http://social.technet.mic...42-41ce-8232-b04655ff8d3e
http://social.technet.mic...ce-48e8-aa6a-dcc599ec7cd7
http://social.technet.mic...fb-4a6c-a981-49f68127bf77
elke keer zie ik HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\Spotlight\Content gevuld worden, met de juiste waarden dus daar kan het niet aan liggen. Na elke test gooi ik deze key helemaal weg.
Zelfs 1 template werkt niet / zie ik niet terwijl de key's dus wel worden gevuld.
\\WS02\ is een goede share waar ik gewoon bij kan. Heb ook het volledige pad geprobeerd, werkt ook niet helaas: c:\.......
Heb het ook geprobeer zonder plaatjes dus de volgende code:
XML:
1
2
3
4
5
6
7
8
9
10
11
12
| <?xml version="1.0" encoding="utf-8"?> <o:featuredcontent lcid="1031" xmlns:o="urn:schemas-microsoft-com:office:office"> <o:application id="WD"> <o:featuredtemplates startdate="2007-06-11" enddate="2015-01-01"> <!-- TEMPLATE 1 --> <o:featuredtemplate title="Template 1" source="\\WS02\sjabloon\Company\Source\template1.dotx" > </o:featuredtemplate> </o:featuredtemplates> </o:application> </o:featuredcontent> |
werkt helaas ook niet.
Heeft iemand een idee?