Macro Login Setup - Intergraph Smart Materials - Version 10.1 - Administration & Configuration - Hexagon

Intergraph Smart Materials Classic Administration (10.1)

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Administration & Configuration
Smart Materials/Smart Reference Data Version
10.1

The ‘macro login’ functionality enables you to navigate directly to identified data if a direct link form is entered. You can go directly to the Smart Materials project / screen / record that is linked with the query condition specified on A.60.10.

The ‘macro login’ functionality is available for the following screens:

  • P.20.01 Suppliers/Subcontractors

  • P.30.11 Inquiries

  • P.50.01 Agreements

  • R.30.01 Maintain Requisitions

  • S.50.06 Specification Management

Hyperlinks for the queried data have been added in the functionality for early warning alerts. To configure the macro login functionality, the following steps must be executed:

  1. On A.20.05 User, set the e-mail address of the user for whom the mail is to be sent.

  2. Append the following entry to the FORMSWEB.CFG on the application server.

    Configure login [macro_login]

    Set otherparams=p_id=%p_id%

    Form (fmx) name shall be logon_link.fmx

    User id must be configured for the person to whom we intend to send mail. This is shown below:

    userid=m_login/m_login@<YOUR_HOST_STRING>

    Set the property separateFrame to true as shown below:

    SeparateFrame=True

    Set the item Lookandfeel property to generic as shown:

    Lookandfeel=Generic

    Set width=1024

    Set height=768

    Set the current working directory path as shown below:

    workingDirectory=<Path of FMX Directory on Application Server ex: D:\user\joey\FMX>

    Set the item splashScreen property to 'no' as shown below:

    splashScreen=no

    Set archive_ie=f90all.cab

    Example of a configuration in the formsweb.cfg:

    [macro_login]

    otherparams=p_id=%p_id%

    Form=logon_link.fmx

    userid=m_login/m_login@smat8

    SeparateFrame=True

    Lookandfeel=Generic

    width=1024

    height=768

    workingDirectory=C:\SPM2011\fmx

    splashScreen=no

    archive_ie=f90all.cab

  3. On A.60.04 DBA Settings, check and set the following DBA settings:

    DEFAULT_TNS_NAMES_ENTRY

    EMAIL_ACCOUNT

    LOG_EWQ_HANDLING

    LOG_EMAIL_HANDLING

    LOG_FILE_DEST

    NLS_SETTING_ON_DB

    PLUS_EXECUTABLE

    SMTP_CLIENT

    SMTP_HOST

    SMTP_PORT

    WEBHELP_SERVER

    You can find a detailed description of how to set DBA Settings and the purpose and usage of each DBA setting in DBA Settings.

  4. On A.20.12 Project Defaults, set the following project defaults:

    ZX_LOGINP

    ZX_LOGINDP

    You can find a detailed description of how to set project defaults and the purpose and usage of each project default in Project Defaults.

The configuration of this functionality is now complete. Create an early warning alert with a direct link form specified on the A.60.10 Early Warning Alerts screen. Click the Parse Query button to ensure that the query runs without any errors. To validate all the settings for this functionality, click the Validate Settings button.

On the A.60.11 Early Warning Setup screen, specify early warning alert users who should receive the e-mail with hyperlinks. To send the e-mail with the hyperlinks, click the Start Alert button.

The e-mail macro functionality will not work if the Direct Link Form field is not filled on A.60.10.

To turn on the log file generation while sending e-mails, set the DBA setting LOG_EWQ_HANDLING to Y. To turn off, set it to N.

When you receive an early warning alert e-mail, click the hyperlink in the e-mail. The login screen opens and the corresponding user name appears in the Username field. Enter your password in the Password field. The default database value will be taken from the DBA setting DEFAULT_TNS_NAMES_ENTRY. Click the OK button to login. The screen opens, displaying the record corresponding to the hyperlink you clicked in the e-mail.