Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Category Update for Attribute Forms not available. Attribute linking inside Dossier Bug. #177

Open
vladbalcanu opened this issue Mar 31, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@vladbalcanu
Copy link

For each attribute form there is a field named category that can only be set in the creation phase. This field can't be altered later and this is also specified in the details of the AttributeForm class.
Through testing we have found out that this category influences the ability to link attributes and as a consequence the ability to use target visualizations. To be more specific, it seems like the key form of an attribute must have the category as ID (this is default when creating from workstation). Also, if there is a second attribute form, this seems to be set to DESC in the workstation. From experiments, after having 2 attribute forms, adding other attribute forms will set the category in different fashion using the attribute name in some way.
We know that not having the category of the key-form set to ID causes linking issues with other attributes inside a dossier (i.e. no attribute recommendations or options are given when trying to link, even if you have 2 identical attributes just with different names). This is not documented anywhere even though we've tested this multiple times and it seems to be the case. Possibly even the second attribute form's category not being set to "DESC" could cause problems as well.
This can be solved by just setting the category when creating the attributes however, for already created attributes, this problem is irreversible.

Can the Python API be updated in order for the Category class parameter of an attribute form to be available for updating/changing? This would be very needed in order to fix existing attributes.

Steps to reproduce problem with linking Attributes in Workstation:

  1. Create 2 Attributes with identical configuration manually through workstation. The only difference should be the name. You can call them TEST1 and TEST2. We recommend to add 2 attribute forms to each: a key-form and another form that is preferably the displayed one.
  2. Link the attributes together inside a dossier using the workstation to confirm that the bug can't be reproduced when creating these attributes manually.
  3. Create 2 more attributes using the python API with identical configuration with the ones created manually earlier named; TEST3 and TEST4. For attribute named TEST3 don't set the category for it's attribute forms and let the app create them randomly. For attribute named TEST4 set the categories in the following fashion: key-form has the category set to "ID" and the second attribute form has its category set to "DESC".
  4. Test the attribute linking inside a dossier using the workstation. Try to link attributes TEST3 and TEST4 with each other and with the attributes TEST1 and TEST2. You should be able to link attribute TEST4 with TEST1 and TEST2 and vice-versa. But attribute TEST3 will get no possible attributes available for linking.
@apiotrowskiMicroStrategy
Copy link
Contributor

Hi @vladbalcanu

Thanks for highlighting your enhancement needs.

It seems this is not obvious or quick fix from our side, so please could you log this issue to MSTR TechSupport and share here CS ID number so we can plan priorities and capacity for work related to this item internally.

@apiotrowskiMicroStrategy apiotrowskiMicroStrategy added the enhancement New feature or request label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants