Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

Hello)

Ho i can knowes BIOBJ_ID at LOV script?

I need a script with which I can get the id of the report and can use it in the future
Environment 7.1
in Analytical Driver by (330 points)

1 Answer

+1 vote
 
Best answer

Hi DimaNykodiuk,

you can query the Knowage metadata DB with the following query:

SELECT BIOBJ_ID FROM knowage.sbi_objects WHERE label = "your_document_label";

Hope this helps,
Marco

by (9.3k points)
selected by
Thanks!
But I need a script that will automatically, when loading a bireport report, find out the id of this report. For example, groovy can get user profile attributes, but this does not work with reports.
Hi,

unfortunately at the moment I don't think it is possible to dinamically load report ids by using groovy scripts, you can only get some entities like profile attributes, but not report ids.

This is because a LOV is an object that lives outside documents, therefore it cannot be bound to document ids.

Bye,
Marco
Thank you! )
...