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

KB439521: Subscriptions cannot be edited after an ID form added to an attribute that is used in the prompt embedded in a report with MicroStrategy Web 10.x


Mari Sugimura

Senior Cloud Support Engineer III • MicroStrategy


This article explains the behavior why subscriptions need to be re-defined when the change is made to an attribute form that was used in the prompt embedded to the dataset.

SYMPTOM:
A subscription created with an attribute element prompt answer cannot be edited after the source attribute is changed and the embedded prompt is edited. 
STEPS TO REPRODUCE:
1. Create an attribute with DESC form only. In this example, CATEGORY_DESC column in LU_CATEGORY is mapped to this attribute form as shown below:

ka02R000000kV2AQAU_0EM44000000QHJi.png

2. Create a report using this attribute in the grid as well as in Attribute Element Prompt.

ka02R000000kV2AQAU_0EM44000000QHJn.png

3. Create a subscription with personalization. In this example, CategoryTest = Book.

ka02R000000kV2AQAU_0EM44000000QHJx.png

4. Go back to Strategy Developer and edit the attribute to add ID form. In this example, ID form is mapped to CATEGORY_ID column of LU_CATEGORY table, and "Set as key."

ka02R000000kV2AQAU_0EM44000000QHK7.png

5. After that, notice that the report cannot be executed due to the following error:
Error: Unable to resolve prompt.

ka02R000000kV2AQAU_0EM44000000QHKC.png

(Note: This error is expected because the attribute form set as a key has changed, with which, SQL to load attribute element is no longer valid.)
6. Open the report is design view and delete the prompt and create a new attribute qualification prompt. 

ka02R000000kV2AQAU_0EM44000000QHPH.png

7. With the newly defined prompt, the report can be now executed. 
8. Go to Strategy Web, and try edit the subscription created at step 3 and notice following error:

ka02R000000kV2AQAU_0EM44000000QHNk.png

Invalid element value 'Book' for attribute 'CategoryTest' (form ''). Expected value type is numeric.)
Your request could not be processed due to a server error. Please try again. If the problem persists, contact the server Administrator.
CAUSE:
This behavior is working as designed. A subscription is defined with a prompt answer, and it is not possible to load the prompt where the attribute key is updated to a different data type. 
ACTION:
Create a new subscription with the altered prompt and the answer/personalization to it.
Refer to following Knowledge base article discussing similar challenge. 
https://community.strategy.com/article/KB40078-quot-Index-out-of-Range-quot-error-message-appears-when KB439521


Comment

0 comments

Details

Knowledge Article

Published:

February 2, 2018

Last Updated:

December 24, 2018