-
Notifications
You must be signed in to change notification settings - Fork 63
Description
Description
Search Results when executing the SearchObject in Workstation includes the hidden object but when doing it programmatically using the same user, the Search results do not include the hidden object
MicroStrategy Support Case
If the issue has been raised via MicroStrategy Support Team already, add the Case Number and/or any additional details here
Steps To Reproduce
Create a Search Object that includes within its results a hidden object
Call the quick_search_from_object method passing in the ID of the Search Object
Print the results of the method to the log which will show that only the objects that are NOT marked as hidden are returned
Code Snippet
Full, reusable code snippet highlighting the problem
It may contain placeholders expected to be filled before running the code
test = SearchObject(connection=conn, id='[ID OF THE SEARCH OBJECT'])
results = quick_search_from_object(connection=conn, project=conn.project_id, search_object=test.id)
for i in results:
print(i['name'] + ' : ' + i['id'] + ' : ' + str(i['type']) + ' : ' + str(i['certifiedInfo']['certified']))
Additional Context (optional)
Any other context about the problem, that does not fit into the sections above