立即与支持人员聊天
与支持团队交流

Identity Manager 9.1 - Web Designer Reference Guide

The Web Designer editor Web Designer structures and functions The Web Designer object model Working with the Web Designer Web project configuration options Customizing the Web Portal Basics of Web Designer programming Compiling and debugging Monitoring Frequent tasks in the Web Portal

Debugging mode support functions

NOTE: A WCF connection must be established for functions which support debugging mode.

Table 19: Function supporting debug mode in the preview
Icon Function

Updating the preview.

The Web Portal start page is displayed on update. This button has varying displays. The following visuals are possible:

  • If the button is displayed in combination with the start icon, modifications made to the web project in the definition tree view have not been compiled. After you click the button, the modifications are compiled and displayed in the preview.
  • The button is combined with a question mark if it is unclear whether modifications have been made to the web project.

Use the arrow next to this button to select other menu items. The following menu items are available:

  • Create new predefined connections: You can add any amount of login data for different users. Predefined login data is listed under this menu item. If you are one of the users in this list, you can login simple by mouse click. This saves you entering your login name and password in the login on the start page preview. Predefined connections are deleted the moment you close the Web Designer.
  • Copy to clipboard: If you select this menu item, you copy the link to your web project start page that you see in the preview.
  • The browsers you use on your computer are automatically inserted into the menu as extra menu items. The preview is displayed with the browser of your choice.
Suppress action.

Use this button to prevent the action running in the preview. This can be helpful when you want to view a certain node in the definition tree view in more detail, for example.


One node back/forward.

Use Back and Forward to navigate backward or forward between selected objects in the history in the Web Portal preview mode. However, the history is not shown here.

Enable debugger.

Use this button to toggle the debugger on and off. If the button is blue highlighted, the debugger is enabled. When the debugger is enabled, all actions are run in succession (for example one node at a time).

If the debugger is stopped in "Pause" mode, To continue the debugger, click Resume debugging.

Single step mode.

The single step mode button is only enabled when the debugger is enabled. If single step mode is enabled, the action is suspended at every step that is run in the definition tree view. If single step mode is disabled, the action continues on to the next break point (break points are inserted on action nodes in the definition tree view using the context menu).

Resume debugging.

This button is enabled when the debugger is enabled insofar as any program steps remain to be carried out, for example no user entries are anticipated. Clicking this button launches the next program command.

Footer toolbar functions

In addition to a toolbar, the preview window also has a footer toolbar. The following functions are available to you.

Table 20: Functions in the preview window status bar
Icon Function
Status display.

Here, "Done" means that compilation and rendering of the current project state have been completed and that entries can be made in the relevant pages.

769x485 Pixel lines.

The pixel line count indicates the dimensions of the window area that is available for the display of rendered HTML code. This information obviates the need for scroll bars during programming in cases where the amount of available browser space is known. This is influenced by the screen resolution and the number of menu bars displayed in the browser.

Use this button to switch from the preview to the monitor page.
Use this button to switch from the monitor page to the preview.

Solution

You can open the solution view from the View menu. It lists all the Web Designer objects that can be opened from the navigation view. The solution view depends on your choice of project. If a solution project was selected when the Web Designer was started, the entries are listed by database module and you can disable compilation of individual database modules.

You can identify objects whose status has changed in the Web Designer on the Solution tab. Differences between changes in the Web Designer and changes to resources in the database or on the hard disk are marked. A new tab is opened in the definition tree view by double-clicking on an object. The following table described the features of the Solution tab.

Table 21: Database project solutions and solution projects
Project Description
Database project In database projects, all the elements are listed under the Solution node that can be opened from the navigation view.
Table 22: Solution columns of a database project
Column Description
Object identifier Name of the object.
DB status If the database is up to date, this shows "Up to date". Otherwise the user is who made the change is displayed.
Status Web Designer This shows "Changed" if changes have been made or "Unchanged" if not.
Reload This show a option if the object is new. Selected object can be reloaded.
Select Reload selected objects to reload the selected objects.
Solution Project

In a solution project, the database modules are listed under the Solution modes as subnodes.

Database modules whose status has not changed, are shown as collapsed nodes.

If you mark a subnode, you can run additional tasks. Use the right mouse button to open the same context menu that is available in Windows browsers. Available items are, for example, Apache Subversion, Git or similar.

Table 23: Solution columns of a solution project
Column Description
Object identifier Name of the object.

Status drive

 

If the drive is up to date, this shows "Up to date". Otherwise a time when the changes will be made is shown.
Status Web Designer This shows "Changed" if changes have been made or "Unchanged" if not.
Reload This show a option if the object is new. Selected object can be reloaded.
  Select Reload selected objects to reload the selected objects.
Path Path to file on the drive.
Additional functions can be carried out on the solution project's sub nodes.

The following table shows the actions you can carry out on the Solution tab.

Table 24: Actions tab "Solution"
Button Description
Refreshes the list of database objects.
Reloads selected objects.
Marks all modified objects to be refreshed.

Disables module compilation. Compilation runs without the disabled module.

(This action is only available if a solution project was selected when the Web Designer was started.)

Filters modified objects only.

Viewing generated code

You can view and copy generated code with help of the buttons from the database object toolbar in the definition tree view. This function is particularly useful if you are looking at C# code in detail and want to reuse parts of the code or want to examine an error in more detail.

NOTE: If you want to search for a specific point in the code, you can use the shortcut Ctrl + F.

To copy generated code

  1. In the definition tree view, mark the position in the code and select Copy.

    The code is copied into the clipboard.

  2. Inset the copied code at another point.
Detailed information about this topic
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级