溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

關(guān)于.rpt: view或schedule時(shí)的連接界面及Prompts是否顯示的設(shè)置

發(fā)布時(shí)間:2020-08-07 02:45:50 來(lái)源:ITPUB博客 閱讀:176 作者:xiangjinling 欄目:網(wǎng)絡(luò)安全

BVM修改DC參數(shù)

[@more@]

通過(guò)BVM設(shè)置DC(即當(dāng)前rpt所所用的DC):

關(guān)于.rpt: view或schedule時(shí)的連接界面及Prompts是否顯示的設(shè)置

結(jié)果:

關(guān)于.rpt: view或schedule時(shí)的連接界面及Prompts是否顯示的設(shè)置

沒(méi)有設(shè)置的情況下:

關(guān)于.rpt: view或schedule時(shí)的連接界面及Prompts是否顯示的設(shè)置

有一個(gè)連接參數(shù)輸入界面,如上圖。出現(xiàn)prompts,如下圖:

關(guān)于.rpt: view或schedule時(shí)的連接界面及Prompts是否顯示的設(shè)置

修改后:

關(guān)于.rpt: view或schedule時(shí)的連接界面及Prompts是否顯示的設(shè)置

SDN論壇參考:

Dynamic Parameters. You'll want to get all your report designers up on this topic.

When you create a dynamic parameter in a Crystal Report, and then publish it to the Enterprise, you are creating a Business View, with all it's underlying necessary layers. Dynamic Parameters exist to be able to use the same LOV (a list of current customers) from a database for more than one report. These dynamic parameter LOVs act like a mini report that runs against the database and gets the current values for selection, then the selection(s) are used to run the overall report.

So I create a report, and in it I create a dynamic Customer LOV. When I save it, the Enterprise creates a Data Connection (DC), Data Foundation (DF), Business Element (BE), Business View (BV), and the list of values is built on the Prompt Group. So, my Business View Manager, Repository Explorer will show (in the default Dynamic Cascading Prompts folder):
Customer_DC
Customer_DF
Customer_BE
Customer_BV
Customer - Prompt Group
Customer (the LOV)

The idea is that next time I create a report and need a customer parameter, I select the existing dynamic group. If the report designer is unaware of this, and next time they create a new report that needs a customer LOV, they creates a new dynamic LOV "Customer", when saved to the Enterprise, it repeats the above. Since repository objects must have unique names, you will now have additional items something like:
Customer 2_DC
Customer 2_DF
Customer 2_BE
Customer 2_BV
Customer 2 - Prompt Group
Customer 2 (the LOV)

So you can see how that folder will get filled with duplicates pretty quickly. Which ones were created and used in which reports? Have to open the report in Crystal Reports, open the parameter for Edit and verify the LOV name (_2, _3, _4, etc). If you do in fact discover there are dupes, you can change it to a single one for all reports using a dynamic LOV, re-save them to the Enterprise, then delete the dupes in the BVM.

You've already discovered how to use the BVM to update the data connection to include/save the database credentials. The only other common issue is sometimes the LOV rights need to be changed in order to allow users to "Edit" the LOV (select different values in the LOV). You'd have to run the report as an end user, not the admin account or the report designer account to verify that works.

Another item of note is that these dynamic LOVs are run by the Report Application Server (RAS), regardless of which viewer you are using.

The Business View Manager administration guide has more information on the subject.
向AI問(wèn)一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI