EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB6713: How to retrieve the message ID of a report sent to the history list in MicroStrategy Intelligence Server SDK 9.2.1


Community Admin

• Strategy


This article discusses how to retrieve the message ID of a report sent to the history list in MicroStrategy Intelligence Server SDK 9.2.1

 
In Strategy Intelligence Server SDK 9.2.1, IDSSReportInstance3::MessageID can be used to retrieve message ID. A special flag DSSReportCreateInBoxMsg needs to be assigned when executing the report.
 
The following is a sample code that explains the usage.
'--------------------------------------------------
' Obtain a Report Server.
Set MyReportServer = _
MySession.Component(DssRoleReportSource)
'--------------------------------------------------
' Obtain a report instance.
Dim myReportInstance As IDSSReportInstance
Set myReportInstance = _
MyReportServer.NewInstance(MyReportDef)
'--------------------------------------------------
'execute report
Call MyReportServer.Execute( _
myReportInstance, DssActionExecuteAll, _
DssReportRunSynch + DssReportCreateInBoxMsg)
'--------------------------------------------------
'retrieving message ID
Dim MyMessageID
MyMessageID = myReportInstance.MessageID
MsgBox MyMessageID
MsgBox "Done"
 
Code Customization:
WARNING:
This customization is provided as a convenience to Strategy users and is only directly applicable to the version stated. While this code may apply to other releases directly, Strategy Technical Support makes no guarantees that the code provided will apply to any future or previous builds. In the event of a code change in future builds, Strategy may not be able to provide additional code on this matter even though this customization is provided at this time for this specific build.
 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

June 21, 2017

Last Updated:

June 21, 2017