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

KB30689: How to iterate through the elements of an attribute selector in a Report Services Document using the MicroStrategy Web API 8.1.x


Community Admin

• Strategy


This technical note provides the following code as a sample on how to loop through the elements in a selector for a Report Services Document.
 
Sample Code
 
The Report Services Document used in this sample contains one attribute elements prompt with default answers set.
 
 
The document contains a grid and a selector displaying only elements filtered by the prompt answer.
 
 
The sample code provided shows how to:
 

  1. Execute the Report Services Document
  2. Select the default prompt answers to execute the document
  3. Loop through the elements in the selector
  4. Export each selection and the grid generated to PDF

Customization Code 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 22, 2017

Last Updated:

June 22, 2017