SA XT for web access : System Architect XT : Customizing System Architect XT : Sample components in the configuration files : Commercial questions page
  
Commercial questions page
The Commercial Questions page is a component inside of the commercial.xml file. It contains multiple questions, grouped by modeling domain, that are critical to the enterprise. The defence.xml file has an equivalent component, named Defence Questions, which is grouped by Operational, System and Technology Views. Each question is basically a pre-written report that queries the encyclopedia currently in view.
The inks in the Questions box send the reportfile, reportname, and stylesheet values to the getpage.aspx file, which runs the report and displays the result in a secondary window. The sample Questions box shown below, with the header label ‘PROCESS’ is from the Configuration File commercial.xml file.
A section of the code for the commercialquestions component is shown below.
<pagename="commercialquestions">
<componentname="Intro" type="Intro" class="intro">
<H1>Enterprise Questions</H1>
<P>This site allows you to ask questions about the business. Questions are grouped into the seven modelling domains; Enterprise, Process, Organization, Location, Data, Application and Technology. A further category based around requirements is also provided.</P>
<P>You may also create your own questions.</P>
<component/>
<componentname="Process" type="Link" class="boxSmall left" style="height:140px" header="PROCESS" format="Table" scrolling="Y" newpage="Y">
<linktarget="ip/getpage.aspx?reportfile=Enterprise_Questions&amp;reportname=Process (BPMN) Using Most Applications&amp;DDID=&amp;stylesheet=/stylesheets/Count Children (Top 10).xsl"label="Which processes use the highest number of applications?"/>
<linktarget="ip/getpage.aspx?reportfile=Enterprise_Questions&amp;reportname=Processes (BPMN) Carried Out At Most Locations&amp;DDID=&amp;stylesheet=/stylesheets/Count Children (Top 10).xsl"label="Which processes are carried out at the highest number of locations?"/>
. . .
<component/>
</page>