Microsoft KB Archive/307871

= HOW TO: Configure a System Policy to Change the Text and URL in the Office Assistant for Finding More Help on the Web in Office XP =

Article ID: 307871

Article Last Modified on 1/3/2006

-

APPLIES TO


 * Microsoft Office XP Professional Edition
 * Microsoft Office XP Standard Edition
 * Microsoft Office XP Developer Edition
 * Microsoft Office XP Small Business Edition
 * Microsoft Office XP Standard Edition for Students and Teachers

-



This article was previously published under Q307871



IN THIS TASK
SUMMARY
 * Change the Text and URL in the Office Assistant
 * Change the Feedback URL That Points to the Office Web Site
 * Customize the Feedback Form



SUMMARY
When a user searches for help by using the Office Assistant, a list of possible topics relating to the search is displayed, along with a link for getting more assistance by visiting the Microsoft Office Web site. You can configure a policy setting to modify the text and URL for this link to redirect the user to a different site, such as an internal support site. This article describes how you can change the text and URL in the Office Assistant for finding more help on the Web by configuring a system policy setting.

back to the top

Change the Text and URL in the Office Assistant
You may have an internal support site that you want users to send to feedback to, rather than the default feedback site that is used in the Office Assistant. You can change the text in the Office Assistant that reads &quot;None of the above, search for more on the Web&quot; to a text that is more appropriate for your setting.

When a user clicks None of the above, search for more on the Web in the Office Assistant, the user is presented with a feedback form. The user can type a comment in the form about the problem the user is experiencing and the type of Help topic that the user expects the Assistant to return. If the user chooses to submit the comment, the user is directed to the Microsoft Office Web site, where a search for applicable information is automatically run again, using the user's original question. You can also change the feedback URL that points to the Office Web site.

back to the top

Change the Feedback URL That Points to the Office Web Site
First, you must configure a policy that changes the text that is used in the Office Assistant.

To configure a policy that changes the text:
 * 1) In the System Policy Editor, double-click the Default User icon.
 * 2) Expand (click the plus [+] sign) the Microsoft Office XP node.
 * 3) Expand the Assistant node.
 * 4) Expand the Help on the Web node.
 * 5) Select the Feedback dialog text check box.
 * 6) In the Settings for Feedback dialog text work area, type the text that you want to use. The maximum length of text is 255 characters.

Now you must configure another policy to change the feedback URL (perhaps to an intranet support site). To do this, follow these steps:
 * 1) In the System Policy Editor, double-click the Default User icon.
 * 2) Expand (click the plus [+] sign) the Microsoft Office XP node.
 * 3) Expand the Assistant node.
 * 4) Expand the Help on the Web node.
 * 5) Select the Feedback URL check box.
 * 6) In the Settings for Feedback URL work area, type the URL that you want to use. The maximum length for the URL is 255 characters.

back to the top

Customize the Feedback Form
If you want to redirect information to your organization's support staff, you can customize the feedback form and create a custom Active Server Pages (ASP page) file to handle the information from the form.

To customize the feedback form, modify the following three options in the sample Answiz.asp file:
 * F_log=1

Set to 0 to disable logging of users' questions. Default is 1.
 * f_redirect_to_MS=1

Set to 0 to disable sending of information to the Microsoft Office Web site. Default is 1.
 * Where_if_not_MS=&quot;alert.htm&quot;

Set to the URL of the page you want users to see after they submit the feedback form. This option is valid only if you set the redirect option to 0.

The following is an example of the Answiz.asp file: <% response.expires = 0

f_log = 1 f_redirect_to_MS = 1 where_if_not_MS = &quot;alert.htm&quot;

APP = request.form(&quot;app&quot;)    ' used UQ = request.form(&quot;UQ&quot;)      ' used UD = request.form(&quot;UD&quot;)      ' not used IAP = request.form(&quot;IAP&quot;)    ' not used HLCID = request.form(&quot;HLCID&quot;) ' not used OPC = request.form(&quot;OPC&quot;)    ' not used OCC = request.form(&quot;OCC&quot;)    ' not used

if f_log = 1 then app=mid(app,11) what_tl_log=APP & &quot;:&quot; & UQ  what_to_log=mid(what_to_log,1,80) response.appendToLog(what_to_log) end if

if f_redirect_to_MS = 1 then redirloc = &quot;http://www.Microsoft.com/office/&quot; redirloc = redirloc&&quot;redirect/fromOffice10/answerwizard.asp&quot;

public buffer public buff2 quote = chr(34) LF = chr(10) & chr(13) ' carriage return and line feed

function bufferwrite(x) buffer=buffer & x  End Function

buffer=&quot;&quot;

bufferwrite(&quot;&quot; & LF) for each i in request.form buff2=&quot; name=&quot; & quote & i & quote & &quot; value=&quot; & quote & _ request.form(i) & quote bufferwrite(&quot;&quot; & LF) next

bufferwrite(&quot; &quot;) bufferflush %>   <% else response.redirect(where_if_not_MS) end if %>

back to the top

Keywords: kbhowtomaster KB307871

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.