How to view a ModScript log file without using remote desktop connection

ModScript, at least since version 11.3, added a new "Log" object with methods to allow sending text to a log file in the SBM "Application Engine\Log" directory.  To view these messages you need to start a "Remote Desktop Connection", aka "Remote Console" or RDP to the AE server and view the log file in the "Application Engine\log" directory.  Previously, this kind of logging was done using the "Ext.LogInfoMsg" call which sent the message to the AE server's Windows Application Event log.  To view these log messages, you also had to "remote" into the AE server, then use the Windows Event Viewer to view the Application Event log.  That level of access can make some clients or server administrators nervous.  In some conditions, the developer may not have any access to SBM servers.

Fortunately, there's a way to create a log that doesn't require any remote access to the AE server, outside of IIS.

Some basic "one time" setup is necessary to allow this capability. Have someone with "administrator" privileges on the SBM AE server do the following steps:

  1. "remote" into the SBM AE server
  2. "CD" to IIS's "inetpub\wwwroot" directory.
  3. Create a subdirectory under "inetpub\wwwroot" for the ModScript log files.  In this example the name of the subdir is "AE-Logs".
  4. Use the Microsoft Sys Internals "junction" tool "junction" to create a file junction from "inetpub\wwwroot\AE-Logs" that is targeted at a subdirectory (which the "junction" command will create) under the App Engine's "Log" directory.  In this example the name of the subdir under "Application Engine\Log" is called "inetpub_AE-logs".

junction  "C:\inetpub\wwwroot\AE-logs"   "F:\Program Files\Serena\SBM\Application Engine\Log\inetpub_AE-logs"

Now your ModScript can use the following calls to create a Log file in that new subdir.  Make sure that the name of the log file you create has a file extension that IIS will handle, like ".txt" or ".htm".  On my system, IIS will not handle a file with the ".log" extension.  I can probably change that by making changes to the IIS settings.

var my_IIS_log Log() ;
my_IIS_log.Open("inetpub_AE-logs/ModScript_log.txt");
my_IIS_log.SetWantTimeStamp(true);
my_IIS_log.Message( LogLevelConstants.AVERAGE, "0 param call to my_IIS_log.Message" );
my_IIS_log.Message( LogLevelConstants.AVERAGE, "3 param call to my_IIS_log.Message : Reporting Level={0} : File={1} : IsOpen={2}" , my_IIS_log.GetReportingLevel() , my_IIS_log.GetFileName() , my_IIS_log.IsOpen() );

 

View the log in a browser:

https://-MY-AE-SERVER-/AE-logs/ModScript_log.txt

Continue reading
185 Hits
Featured

New online training for Service Support Manager

New online training for Service Support Manager

Micro Focus Education is pleased to announce a new online digital learning course

SSM 100 – Service Support Manager Essentials

Course Features

• Developed with Micro Focus ART

• Self-paced, with tracking and graded exam

• Interactive software simulations with voice-over and closed captioning

• Online resources include exercise scenarios and process app workflows

Course Registration

$300 for online access for 1 year; Free for Micro Focus employees

Search for SSM 100 from http://www.microfocus.com/training or use this direct link:

https://inter.viewcentral.com/events/cust/catalog.aspx?cid=microfocus&event_id=1773&pid=1

Course Description

This course provides the concepts and skills to work with Service Support Manager (SSM) applications and to configure Service Request Center (SRC).

Audience/Job Roles

This course is intended for Service Support Manager (SSM) users and administrators.

Course Objectives

Upon successful completion of this course, you should be able to:

• Work with Incidents, Problems, and Change Requests 

• Configure and use CMS for asset management

• Configure and use SRC for service fulfillment

 

Course Topics

Modules

Objectives

Module 1: Understanding SSM Concepts

·         Identify and explain SSM terms and concepts

·         Identify how SSM supports ITIL

·         Explain the functions and relationships between SSM applications

·         Identify the function of SRC

Module 2: Working with Incidents and Problems

·         Submit an Incident

·         Associate an Incident with a Configuration Item

·         Assign an Incident to a Queue

·         Escalate an Incident

·         Associate an Incident with a Problem

·         Assign a Problem to a Technical SME

·         Investigate and Resolve a Problem

Module 3: Working with Change Requests

·         Submit a Change Request

·         Assign a Change Request to a Change Manager

·         Perform a Risk Analysis

·         Link a Change to an Incident and a Problem

·         Approve a Change

·         Assign a Change to an Implementation Team

·         Publish a Knowledge Base Article about a Change

Module 4: Creating Configuration Items

·         Create a record for an Asset

·         Transition an Asset from Planning to the Acquired state

·         Link an Asset to a new Configuration Item

·         Transition a CI from Classification to the Active state

Module 5: Customizing SRC

·         Change the Service Request Center logo

·         Add a URL tab to SRC

·         Add a Service Request to SRC

Course Assessment

·         Test your understanding of SSM terminology and concepts

 

Learning Path

SSM is built and administered with Solutions Business Manager and uses the SBM runtime engine. It is recommended that the SSM student also attend SBM training.

• SBM 100 – SBM Essentials

• SBM 120 ‒ SBM for Users

• SBM 200 – Designer and Administrator

• SBM 300 ‒ Advanced Designer

• SBM 400 ‒ Orchestration and Scripting

 

 

Continue reading
448 Hits
0 Comments

New Search Features in SBM 11.5

Check out these exciting enhancements to the Search feature in SBM Work Center, available to you starting in SBM 11.5.

Regular Expressions

Work Center now supports searching for work items using a regular expression, which is a powerful search method that utilizes pattern matching to help you find work items. To search using a regular expression, select the RegEx option on the Work Center search page, and then enter your search query. For a list of operators that are available, refer to the SBM Work Center Guide or help.

Advanced Search

Have you ever used Advanced Search in User Workspace, and wished the same feature was available in Work Center? Well, now it is.

What’s cool about Advanced Search is that you can search all kinds of tables in addition to the primary table (if you have the appropriate privileges): auxiliary tables, archived tables, and notes/attachments. 

For example, let’s say I want to sort through all of the string IDs in the IDM application that have to do with the calendar. I select String IDs from the Search in Table list (see above), and then enter “calendar” as my keyword:

Here are my results: 

URL Attachments

While Advanced Search enables you to search notes and associated attachments, the main keyword search now enables you to search the names and addresses of attached URLs.

Below, you can see that I searched for items containing the keyword “Micro Focus.” In my results, all items with the attached URL named “Micro Focus” appear.

Search Results

Lastly, you can now choose how many fields you want to appear in each row of your search results. This option is available in your user profile on the Search tab:

If I set this to 5, then 5 fields will appear in a row in my search result:

Conclusion

We hope these search features make your SBM life easier and more efficient. Happy searching!

 

Continue reading
457 Hits
0 Comments

New Administrative Changes View in SBM 11.5

In SBM, it’s useful to be able to analyze administrative changes, especially when you suspect changes to the system may have caused setup or security issues. In previous releases of SBM, you would have to query the TS_ADMINCHANGES and TS_ADMINCHANGESVALUES tables in the database to view these changes. Now in SBM 11.5, you can easily view administrative changes within Application Administrator.

The Administrator Changes view (available under the More category) displays the type of change made, the timestamp of the change, the administrator who made the change, the affected table name and record, and the value that was changed. Here’s an example of some of the changes you might see:

Click in the Changed Values column to view the prior value and new value.

To filter the list of changes, click Filter. Let’s say I want to view all changes that have been made involving the user Kathy. In the Record Name field, I enter “Kathy.”

Here are my results:

To see which privilege changed for Kathy, I can click Changed Privileges in the Changed Values column. Now I can see she was granted the Remote Administration privilege.

Continue reading
445 Hits
0 Comments

New @user Mention Feature Available in SBM 11.5

You may already use a “mention” feature in other applications you use—it’s an easy way to catch another person’s attention within the context of a post. Wouldn’t it be handy to be able to do that from a work item in SBM?

Starting in SBM 11.5, you can. In an item’s text field or note, simply type “@” followed by the user’s login ID, and the user will be sent an e-mail notification.

For example, let’s say my team is collaborating on a particular issue, and we’ve met to discuss the issue and assign action items. I’ll add a note to the issue and mention the applicable users by typing @laura and @rhadika (highlighted below).

Once I add the note, Laura and Rhadika will each receive an e-mail notification similar to the following:

Handy, right? This means I don’t have to send a separate e-mail from the issue; I can just notify the users within the context of my note.

 

How does this work behind the scenes? SBM now provides a new “Any [item] mentioned user” notification and associated rule with every process app. Within the rule is a new Mentions operator. The default notification is set up so that when the current user is mentioned in a text field or note, a notification is sent to that user.

You can use this notification as-is or create a custom notification and rule that use this new Mentions operator.

 

To make sure that users receive a notification when they’re mentioned, subscribe them to the notification on the Subscriptions tab:

That's all there is to it!  Once you subscribe your users, make sure to let them know that they can now mention other users in text fields and notes.  When they thank you for the info, you now have a great pun to use as well. 

Continue reading
693 Hits
2 Comments

Recent Tweets