This guide shows how to create a custom quick start guide in html in Web Viewer. The quick start guide will be available when a user visits Web Viewer for the first time and in the menu.
Step-by-step guide
Follow these steps to add a quick start file to Web Viewer.
- Create an html file for the quick start guide. The file will need to follow the sample format below.
- Each <div id="div1" class="container"> will become one page in the quick tip guide.
- Images can be used in the html file, but they will need to be referred using a specific syntax as described below and placed in a sub folder called Documents/Content.
- Create a new document in Manager.
- Add the quick start document to the document in Manager. Add all the translations needed.
- Set meta data on the document in Manager.
- Set Label="quicktips" or Identity="quicktips".
- Name that allow search, e.g. "Quick tips"
- Add specifications that are searchable but not visible to make the document searchable. E.g. add "Help" as a specification.
- Ensure to set mode as "IncludeInPublish" to ensure the document is included at publish despite not being added to a catalogue.
- Manually copy images used in the html to the site. The images shall be placed in this folder <site>/Documents/Content/ on the editor server.
- Update profile.config to enable quick start guide
<QuickStartGuideEnabled>true</QuickStartGuideEnabled>
<QuickStartGuideNextPreviousButtonEnabled>true</QuickStartGuideNextPreviousButtonEnabled>
<QuickStartGuideDocument identity="quicktips"/> or <QuickStartGuideDocument label="quicktips"/>
Note that images are to be placed in Documents/Content folder and are referred using the "Content?fileName" syntax as below.
<img style="vertical-align:middle" width="800px" src="Content?fileName='image2.png'"/>
If a specific css is used for the Quick start, use the same method and place the css in Documents/Content folder.
<link rel='stylesheet' type='text/css' href='Content?fileName=quicktips.css' media='screen'/>
Quick start guide in pdf
It is also possible to add a pdf-based quick start guide. If this is the case, follow this procedure.
- Add the document to Manager and set metadata according to step 2 and 3 above.
- Update the profile.config according to step 5 above, but omitt the QuickStartGuideNextPreviousButtonEnabled tag since it cannot be used in a pdf.
Sample Quicktips.html file
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
<link rel='stylesheet' type='text/css' href='Content?fileName=quicktips.css' media='screen'/>
</head>
<body id="Quicktips" lang="en-US">
<div id="div1" class="container">
<h1>Welcome to Assert</h1>
<p class="italicparagraph">This parts catalogue...</p>
<div class="imageholder">
<img style="vertical-align:middle" width="800px" src="Content?fileName='image.png'"/>
</div>
</div>
<div id="div2" class="container">
<h2>Change language</h2>
<p class="normalparagraph">You can change language of the interface and/or the documents by selecting "Settings" from the menu.</p>
<div class="imageholder">
<img style="vertical-align:middle" width="800px" src="Content?fileName='image2.png'"/>
</div>
</div>
<div id="div3" class="container">
<h2>Quick search</h2>
<p class="normalparagraph">
You can search in Assert by using the search field. The search results will be presented in information categories. <br/>
To enter a search hit, click on the result item. By hitting "enter" you will navigate to the first search hit.<br/>
</p>
<p class="normalparagraph-italic">
<b>Tip:</b> Use the "Advanced search", at the bottom of the Quick search result, to see more search results or to perform detailed searches.
</p>
<br/>
<div class="imageholder">
<img style="vertical-align:middle" width="800px" src="Content?fileName='image3.png'"/>
</div>
</div>
</body>
</html>
Related articles