Chat now with support
Chat with Support

Identity Manager 8.0 - Web Designer Reference Guide

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

Declaring Context Parameters

NOTE: You can only declare context parameter in modules.

Context parameters are utilized in things like automatically generated emails. These emails contain a link referencing a fixed point in the web application. This option removes step-by-step navigation in the application from the user.

Example: Approving a request

A manager receives an email that an employee has been added and can request permissions. The email contains a link to a custom request page with preset data of the new employee.

To disable a context parameter for a module

NOTE: You have already selected a module. In the above example, the CCC_ITShop_Approvals module is used.

  1. Click in the definition tree view and open the Configuration node.
  2. Select the data object UID_PersonWantsOrg in the subnode Context parameters.

    Now you can edit the following settings for this context parameter in Node editor.

    Table 58: Context parameter settings
    Setting Description
    Identifier The name of the selected data object is preset.
    Option "Mandatory parmeter". If this option is enabled, the parameter is mandatory.
    Type Parameter type selection.
    Comment Specifies how the parameter is used.
  3. Modify settings, and then click .
Detailed information about this topic

Executing Microsoft .NET Framework Code

Microsoft .NET FrameworkExecuting Code

The web project defined in the Web Designer is translated by the compiler in C# language. This compiles the complete logic of the definition document into a directly executable Microsoft .NET Framework assembly. It is possible to incorporate your own C# source code into this procedure. This way, you have access to the complete functionality of various execution layers. In this section, it will be explained how you incorporate your own C# source code.

Runtime API

Web Designer objects written in C# code can be integrated directly into the object definition. This makes customizing the web application very flexible.

The web project code uses the Web Designer runtime API. The runtime API supplies the following functionality, which is required for the web project.

  • Managing database connections with VI.DB.dll
  • Authenticating and authorizing HTTP traffic
  • Web controls
  • Debugging Web Designer interfaces

The following diagram exemplifies the layer structure of components from the web project to the database.

For detailed information about runtime API classes, see the OneIM_QBM_WebRuntime.chm file.

Figure 2: Structure from the web project to the database

Integrating Code in Object Definitions

In Web Designer you can insert a C# code snippet in an object’s code using the Code snippet node type.

//------------------------------------------------------------------------------

// <auto-generated>

// This code is tool generated

// Runtime version:4.0.30319.34209

//

// Changes to this file may cause incorrect behavior and be overwritten when

// the code is regenerated.

// </auto-generated>

//------------------------------------------------------------------------------

NOTE: Changes to the code remain intact even on regeneration, when you make them in the Web Designer.

Related Documents