Write Web Page

 

Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Orchestrator, System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator

The Write Web Page activity will create or add information to an HTML file. When creating new web pages with the Write Web Page activity, you can use templates that can contain any of the formatting that you require. When using the Write Web Page activity to create web pages, all occurrences of the tags <DOC-TITLE> and <DOC-TEXT> will be replaced by the title and text that you specify, respectively.

When using the Write Web Page activity to append to an existing web page, you will specify an HTML tag that will mark the position where the page will be appended. The Write Web Page activity will append the text above the HTML tag that you have specified.

The Write Web Page activity can be used to output the entire audit log of a runbook that was run to correct a problem on the network. You can also use the Write Web Page activity to keep a constant update of what maintenance runbooks are running and their status.

Use the following information to configure the Write Web Page activity.

General Tab

SettingsConfiguration Instructions
NameType a descriptive name for the activity.
DescriptionType a detailed description of the actions of the activity.
TypeSelect the Type from the drop-down list that matches the server you want to monitor. The options include the following:

- Create Web Page
- Append to Web Page

Configuration instructions for each Details tab Type are listed in the following tables.

Details Tab Create Web Page

SettingsConfiguration Instructions
TitleType the title of the web page. If you are using a template, this value will replace <DOC-TITLE> anywhere it appears in the template file. If you are not using a template, this value will be used within the <TITLE> tag in the header of the HTML file.
TextType the text of the web page. If you are using a template, this value will replace <DOC-TEXT> anywhere it appears in the template file. If you are not using a template, this value will be used within the <BODY> tag in the header of the HTML file.
TemplateType the path and file name of the template file that you are using. You can also use the ellipsis (...) button to browse for the file.
FolderType the path of the folder where you want the web page to be created.
File nameSelect to specify the file name of the web page that will be created.
Create a file with a unique nameSelect to automatically generate a unique name for the web page when it is created. This file will have the extension .html.

Details Tab Append to Web Page

SettingsConfiguration Instructions
TagType the tag that will mark the point where the page will be appended. It is recommended to use the default tag <OP-TAG-APPEND-WEB>.
TextType the text that will be appended to the web page.
Web pageType the path and file name of the web page file that you are appending. You can also use the ellipsis (...) button to browse for the file.

Published Data

The following table lists the published data items.

ItemDescription
Full path and name of Web PageThe full path of the HTML file that was created or appended.
Source text of the web page createdThe text contained within the HTML file.
Title to add to the created web pageThe title that was added to the web page. This published data is only available when Create Web Page is selected on the General tab.
Text to add to the web pageThe text that was added to the web page. This value is determined by the Text field in both the Create Web Page and Append to Web Page modes.
Show: