When you create an element in the Application Builder and save the application for the first time, you see the Finish window. The options for saving the application display on seven tabs—Content, Roles, Presentation, List/Detail, Administration, Answers Anywhere, and Statistics. You can also edit an application any time by clicking Properties in the Application Builder. This section describes the available options when you save or edit an application.
Content tab These options let you set content-specific options, such as the character set in which an application’s text displays. The options on this tab are:
Name – a unique name for the application that contains this element.
Content Type – the type of content the application displays. You can select these option from the drop-down list:
Application/msword
Application/pdf
Application/x-msexcel
Application/x-mspowerpoint
image/gif
image/jpeg
text/html
text/plain
text/rtf
text/xml
Add New
XSL template – displays only when you select “text/xml” as the Content Type. Select an existing XSL template, or create a new one to apply to the application’s content.
Output Type – displays only when you select “text/xml” as the Content Type. Select the type of output in which the application’s content displays.
Charset – the character set in which the application’s content displays.
Content Cache Interval – the interval at which the content of an application is refreshed for the defined source. If this value is not Real Time, the content is held by the cache for the duration of the specified interval. All requests made during this interval receive the cached content.
The default is Real Time, which means that application content is retrieved from its source on every playback request.
Specify custom values by selecting Add New from the drop-down list. Select the minute/second drop-down list and enter a value in the text box.
Parameter – create an invisible parameter to which you can assign click-across events.
Secure – whether this is a secure application.
In Context – indicates that the click-thru session should remain in context (that is, continue to use the internal HTTP client to retrieve destination pages pointed to by links on the page), rather than opening a separate browser connection to each link’s target.
The In Context option helps address capture problems
when a session state is associated with a played-back page, and
the user clicks an application link and the linked content displays
in a new browser window, which results in the session state being
lost.
Linked Applications – allows you to update the application’s source content from a PDA and link the source application with the update application.
No URL Stretch – disables URL stretching (rewriting) on played-back application. If you are having problems with broken images in a played-back application, this can sometimes solve the problem.
Mobile Offline – if you are using a BlackBerry device, this option makes the application viewable on BlackBerry. See “Setting up Applications to be Accessible on the BlackBerry Device” in the Mobile Application Development Tutorial.
Roles tab Users with roles in the Assigned Roles list are the only users that can access the application. Select roles from the Available Roles list and click Add to move the selected roles to the Assigned Roles list.
Presentation tab The options on this tab define how the application and its content display.
Title URL – the Web address, or URL, of the captured content.
Help URL – the location of the online help file associated with the application. Click Select to browse for and select the file.
See the Enterprise Portal Developer’s Guide, Chapter 8, “Building Templates” for information on creating help files.
Refresh Interval – the interval at which the application’s content is refreshed. The browser automatically makes a request for the application content when this interval runs down to zero.
The default is Daily, which translates into 1440 minutes.
Specify custom values by selecting Add New from the drop-down list. Two additional fields display where you enter the new custom value and select whether that value is in minutes or seconds.
Custom Setup Page – use this option to specify the file path to an alternate setup page that contains whatever validation code you want to write. The default setup page is located in onepage\oembase\windows\setupPage.jsp.
You can create a copy of the default setup page and add custom
validation code near the top of the JavaScript function called doPersonalizeOk<%=windowId%>
.
Default Size – select the default size at which you want this application to display only if Display Within IFrame is not selected. Unselect Display Within IFrame to select from Show All, Large, Medium, Small, or Add New.
When you select Add New, another field appears where you enter the size in pixels, for example “500.”
Display Direction – the direction in which the application’s content displays—LTR (left to right) or RTL (right to left). See “Application content display direction” for more details.
Display Within IFrame – displays the application in an inline frame that displays inside of another HTML document or displays directly on a page with other elements flowing around it.
Unlike frames created using <FRAMESET> and <FRAME>, <IFRAME>
creates a frame that sits in the middle of a regular nonframed Web
page. <IFRAME> works like <IMG>, only instead of putting a picture
on the page, it puts another Web page on the page.
These two options are available only when Display Within IFrame is selected.
No Popup – enables this application’s links to display inline; that is, links do not display in a separate pop-up window.
Height – the height at which the application displays. Select New to add a new height in pixels. See “Custom application height” for details.
Editable – whether the application can be edited by users in the roles to view the application.
Show Last Refresh – display the latest refresh image when the application displays. By default, this option is turned on.
Alert – schedule or externally trigger application content for processing.
List/Detail tab This is used to identify the columns to include in the list view and in the detail view. By default, all columns are in the Selected list, indicating all columns will be displayed in the list and detail views on the BlackBerry.
See the Mobile Application Development Tutorial for information about using the List/Detail tab.
The List/Detail tab displays only if the content
includes grid or list data.
Administration tab These options allow you to organize applications into categories, enter development notes, indicate whether the application is inactive (all applications are active by default), and apply versioning controls.
Category/Subcategory – a category and subcategory that best describe the application.
Description/Notes – an optional description or note.
Active – indicates whether the application is active, which is the default. Unselect the option to inactivate the application. Only applications with an approved status and marked as active are available to users.
Versioning – creates a new version of the application each time you save it. Each “Save” creates a new version number.
Answers Anywhere The Answers Anywhere option enables you to access application content using natural language queries using a browser or mobile device.
Application Synonyms – allows you to specify alternate terms to identify the application in user queries.
Field Synonyms
Available Fields – fields that should not be used to identify an application in a query. Leave common fields like name and ID in the available list.
Assigned Fields – fields you can use to identify the application. For example, the query “Get manager for John Doe” works only if the “manager” field is in the assigned list. Do not assign common fields like name and ID that may cause ambiguities.
If the application contains grid data, the result of the query displays data only from the column that matches the name used to identify the application. For example, if the application has three columns named firstname, lastname, and phone respectively, and your query is “get phone for Howard,” only the data in the phone column is returned.
Field Synonyms – alternate names for the assigned field, such as “boss” or “supervisor” for the “manager” field.
Parameter Synonyms
Parameters – list of all exposed parameters in the application (the ones you selected in the Parameters window).
Assigned Synonyms – assign alternate names to parameters. For example, a Yahoo stock parameter is called “s,” which has no real meaning, so you can assign a synonym that has more meaning, such as “ticker” or “symbol.”
Check Conflicts – this button launches a window that alerts you to any potential conflicts in synonyms with other applications. Only synonyms that are used to identify an application are checked. In other words, application synonyms are tested against application synonyms and field synonyms from other applications, and field synonyms are tested against the application synonyms and field synonyms of other applications. Parameter synonyms are not checked for conflicts because they are not used to identify applications.
Default Filter Field – specify which field to use as a default when dynamically creating filter rules.
For example, if you have a database application that shows customer names and contact information in one big table in the application and you want to filter out only one company’s data, you must normally create a query that says something like “get CustInfo name Company A,” where name is the header of the name field in the table.
If you set “name” as the default filter field, you can simply say “get CustInfo from Company A” and UA automatically acts upon the “name” field.
Custom Error Message – you can customize an error message to be sent in case of an error during the processing of a query.
Maximum Number of SMS Messages – specify the maximum number of chunks to send if the response content of an SMS query exceeds the 160-character limit and, therefore, must be divided into chunks.
Statistics The Statistics tab displays the user that created the application, creation and modification dates, and other reference information. For example, the resource ID is displayed. Users are grouped under resources. Each resource corresponds to an Unwired Accelerator co-brand.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |