QPR Knowledge Base 2017.1

Setting the Web Publishing Options

Setting the Web Publishing Options

Previous topic Next topic No directory for this topic  

Setting the Web Publishing Options

Previous topic Next topic Topic directory requires JavaScript Mail us feedback on this topic!  

EA_iconPD_icon

Before any web publishing can be done, web styles must be set. The web styles can be defined for the whole model and the server, as well as for individual process steps. In QPR Modeling Client, each model can be defined with its own web page options.

 

mouse_24 Exercise 76: Set the Web Styles for the model, and publish the model in QPR Portal.

 

BTN_AR131. Open the Web Publishing Exercise model.
BTN_AR132. On the Model tab of the ribbon, click Modeling Options. The Modeling Options dialog opens.
BTN_AR133. On the Model Elements tab of the Modeling Options dialog, select the Activity process step type and click Web Styles. The Web Style dialog for Activity type process steps opens.
BTN_AR134. The settings that are in effect are bolded in the Web Style dialog. We'll want to disable the Details view of the Activity type process steps from the web published model. Therefore, from the Link to drop-down menu, select No link and click OK:

dlg_web_style_activity_no_link

 

BTN_AR135. Since maintaining and viewing one huge model can be troublesome, External Models can be used to break down huge models into smaller and more manageable models. We'll want to have the External model type process steps to open the linked model when the External model process step is clicked in the web. Therefore, on the Model Elements tab of the Modeling Options dialog, select External model and click Web Styles. The Web Style dialog for External model type process steps opens.
BTN_AR136. From the Link to drop-down menu, select External model and click OK:

dlg_web_style_external_model_link_to

BTN_AR137. We are now done setting the element type specific web styles. Click OK to close the Modeling Options dialog.
BTN_AR138. On the Home tab of the ribbon, click the Web Styles button. The Web Styles dialog will open. On the Model Styles tab of the dialog we can see the model specific settings for the element types we just made:

dlg_web_styles_activity_external_model

 

BTN_AR139. By default, when only one information item is linked to a process step, the information item is opened directly when the information item icon is clicked. We'll change it so that clicking the icon will open the Details view for the information item. Switch to the Global Styles tab.
BTN_AR1310. The Global Styles tab shows the default web style settings stored in QPR BizArchitecture Server. Select Process Step from the list and click View.
BTN_AR1311. In the Icons section, find the Information item direct link drop-down menu and select Link to details view in it:

dlg_web_style_global_process_step

BTN_AR1312. Click OK to close the Web Style dialog and again OK to close the Web Styles dialog.
BTN_AR1313. On the diagram, double-click the External Model Example process step.
BTN_AR1314. The Process Step Properties dialog opens. Switch to the External Model tab and click Browse Server...
BTN_AR1315. Select Dentorex - Quality Management System from the list of models and click Select.
BTN_AR1316. Click OK to close the Process Step Properties dialog.
BTN_AR1317. In the Application menu, select Save As > Server Model, give the model a name, and click Save.
BTN_AR1318. On the Home tab of the ribbon, click Publish to Web.
BTN_AR1319. Press Ctrl + S to save the model.
BTN_AR1320. (Re)start QPR Web Application Server.
BTN_AR1317. Login to QPR Portal.
BTN_AR1318. Select the Processes tab:

pic_portal_processes_tab

 

BTN_AR1319. Click Select Model and select the model you just saved:

pic_portal_select model

BTN_AR1320. On the Graph section, click the information item icon on top of the Information Item Example process step:

pic_information_item_link

BTN_AR1321. The details of the information item will be shown. Now, click Diagrams:

pic_portal_process_maps

BTN_AR1322. On the Graph section, click the Information Item Example process step. Nothing should happen, because we disabled its link. Now, click the External Model Example process step. The Dentorex - Quality Management System model will open.

 

See the Web Publishing chapter in QPR Modeling Client - User's Guide for more information about web publishing.