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 (307871)



The information in this article applies to:

  • Microsoft Office XP Professional
  • Microsoft Office XP Standard
  • Microsoft Office XP Developer
  • Microsoft Office XP Small Business
  • Microsoft Office XP Students and Teachers

This article was previously published under Q307871

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 "None of the above, search for more on the Web" 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="alert.htm"
    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 = "alert.htm"

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

if f_log = 1 then
   app=mid(app,11)
   what_tl_log=APP & ":" & 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 = "http://www.Microsoft.com/office/"
   redirloc = redirloc&"redirect/fromOffice10/answerwizard.asp"

   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=""

   bufferwrite("<form action-" & redirloc & " method=post name=f>" & LF)
   for each i in request.form
buff2=" name=" & quote & i & quote & " value=" & quote & _ request.form(i) & quote
      bufferwrite("<input type=hidden" & buff2 & ">" & LF)
   next

   bufferwrite("</form>")
   bufferflush
   %>
   <script language=javascript for=window event=onLoad()>
      <!--f.submit();-->
   </script>
   <%
else
   response.redirect(where_if_not_MS)
end if
%>

				

back to the top

Modification Type:MinorLast Reviewed:1/3/2006
Keywords:kbHOWTOmaster KB307871 kbAudITPro