Microsoft KB Archive/307870

= HOW TO: Use the Office XP Custom Maintenance Wizard to Change the Text and URL in the Office Assistant for Finding More Help on the Web =

Article ID: 307870

Article Last Modified on 12/19/2005

-

APPLIES TO


 * Microsoft Office XP Professional Edition
 * Microsoft Office XP Standard Edition
 * Microsoft Office XP Developer Edition

-



This article was previously published under Q307870



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 help by visiting the Microsoft Office Web site. You can modify the text and URL for this link to redirect the user to a different site, such as an internal support site, by using the Custom Maintenance Wizard included in the Microsoft Office XP Resource Kit. This article describes how you can use the Custom Maintenance Wizard to change the text and URL in the Office Assistant for finding more help on the Web.

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 feedback to, rather than the default feedback site 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. This form is for typing a comment 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.

back to the top

Change the Feedback URL That Points to the Office Web Site
First, you must use the Custom Maintenance Wizard to change the text that appears in the Office Assistant.

To change the text in the Office Assistant:
 * 1) Start the Custom Maintenance Wizard.
 * 2) Open the MSI for the edition of Office that you want to customize.
 * 3) Navigate to the Change Office User Settings page.
 * 4) Expand (click the plus [+] sign) the Microsoft Office XP (user) node.
 * 5) Expand Assistant and then expand Help on the Web.
 * 6) Type the text that you want in the Feedback dialog text box (or leave it blank).

Next, you use the Custom Maintenance Wizard to change the feedback URL (perhaps to an intranet support site). To do this, follow these steps:
 * 1) While still in the Help on the Web option, type the URL that you want in the Feedback URL text box.
 * 2) Save the CMW file.

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, change 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 that 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 KB307870

-

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

© Microsoft Corporation. All rights reserved.