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

How to obtain query list on itemdata #135

Open
religou opened this issue Dec 13, 2022 · 2 comments
Open

How to obtain query list on itemdata #135

religou opened this issue Dec 13, 2022 · 2 comments

Comments

@religou
Copy link

religou commented Dec 13, 2022

Hello:
I am now requesting queries on itemdata. Reading the all docs, can not find the method to request queries, just see the queries in item data as the additional attribute. If can, please tell me how to obtain them. Thanks a lot ~~

@religou religou changed the title Query Request How to obtain query list on itemdata Dec 13, 2022
@isparks
Copy link
Collaborator

isparks commented Dec 15, 2022

It's been a while since I looked at this. It's possible that there is some Configurable dataset for this but I'm not aware of one.

You can get queries (but it's quite a lot of work) by using the Audit Service. See this very old article.

https://techblog.mdsol.com/2014/12/23/reading-audit-events.html

You would be looking for the Datapoint query related events (see https://learn.mdsol.com/api/rws/included-audit-subcategories-in-rws-95587410.html)

Audit Category | Subcategory | Description 
Query | MigQueryStringChanged | A query string that has changed as a result of a CRF Migration.
Query | QueryAnswer | A query that has been answered.
Query | QueryAnswerByChange | A query that has been answered by data change.
Query | QueryCancel | A query that has been cancelled.
Query | QueryClose | A query that has been closed.
Query | QueryForward | A query that has been forwarded to another Marking Group.
Query | QueryOpen | A query that has been opened.

@glow-mdsol
Copy link
Member

OK to close @religou ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants