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

KB16699: How to answer object prompts in a report using URL API in MicroStrategy Web and Web Universal 9.0.2.


Community Admin

• Strategy


It is possible to answer object prompts in a report using URL API in Strategy Web and Web Universal 9.0.2.
 
URL Parameters for report execution
 
/MicroStrategy/servlet/mstrWeb?
Server=SERVERNAME&Project=Strategy+Tutorial
&Port=0
&uid=Administrator
&pwd=
&src=mstrWeb.4001
&evt=4001
&reportID=EB3CD5D14F4C8C77782AC0882C986B8D
&reportViewMode=1
For answering one prompt:
 
&objectsPromptAnswers=4C051DB611D3E877C000B3B2D86C964F~4~Profit
For answering object prompt with multiple answers:
 
&objectsPromptAnswers=4C051DB611D3E877C000B3B2D86C964F~4~Profit
%1B
4CAF34B611D3E877C000B3B2D865E1A3~4~Sales
NOTE: to answer multiple object prompts, "^" is used to separate the answers for each object prompt.


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001AdministratorFull ControlEveryoneViewPublic / GuestViewArgumentDescriptionevt4001 - runReport Executes the report specified by either the reportID or reportName argument.srcSpecifies both the page component to handle the action and the event.reportIDSpecifies the ID of the report to execute.reportNameCan be used instead of reportID.reportViewModeGrid (1) or Graph (2) Mode.objectsPromptAnswersSpecifies the ID(s), type(s) and name(s) of the object(s) to answer a prompt, or multiple prompts

NOTE: The type of the object is '4' for metric and '12' for attribute.
 
Sample URL to execute in Strategy Web:
 
http://localhost/MicroStrategy/asp/Main.aspx?server=SERVERNAME&Project=Strategy+Tutorial&evt=4001&src=mstrWeb.4001&reportID=C552FD8A412A698EA14EAB8700908076&reportViewMode=1&objectsPromptAnswers=4C051DB611D3E877C000B3B2D86C964F~4~Profit&uid=Administrator&pwd=
 
Sample URL to execute in Strategy Web Universal:
 
http://localhost:8080/mstrURL/servlet/mstrWeb?server=SERVERNAME&Project=Strategy+Tutorial&evt=4001&src=mstrWeb.4001&reportID=C552FD8A412A698EA14EAB8700908076&reportViewMode=1&objectsPromptAnswers=4C051DB611D3E877C000B3B2D86C964F~4~Profit&uid=Administrator&pwd=
 
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 Technical Support makes no guarantee that an updated version of this particular customization will be provided. 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. For enhancements to this customization or to incorporate similar functionality into other versions, contact your Account Executive to inquire about Strategy Consulting assistance.
 


Comment

0 comments

Details

Knowledge Article

Published:

June 22, 2017

Last Updated:

June 22, 2017