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.
|Name||Type a descriptive name for the activity.|
|Description||Type a detailed description of the actions of the activity.|
|Type||Select 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.
|Title||Type 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.|
|Text||Type 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.|
|Template||Type 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.|
|Folder||Type the path of the folder where you want the web page to be created.|
|File name||Select to specify the file name of the web page that will be created.|
|Create a file with a unique name||Select to automatically generate a unique name for the web page when it is created. This file will have the extension .html.|
|Tag||Type 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>.|
|Text||Type the text that will be appended to the web page.|
|Web page||Type 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.|
The following table lists the published data items.
|Full path and name of Web Page||The full path of the HTML file that was created or appended.|
|Source text of the web page created||The text contained within the HTML file.|
|Title to add to the created web page||The 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 page||The 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.|