home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 8 / CDACTUAL8.iso / progs / ite / ite10d1.exe / DATA.Z / README.TXT < prev    next >
Encoding:
Text File  |  1996-09-07  |  23.7 KB  |  440 lines

  1. -------------------------------------------------------------------------------
  2. IntraBuilder Prebuilt Business Solutions
  3. Version 1.0
  4.  
  5. README.TXT
  6. Updated 5:00 PM 9/4/96
  7.  
  8. This file contains information about the prebuilt business solution 
  9. applications that come with IntraBuilder. For general information about
  10. IntraBuilder see the README.TXT file in the main program directory (by default 
  11. this is C:\Program Files\Borland\IntraBuilder). Server installation issues are 
  12. addressed in the file SERVER.HLP, which is also located in the main program 
  13. directory. General installation and uninstallation issues are addressed in the 
  14. file INSTALL.TXT, which remains on your installation disk. 
  15.  
  16. This version includes six prebuilt business solutions:
  17.  
  18.   - Knowledge Base
  19.   - Guest Book
  20.   - Mail Server
  21.   - Phone Book
  22.   - Security Administrator
  23.   - Contact Manager
  24.  
  25. These applications are not just samples of the products capabilities. They are
  26. designed to be reused by you to meet specific intranet needs. In the sections 
  27. below, you'll learn how to setup and run these applications.
  28.  
  29. -------------------------------------------------------------------------------
  30. INTRABUILDER PREBUILT BUSINESS SOLUTION SETUP
  31. -------------------------------------------------------------------------------
  32.  
  33. To run the prebuilt business solutions using your favorite web browser, the
  34. web server needs to be able to communicate with the IntraBuilder server and
  35. the IntraBuilder Server needs to be able to find the solution data.
  36.  
  37. The installation program will take care of all configuration items so
  38. that your web server can communicate with the IntraBuilder server. The
  39. exception to this is when your web server is Microsoft's IIS. To run 
  40. IntraBuilder applications with IIS, you need to make sure that your system
  41. login name matches the Anonymous Connections username in your IIS Manager 
  42. setup. This is described in the SERVER.HLP file in your main program 
  43. directory.
  44.  
  45. If you encounter any problems getting the solution applications to run, see
  46. the SERVER.HLP file to make sure that the web server has been configured 
  47. correctly to interact with the IntraBuilder server.
  48.  
  49. After installing IntraBuilder, you can follow these steps to run the prebuilt
  50. business solutions.
  51.  
  52. 1.  Make sure that your web server is running.
  53.  
  54. 2.  Load the IntraBuilder Server on the same machine as the web server.
  55.  
  56. 3.  Load this page in the browser:
  57.  
  58.     http://servername/ibapps/index.htm
  59.  
  60. 4.  From this IntraBuilder home page, you will find links to each of the 
  61.     individual prebuilt business solutions. Just click on the link of your
  62.     choice.
  63.  
  64. The installation program will also take care of the configuration issues
  65. involved in connecting to the solution application data with the exception
  66. of the Contact Manager data. The Contact Manager application uses Access
  67. data and requires an ODBC Access driver. The ODBC and BDE setup is described
  68. in the Contact Manager section below.
  69.  
  70. The other solution applications use Paradox tables and require only a BDE
  71. alias to connect to the data. This alias is automatically created for you 
  72. by the installation program. If you ever need to recreate this alias, run
  73. the BDE Configuration program. This is in the IntraBuilder program group or
  74. Start Menu. Use the Alias page to define an alias named IBAPPS. The 
  75. directory setting should match the full name of the Apps\Data directory;
  76. by default this is c:\Program Files\Borland\IntraBuilder\Apps\Data.
  77.  
  78. -------------------------------------------------------------------------------
  79. USING THE KNOWLEDGE BASE BUSINESS SOLUTION
  80. -------------------------------------------------------------------------------
  81.  
  82. The Knowledge Base application allows you store information and then retrieve
  83. it through the use of a search form. The application includes an administration
  84. form that can be used to manage the Knowledge Base data (add, modify, delete) 
  85. as well as a form for searching the Knowledge Base.
  86.  
  87. To search for data, run the form KBSEARCH.JFM. There is a link to this form 
  88. available from the INDEX.HTM page. The search form allows you to select a
  89. a product and/or category. Each of these lists include an "all" option. Note
  90. that this version of the Knowledge Base only includes a few sample entries for
  91. IntraBuilder itself. You can search for other products, but you won't find 
  92. anything. 
  93.  
  94. You can narrow the search further by entering a single keyword. The search form 
  95. looks for the keyword in the title of the documents as well as in the keyword 
  96. list for each document. Optionally, you can have the search form search the 
  97. body of the document as well. The keyword search is not case sensitive when 
  98. searching the title and keyword list; however, it is case sensitive while 
  99. searching the document itself.
  100.  
  101. Once you have entered the search condition, click the Search button to get a
  102. list of documents that match your search condition. For those of you who like
  103. to look under the hood, look in the KBSEARCH.JFM file to see how the search
  104. is done. A select statement is created in KBSEARCH.JFM and is then passed as
  105. a parameter to KBRESULT.JRP.
  106.  
  107. The Knowledge Base Results report lists each of the documents that match your
  108. search condition. The title of each document is a link to the document itself.
  109. You can simply click on the document title to see the full document. Also at
  110. the bottom of the report, there are links to the home page as well as a link to
  111. the search form.
  112.  
  113. The documents in the Knowledge Base can be updated by using the KBUPDATE.JFM
  114. form. You can get to a link for this form from the INDEX.HTM page. The 
  115. administration form is password protected so that only authorized users may 
  116. update the data. This authorization can be granted using the Security 
  117. Administration solution application described below. The Security 
  118. Administration system was also used to create a resource named KBUPDATE. The 
  119. Knowledge Base update page insures that only users with access to the resource 
  120. are permitted to update data. For demonstration purposed, members of a 
  121. fictional Customer Service department (see the Phone Book application to view 
  122. the employees in various fictional departments) have been granted access to 
  123. this resource. Two members of this department are Mark and JosΘ. Their 
  124. passwords match their names.
  125.  
  126. Once you have logged in, you can update the Knowledge Base documents. You can
  127. enter a title of up to 80 characters. You can select a product and/or category
  128. for this document. If you select the "all" option for product or category,
  129. the document will only show up if you query for "all." Use the keyword field
  130. to enter words that are related to the document subject. Keyword searches will
  131. search both the title and keywords field, so it is not necessary to list key
  132. words that are also in the title. The document itself can be entered into the 
  133. TextArea box or you can copy and paste from existing documents.
  134.  
  135. The administration form has an option labeled "Allow HTML formatting of this 
  136. document." If you check this box, the document will simply be streamed to the 
  137. web browser as normal text. This means that extra spaces and carriage returns 
  138. will be stripped from the text. It also means that you can include HTML tags in 
  139. the documents. If you do not check this box, the document will be sent to the 
  140. browser as pre-formatted text (using the <pre> and </pre> tags). If you do not 
  141. check the box, be sure to include carriage returns in your document.
  142.  
  143. The administration form includes standard navigation buttons to move between 
  144. documents. In addition there are buttons to add and delete records. When you 
  145. add a record, be sure to Save or Abandon your changes when done. The Save and 
  146. Abandon buttons can also be used while editing existing records. 
  147.  
  148. The New Filter button (on the far right) can be used to limit the number of 
  149. documents that can be viewed. After you click New Filter, you can enter the 
  150. filter conditions and press the Apply Filter button. To abandon the filter mode
  151. and return to the editing mode, select Abandon Filter. You can also use the 
  152. Abandon Filter button to clear a previously set filter. The filter is not case 
  153. sensitive. It will include partial matches from the left of a field, but it 
  154. does not allow for matches in the middle or right of a field.
  155.  
  156. The New Query button (second from the right) can be used to locate the next 
  157. document that matches the query criteria. Once you enter the Query criteria 
  158. and press Apply Query, you will be taken to the next record that meets the 
  159. criteria. You are still free to navigate to other records after this.
  160.  
  161. In addition to the Document Administration page, there is also a Lookup 
  162. Administration page. This lets you update the two lookup tables that are used 
  163. by the Knowledge Base solution. Load the KBLOOKUP.JFM page or select the Lookup
  164. Administration link on the INDEX.HTM page. This is password protected just like 
  165. the Document Administration form described above. It allows you to add or 
  166. delete items from the products and categories lookup tables.
  167.  
  168. -------------------------------------------------------------------------------
  169. USING THE GUEST BOOK BUSINESS SOLUTION
  170. -------------------------------------------------------------------------------
  171.  
  172. The Guest Book application allows you to enter a record of your visit to the
  173. site along with comments. You can then view the comments of others who have
  174. visited the site. Immediately after you enter your comments they are seen along
  175. with all the others.
  176.  
  177. You will find a link to the Guest Book from the INDEX.HTM page. On the
  178. Guest Book Entry form, you have a link to the Entries page that lists all
  179. of the other entries. You can view the entries right away or wait until you 
  180. have entered a record of your own.
  181.  
  182. You can enter your name, email address, and location. The location can be any
  183. type of description such as your city, state, province or country. You can also
  184. check the box to indicate that this is your first visit. Then enter any
  185. comments in the box. When you are done, you can click the submit button to 
  186. permanently record the entry.
  187.  
  188. After submitting your entry, you will have the option of returning to the home
  189. page or of viewing the entries. 
  190.  
  191. When you view the entries, they will be presented in order by the date and time
  192. of the visit. The most recent entries are shown first, so your entry should be 
  193. right there at the top.
  194.  
  195. There is another link on the INDEX.HTM page to the Guest Book Administration 
  196. page. This page allows you to view the guest book entries one by one. You can 
  197. then edit the entries, search for entries, or even delete them.
  198.  
  199. The administration form is password protected, so that only the web site 
  200. administrators can update the entries. (See the Security Administration 
  201. prebuilt business solution for more information on setting up this type of 
  202. security.) The administration form is identified in the security system as the 
  203. GUESTBOOK resource. Only members of the WEBMASTERS group have access to
  204. this resource. For demonstration purposes you can use any of these user
  205. names to access the update form: Eugenia, Luke, or Richard (passwords
  206. match the user names).
  207.  
  208. -------------------------------------------------------------------------------
  209. USING THE MAIL SERVER BUSINESS SOLUTION
  210. -------------------------------------------------------------------------------
  211.  
  212. The Mail Server Business Solution allows you to send Internet mail using an
  213. SMTP mail server. The solution application sends mail to the addresses that 
  214. are stored in the Guest Book table. See the Guest Book solution described 
  215. above for more information about the Guest Book.
  216.  
  217. The INDEX.HTM page has a link to the Guest Book Mail Server page. This page
  218. allows you to enter your own email address (as the sender), a title and then
  219. the text of a message. This page sends mail to each address in the Guest 
  220. Book, so there is no need to enter the recipients address. The Send Message
  221. button will begin the process of sending the mail to each recipient.
  222.  
  223. The Guest Book Mail Server page also has a button for configuring the SMTP
  224. outgoing mail server. The Mail Server Configuration page allows you to enter
  225. the name of your SMTP mail server. Check with your system administrator for 
  226. your server's name. The submit button will store the server name in the
  227. system registry at the IntraBuilder server machine. The setting is stored in
  228. HKEY_LOCAL_MACHINE\SOFTWARE\Borland\IntraBuilder\1.0\Guest Book\SMTP Server.
  229. You must specify the name of a mail server, before you can send mail.
  230.  
  231. To integrate mail into your own applications, use the MAILSOCK.DLL file. The
  232. Apps\GuestBk\GBMail.jfm file demonstrates the use of this DLL to send mail.
  233. The DLL contains a function called sendMail. To use this function you must
  234. prototype it in your own IntraBuilder application. The prototype is:
  235.  
  236. extern boolean sendMail(char* /*address*/, 
  237.                         char* /*sender*/, 
  238.                         char* /*subject*/,
  239.                         char* /*body*/ ) "mailSock.dll"
  240.  
  241. Once the sendMail function has been prototyped, you can use it just like 
  242. any built in JavaScript function. Assuming that there are already variables
  243. that contain the addresses, subject and body, you can send mail with this
  244. call:
  245.  
  246. result=sendMail(address, sender, subject, body);
  247.  
  248. The value returned from sendMail is a logical true or false. If true, the
  249. mail was sent, otherwise there was some sort of error communicating with 
  250. the SMTP server. See the GBMail.jfm file for a working example.
  251.  
  252. -------------------------------------------------------------------------------
  253. USING THE PHONE BOOK BUSINESS SOLUTION
  254. -------------------------------------------------------------------------------
  255.  
  256. The Phone Book application can be used within a company or department to 
  257. quickly retrieve information about coworkers, such as their phone number or
  258. location.
  259.  
  260. You begin the phone book application by viewing one of the two phone book 
  261. lists. The phone book can be viewed alphabetically or by department. The 
  262. alphabetical list is PHONEEMP.JRP and the department list is PHONEDEP.JRP.
  263. These lists may contain all the data that you need. But to get more information
  264. and a picture of any employee, simply click on the employee's name. The name 
  265. acts as a link to a document specific to that employee that includes a picture
  266. as well as their department and position.
  267.  
  268. In addition to the list and detail views, there is also a Phone Book 
  269. Administration page for updating the employee data. If you are viewing the 
  270. detail page for an employee you can use the update link to update that 
  271. employee. When viewing the reports, the update link takes you to the first 
  272. employee (by default). The administration form allows you to update employee 
  273. records as well as do searches, additions and deletions.
  274.  
  275. The administration form is password protected so that only managers may update 
  276. employee records. Each employee may also update their own record. If an 
  277. employee (not a manager) loads the administration page, they will only see 
  278. their own record (even if they tried to update a different employee's record). 
  279. For demonstration purposes, you may use the first name of any employee shown in 
  280. the phone list as a user name. The passwords match the user name. When
  281. viewing the department list, titles are shown. Use this information to find 
  282. the user name of any manager.
  283.  
  284. Whenever a user is viewing their own employee record, there is an additional
  285. button to update the security profile. This updates information in the 
  286. security system, not the phone book. Users can use this to update their
  287. description or password.
  288.  
  289. When you are logged into the administration form as a manager, you also have 
  290. the ability to update the department lookup table. The department update form
  291. displays a list of departments. You can add or delete department names from
  292. the list.
  293.  
  294. See the Security Administration prebuilt business solution for more information
  295. about setting up this type of security.
  296.  
  297. -------------------------------------------------------------------------------
  298. USING THE SECURITY ADMINISTRATION BUSINESS SOLUTION
  299. -------------------------------------------------------------------------------
  300.  
  301. The Security Administration prebuilt business solution is used to manage the
  302. various aspects of an application security system. You can define users,
  303. groups, resources and policies. The security system is used by each of the
  304. other solution applications. You will find a link to the Security 
  305. Administration solution on the INDEX.HTM page.
  306.  
  307. The Security Administration page is password protected. Only members of the 
  308. Administrators group can access this page. For demonstration purposes you can
  309. use the user name "SYSDBA" and the password "masterkey" to access the form.
  310. Before deploying your own system with security, be sure to create a new
  311. user in the Administrators group and then delete the SYSDBA user (or at
  312. least change the password).
  313.  
  314. The security system main page allows you to view a list of users, groups,
  315. resources or policies. You can add new items, add a copy of an existing item,
  316. update an existing item or delete an existing item.
  317.  
  318. The Policy Administration form lets you update system policies as well as 
  319. create your own policies. A policy is configuration information that is used
  320. throughout the security system, and is not specific to any one user. The
  321. system policies have to do with passwords and lock outs.
  322.  
  323. The password policies are called CASE, MINPASS and MAXPASS. The CASE policy
  324. determines whether the security system treats passwords as case sensitive
  325. or not. Names are never case sensitive. By default the passwords are not
  326. case sensitive either. MINPASS and MAXPASS define the minimum and maximum
  327. length of a password. This is enforced when creating a new user or when
  328. users change their password.
  329.  
  330. The lock out policies are AUTORESET, LOCOUNT and LOMINUTES. A lock out occurs
  331. after several failed login attempts in a certain amount of time. This security
  332. feature is designed to deter attempts to break into a secure system. The 
  333. LOCOUNT policy determines the number failed logins that will trigger a lock
  334. out. This is set to zero by default, disabling lock out security. The LOMINUTES
  335. policy determines the amount of time that must pass before the lock out 
  336. count for this user is reset. The AUTORESET policy affects what happens after
  337. a lock out has occurred. If this is set on, then the locked out account will
  338. be cleared after the LOMINUTES period has passed. If this is set off, then
  339. only the system administrator can clear the account (this is done using the
  340. User Administration form described below).
  341.  
  342. Note that policies may either be set to a boolean value or a numeric value.
  343. (System policy types can not be changed.) Because of this there are two
  344. places to set the value. Use only the On/Yes/True checkbox when setting
  345. boolean policies, and the Numeric Value text control when setting numeric
  346. policies.
  347.  
  348. The User Administration form lets you create a new user or update an existing
  349. user. You can enter basic information such as name and description. In addition
  350. you can make group and resource assignments. You can temporarily disable 
  351. a user account by checking the Account Disabled option. If a user has been
  352. locked out, you can clear the account by unchecking the Account Locked Out
  353. option.
  354.  
  355. The Group Administration form lets you create a new group or update an 
  356. existing group. You can enter the description of a group. In addition, you
  357. can designate group members and designate the resources that this group has
  358. access to.
  359.  
  360. The Resource Administration form lets you create a new resource or update an 
  361. existing resource. You can enter the description of a resource as well as 
  362. designate which groups and users can access this resource.
  363.  
  364. The information defined in the Security Administration pages can be accessed
  365. by your own applications through the Security Manager API. This API is
  366. defined in the SECURITY.JS file in the Apps\Shared directory. Take a look at 
  367. this file for more information about using the API. Take a look at the other
  368. prebuilt business solutions to see examples of using the API to provide
  369. security.
  370.  
  371. -------------------------------------------------------------------------------
  372. USING THE CONTACT MANAGER BUSINESS SOLUTION
  373. -------------------------------------------------------------------------------
  374.  
  375. The Contact Manager prebuilt business solution allows you to keep track of 
  376. the people you interact with. You can keep personal information for each 
  377. contact person. In addition you can track specific types of contacts, called
  378. events, for each person.
  379.  
  380. The Contact Manager solution uses Access tables. To run this solution, you 
  381. will need an ODBC Access driver. Once you have installed the ODBC Access
  382. driver, create an ODBC data source for the Contact Manager database.
  383.  
  384.    1.  Run the 32Bit ODBC Administrator.
  385.    2.  Select the Add button in the Data Source dialog.
  386.    3.  Select the Access Driver in the Add Data Source dialog.
  387.    4.  Enter any Data Source Name, such as ODBC_Contacts.
  388.    5.  Enter a description, if you wish.
  389.    6.  Press the Select... button.
  390.    7.  Use the Select Database dialog to select the Contacts.mdb file in 
  391.        the c:\Program Files\Borland\IntraBuilder\Apps\Contacts directory.
  392.    8.  Press OK in the Select Database dialog.
  393.    9.  Press Close in the Data Sources dialog.
  394.  
  395. After creating the ODBC data source, you can create the necessary BDE
  396. alias.
  397.  
  398.    1.  Run the BDE Configuration program in the IntraBuilder program group.
  399.    2.  Press the New ODBC Driver button.
  400.    3.  Give the driver a name, such as ODBC_Contacts.
  401.    4.  The Default ODBC Driver should be Microsoft Access Driver.
  402.    5.  Select the Default Data Source Name that you created in step 4 of the
  403.        ODBC setup above.
  404.    6.  Press OK.
  405.    7.  Select the Aliases tab and press the New Alias button.
  406.    8.  Enter CONTACTS as the alias name. This name is required.
  407.    9.  The Alias Type should be the ODBC Driver that you created in steps 2 
  408.        through 6.
  409.   10.  Press OK.
  410.   11.  Select Exit from the File menu to close BDE Configuration.
  411.  
  412. Once you have configured the ODBC data source and the BDE alias, you can run
  413. the Contact Manager prebuilt business solution.
  414.  
  415. To run the application, select the Contact Manager link in the INDEX.HTM page.
  416. This first page allows you to manage events or contacts. The Events page allows
  417. you to view and update information about each contact event. An event can be
  418. any type of interaction between you and the people that you contact. Each 
  419. event contains the name of the person making the contact, the person contacted,
  420. the start and end time of the event, the type of event and comments about the
  421. event. Using the tool bar at the bottom, you can navigate, add or delete 
  422. records. There are also buttons at the button to generate reports based on
  423. the type of contact and the person making the contact. There is also a search
  424. button at the button of the page.
  425.  
  426. The People page allows you to view and update the name, address, and phone
  427. number of each person that you contact. The toolbar at the bottom of the page
  428. allows you to navigate, add or delete records.
  429.  
  430. The type of events displayed in the Events page are contained in a table named
  431. Types. To update this list, you can run the IntraBuilder Designer. Then select
  432. the Tables tab in the IntraBuilder Explorer. Then select the Contacts database
  433. from the Look In combobox. This will display the tables in the Contacts
  434. database. Double clicking the Types table will open it for editing. While
  435. editing you can use the Table menu to add or delete rows or to search for
  436. a particular record.
  437.  
  438. -------------------------------------------------------------------------------
  439. Copyright (c) 1996 Borland International, Inc. All rights reserved.
  440.