Showing Dynamic parameters depending on Static parameter

Post Author: Relais
CA Forum: General
Is it possible to show dynamic parameters depending on the selection of the static parameter?For example, I would like to show a dynamic list of Departments, only if u201CDepartmentu201D is selected from the static parameter list.
Or if u201CCategoryu201D is selected from the static list, then I would like to prompt the user with a dynamic list of available Categories.
Is this possible or must you always show all parameters?Any feedback would be appreciated.
Thank you.

Hi,
What i would do is in addition to what you already have,  create a new view V-Channel and embed this view as default view in the Window.
Create 2 outbound plugs (to_view1 , to_view2)
Create a event in component controller  like event_name is NAVIGATE and the parameter is TO of type string.
Create a method go_navigation with parameter destination of type string.
Write your code in this method to fire the Navigation event filling the TO parameter with destination.
In the V_Channel subscribe to this event NAVIGATE. and write the code for firing outbound plug to_view1 or to_view2 based on the TO parameter value.
Remember to connect these outbound plugs to the right inbound plugs in the ViweContainerUIElement views.
In the start-up plug event handler method, retrieve the URL parameters and call the Go_NAvigation method  filling the right value for the destination parameter.

Similar Messages

  • Static Parameters Vs Dynamic Parameters in intialization Parameter file

    Hi Gurus,
    How do i find out the list of Static and Dynamic Parameters from the Initialization Parameter file [ in Oracle 11g Rel2]. Is there any Metadata for this?
    Can you please through some light on this!
    Regards,
    Sudipta.

    Thanks mate.
    Unfortunately i searched with various tag line, but could not find the earlier thread..
    Anyways, this was helpful.
    Regards,
    Sudipta.

  • I'm getting the below issue when I try to deploy a report with Dynamic parameters, when I deploy it with static parameters I'm not getting this issue.

    I’m getting the below issue when I try to deploy a crystal report with Dynamic parameters in BI Launch Pad, when I deploy the same report with static parameters I can deploy and run it. I have Restarted the BI server, still the issue exitno use. kindly help me on this issue.
    “This error occurred: Adding Crystal Report "CrystalReport1.rpt" failed. The server with kind rptappserver returned an error result. Failed to copy the report file to the report object. Refreshing the report object properties might have failed. Failed to read data from report file CrystalReport1. Reason: Failed to read parameter object”.

    BO does not run dynamic params through the report as would happen without BusinessObjects (BO) or Crystal Reports Server (CRS).  When you publish a report with dynamic parameters to BO/CRS, the prompt is published to the repository so that it can be accessed through the Business View Manager (which can be installed as part of the client tools).  In order for this to work a couple of things need to happen:
    1.  You need to be sure that you check the "Update Repository" box on the Save As screen the first time you publish the report.
    2.  Your BO/CRS user needs to have "view" access to the Crystal2013ReportApplicationServer in the Servers section in the CMC - in fact, the Everyone group should be given view access to the server in order for dynamic prompts to work correctly.
    3.  In the Business View Manager, the Administrator user needs to give your user, or, even better, a Crystal Developers group full control access to the "Dynamic Cascading Prompts" folder.
    Best practice for dynamic prompts in a BO/CRS environment is to actually create the prompts in the Business View Manager.  This will allow you to create a single data connection that can be reused and also create lists of values such that the same list or prompt can be reused by multiple reports.  If you just create the prompts in Crystal, you will end up with multiple data connections to the same database, the prompts will use the whole query for the reports to get the dynamic values instead of just a focused query to the lookup table that contains the values, and there ends up being lots of duplication and chaos.
    -Dell

  • Records returned with static parameter, but don't when using dynamic

    Hello,
    I am using CR Developer, Version 11.0.0.1282   (BTW, I keep seeing references to Release 1 and Release 2, and I'm not sure which my version is.)
    I have a large database (500,000 land records) and each record has a value for Management Program and for Project Name. Within each Management Program there are many Project Names.
    If I set up a static parameter for Management Program, users are able to select a single Management Program (i.e. WMA, for Wildlife Management Area) from the dropdown list. This returns all records that have WMA listed as the Management Program, which thus includes all Project Names. This works fine, but I want to return just those records that are for a single Project Name.
    So I got rid of the static parameter and instead created a dynamic parameter, where the user first selects a Management Program, and then a single Project Name.
    I think I set up the parameters correctly, and the select formula (see below) includes those parameters. When I then try to run the report, I successfully get the expected drop down boxes, where I can first pick out the Management Program I want, then the Project Names that apply just to that Management Program.
    That part seems to work fine, but no data gets returned.
    The SQL query seems fine:
    SELECT "LAND_RECORDS"."TOWNSHIP",
    "LAND_RECORDS"."TOWNSHIP_DIR",
    "LAND_RECORDS"."RANGE",
    "LAND_RECORDS"."RANGE_DIR",
    "LAND_RECORDS"."SECTION",
    "LAND_RECORDS"."FORTY_DSC",
    "LAND_RECORDS"."GOVT_LOT",
    "LAND_RECORDS"."GROSS_ACRES",
    "LAND_RECORDS"."LAND_TYPE",
    "LAND_RECORDS"."PUBLIC_USE_ADMINISTRATOR",
    "LAND_RECORDS"."PUBLIC_USE_MGMT_PROG_CODE",
    "LAND_RECORDS"."PUBLIC_USE_PROG_PROJ",
    "LAND_RECORDS"."PUBLIC_USE_PROJECT_CODE",
    "LAND_RECORDS"."SURFACE_OWNED_CODE",
    "LAND_RECORDS"."PUBLIC_USE_MGMT_PROG"
    FROM   "LNDREC"."LAND_RECORDS" "LAND_RECORDS"
    WHERE  "LAND_RECORDS"."SURFACE_OWNED_CODE"='Y' AND "LAND_RECORDS"."PUBLIC_USE_MGMT_PROG"='WILDLIFE MANAGEMENT AREA' AND "LAND_RECORDS"."PUBLIC_USE_PROG_PROJ"='AGDER'
    ORDER BY "LAND_RECORDS"."PUBLIC_USE_MGMT_PROG_CODE",
    "LAND_RECORDS"."PUBLIC_USE_PROG_PROJ"
    And here is the selection formula:
    {LAND_RECORDS.SURFACE_OWNED_CODE} = "Y" and
    {LAND_RECORDS.PUBLIC_USE_MGMT_PROG} = {?Management Program - PUBLIC_USE_MGMT_PROG} and
    {LAND_RECORDS.PUBLIC_USE_PROG_PROJ} = {?Management Program - PUBLIC_USE_PROG_PROJ}
    Can anyone tell me why no records get returned when I use the dynamic parameter, while those same records (as well as the other records for that Management Program) get returned when I use the static parameter?
    Thanks in advance for any help you can give me.

    Hi Sanjay,
    When I wrote "glitch", I was pretty sure that was more likely indicative of a glitch in my primitive SQL skills than the software itself...     
    There is indeed a unique ID# associated with each Project. The problem is that there are thousands of projects, and people in the field are much more likely to remember the project name than the 8-digit long ID#.
    However, I found a way to make it work...
    I retained my first two parameters (Management Program, and Project Name), but then added a 3rd parameter for Project Code. The use first selects the Management Program, then the Project Name, and then the project code. But the only project code that appears as an option is the single one associated with the project name, and when they click on that, only the correct results gets returned.
    That one extra mouse click seems like a small price to pay so that you don't get extraneous results returned (i.e. getting results for both ANDERSON and ANDERSON LAKES when you ONLY request ANDERSON LAKES.)
    So, problem solved...thanks again for your help.
    Jon

  • Crystal Reports Dynamic Parameters with SAP Business One

    Okay, I've got this very strange issue with dynamic parameters in Crystal Reports connected to SAP Business One.
    Let's start with the software versions:
    - Crystal Reports 12.3.0.601
    - SAP Business One 8.8 (8.80.231) SP: 00 PL: 13
    - Windows XP SP3
    (SBO Server on Windows 2003 and SQL 2005)
    What I'm about to describe is something I've tried in several reports and for which I created a very, very simple test report to see if it was reproducible in a very simple situation.
    - I connected to a Business One server through CR's SBO connection type. Logon is successful, tables are shown.
    - I pick OCRD and plac CardCode and CardName in the details section on the report. Previewing the report shows data.
    - I create a dynamic parameter on CardCode and in the Select Expert I select the CardCode field and define that that should be equal to the parameter.
    - I preview the report again. Now it asks me in such a parameter screen for logon credentials. It shows the server and database it tries to connect to and in the username it shows the SQL Server username I used to connect to the SQL Server in the first place. However, the password for that user is not accepted. I also tried to login with the Windows administrator user and with the SBO manager user, but no success with any attempt.
    I also tried to add a static parameter and add all database values to the list. Same screen, different result:
    Crystal Reports 2008 wrote:
    Logon Failed.
    Error in File UNKNOWN.RPT:
    Unable to connect: incorrect log on parameters. (rptcontrollers.dll)
    (On a side note: the report is saved as report1.rpt)
    Anyone else got similar issues and found a solution?

    Hi,
    When you have fixed your crystal installation following the note posted earlier, please take a look at the [how to guide|http://service.sap.com/sapidb/011000358700000882232009E.pdf] and also at the [e-learning|http://service.sap.com/sapidb/011000358700001370262010E] about SAP Business One 8.8 and Crystal Reports.
    There are so called "tokens" which you need to use instead of dynamic parameters.
    Dynamic paramters don't work in SAP Business One 8.8, if they are not defined as a static paramter with token.
    Best regards,
    Darius

  • Problem with Populating data while cascading dynamic parameters

    <p>Hi</p><p>I have a Crystal Report 11 connecting to Oracle stored Procedure. The report has 6 input parameter fields which come from the procedure.So when the report is opened i see 6 static parameter fields.</p><p>Now Parameter 3 has to populated depending on selection of Parameter 2 and Parameter 2 should populate depending on selection of Parameter 1.</p><p>So I changed these parameters to dynamic and followed all the instructions mentioned in CR11_UserGuide.pdf from internet.</p><p>But no values are populated in my Parameter 1.</p><p>If i use a View with the report, then it works.</p><p>Please help.</p>

    Thanks Rahul,
    Â I could fix the issue by using Command Objects

  • Last value in hierarchy of Dynamic parameters is not working in BO CMC

    I have a crystal report with dynamic parameters up to 4 levels (Hierarchy of 4 levels) that is developed on version 12.3.0.601 which is working fine on my system... But when the same was uploaded on Business Objects Central Management Console version is 3.1x first 3 hierarchies are populating fine but when comes to 4th hierarchy I am only getting the values that are linked to First Value of 2nd hierarchy.
    Example:
    If I take the example of the organization following is the hierarchy.
    1st : business head  // One Value
    2nd : Project head  // 4 values (p1,p2,p3,p4)
    3rd : Team head     // 1 value
    4th:  developer       // 2 values for every project head  that means total of 8 values.
    If 2nd hierarchy is p1,p2,p3,p4 then I am getting only 2 values of P1, In the same way if 2nd hierachy is p2,p1,p3,p4 then I am getting only 2 values that is of P2... but in real I need to total of 8 values because of all 4 parameters are selected at run time in 2nd level of hierarchy.
    I have tried all possible combinations of dynamic paramters but nothing was working for me...
    Problem is only in Business Objects CMC where the dynamic parameter is prompt is wrong in dev system everything is correct.
    Experts please help me in this.. I hope I have explained it clear... If not please let me know will provide more information.
    Thanks for your time.
    Siva
    Message was edited by: siva kumar

    " there are more than 170 similar list of values as _1, _2..._170"
    That's what happens when you build your prompts in the report and chose "update the repository" every time you save it to BO.
    For the future, you have a couple of options for initially creating dynamic prompts:
    1.  Create them directly in the BVM (all of the various pieces...)
    2.  Create them in Crystal, publish them to the repository only the first time you save the report, and then use the BVM for any maintenance.
    3.  Create a "dummy" report that just has in it the data you need for a single dynamic prompt.  Then create a dynamic parameter in the report based on that prompt.  Save it to your favorites folder, making sure that you update the repository so that the LOV gets created.  Again, use the BVM for any maintenance. (My personal favorite way to do these...)
    For options 2 and 3, a _DC will be created each time you update the repository.  However, best practice is to have a single "common" _DC for each database you connect to.  So, after saving the LOV you would then open the BVM, modify the _DF so that is points to the correct "common" _DC and then delete the new _DC.
    What I would do in your current situation depends on how many reports you have that access the same type of dynamic parameter.  If you have one or just a few reports using this same 4-level hierarchy prompts, I would do the following:
    1.  Delete all but the first set of BVM objects for the LOV (the ones without any numbers on the end).
    2.  Edit this set of BVM objects so that it has all of the information you're looking for.
    3.  Edit each report and set the dynamic parameter to point to this single LOV.
    If you have more reports than you can comfortable edit right now, I would still modify the first set of BVM objects to set them up as the common LOV.  Then you can do this:
    1.  As you edit each report, log on to the repository (on the File menu or in the Repository Explorer).
    2.  Edit the parameter and determine which set of objects it's pointing to.
    3.  Point the parameter to the common LOV.
    4.  Open the BVM and delete the set of objects that you found in step 2.
    -Dell

  • Crystal Reports -  missing dynamic parameters when published to InfoView

    Hi all,
    I'm facing a problem when I publish Crystal Reports 2008 V1 which includes dynamic parameters on InfoView (either on BO EDGE 3.1 or Crystal Reports Server 2008 V1). Problem manifests itself in missing dinamic parameters - I get only static parameter panel and need to write in the value by myself... All other documents like Webi, Deski (on BO EDGE) works fine.
    I have tried to install all latest Service Pack's for Crystal Reports 2008 V1 but it didn't solve the problem. Btw, Crystal Reports 2008 V1 designer is installed on client machine.
    Here are the details of both installations:
    BO EDGE 3.1.
    OS: Windows Server 2003 SP2
    Repository database: MS SQL Server 2005
    CR Server 2008 V1
    OS: Windows Server 2003 SP2
    Repository database: MySQL
    Does anyone had a same problem?
    I will appreciate any help!
    Best regrads

    I had the same situation when I changed from a SQL server 2005 data source to a SQL server 2008 data source while using CR 2008.  Change printer option default in the report designer to use u201CNo Printer (optimize for screen display) and republish to InfoView.   Not sure why this would work, but it resolved the issue for us.
    Wendy

  • CR 2008 and Dynamic Parameters

    I have a report that has been "upgraded" over a number of years and thus a number of versions of Crystal Reports.  The basic issue is that it has 2 dynamic parameters that are showing up as plain textboxes in CR 2008 SP3 instead of a dropdown.  This same report works fine in CR XIR2 and has worked fine in versions prior to that.
    I have created a test report that accesses a couple of table with a dynamic parameter using the same database field and it works correctly.  I also tried deleting the parameter and recreating it and lastly I created an additional field with the same database field, all with the same results.  This is not isolated to a single machine.

    hi Rob,
    can you please elaborate on what you mean by the 2 prompts showing up as text boxes.
    are you using an application or just the crystal reports designer?
    are you using embedded html?...if so, pass-through html has to be reactivated after each service pack or fix pack.
    jamie

  • Dynamic Parameters from SAP to C' Method

    Hey there,
    I hav a great Problem. I wrote a C# Program which runs as a Server. whithin this I wrote a Method i want to call from ABAP. This method needs to get two static and various dynamic parameters. In C# it is quite easy to implement this, by "params object[]...", but how can I get these Parameters from SAP to my Application?
    When I describe the Parameter for RFC then it works, e.g. by "[RfcParameter("INSTID",RFCTYPE.RFCTYPE_STRING,30,30,0,RFCINOUT.IN)]". Does i have to give a certain RFCTYPE? When i do so, it works? Please give help, i need this very urgent.
    Regards

    Hello,
    Sorry, the answer remains NO.
    In COM4ABAP, this feature is implemented only for the generic invoking function COM_INVOKE itself, but not for those functions/methods invoked through COM_INVOKE.  So this functionality is perhaps "nice" to the developer who wrote COM4ABAP. But for the users of COM4ABAP, it seemed not to make much sense.
    Of course, the support to dynamic parameters will be important if you want to write a generic method invoker for .NET (something might be called as DOTNET4ABAP). There is for now no plan to provide this feature in the future releases of the .NET Connector.
    Regards,
    Guangwei

  • How to intialize to zero for dynamic parameters in crystalXIR2

    <p>Hi Guys,</p><p>I am new to crystal reports. I am using dynamic parameters in my reports. <br />1)Each report consists of 6 or more dynamic parameters. Can it possible to intailise to Zero(like in static parameters).<br />2) my main report consists of dynamic parameters. each parameter consists of three database columns.    i am selecting data by using SQL concatenation operator (data looks like 051012-1000-countryname)<br />and sub-report consists of static parameter ( data looks like 1000. it is middle column of dynamic parameter of  main report). Can it possible to link parameters of main report and sub report</p><p>Can anyone give me idea. <br />Thanks Guys.</p>

    Moderator message - Cross post locked
    Total Questions:  283 (131 unresolved)
    Please also close your old posts and assign po1nts to helpful answers.
    Rob
    Edited by: Rob Burbank on Jul 29, 2010 9:50 AM

  • Made Dynamic Prompts OK, but Static Prompts Still Appear. Why?

    <p>Hello All,</p><p>I have a stored procedure that I am using as the basis for a report. This stored procedure has some parameters so the user can customize the report.</p><p>When making the report, Designer gives me some default static Parameter Fields to match the parameters of the stored procedure. When I run the report in preview mode in Designer or in InfoView after publishing, the report correctly presents a page with simple text input fields (one for each parameter) to the user.</p><p>I can successfully convert these Parameter Fields from static to dynamic. However, something odd is happening now. When I try to run the report, whether in preview mode in Designer or in InfoView after publishing, the report will still present the page with simple text input fields to the user. If the user just clicks OK at the bottom of the parameter page, THEN the report presents a page with the appropriate dynamic prompts to the user.</p><p>How can I get the report to skip the page with the simple text input fields and only present the page with the dynamic prompts?</p><p>If anyone can give me an answer to this ASAP, I&#39;ll personally see to it that you have a bright sunny day tomorrow.</p><p>Not that I think this should matter, but were on CR XI.</p>

    Please re-post if this is still an issue to the Data Connectivity - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • How to create Dynamic Parameters for between dates

    Hi,
    I have a requirement to create a crystal report with between dates using dynamic parameters.
    I am getting data from 'BEx Query' where already filters were defined on Date field. So While I am creating a crystal report these filters are displaying under 'Parameter Fields' automatically as Static. When I execute the report I am getting these Date's as Dropdown box. But as per the 'help' in crystal reports, static values won't get updated if any changes were taken place in backend system.
    I have created a Dynamic parameter 'StartDate', but the values are not getting populated in Dropdown box.
    Please let me know how to achieve this requirement.
    Thanks in advance.
    cheers
    dev

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with your directly

  • Unable to Save Crystal Reports(With Dynamic  Parameters to Infoview)

    I am using Crystal Reports 2008 and BOXI 3.1. I have 5 dynamic parameters and can't save my report to Infoview, but If I use Static parameter then I am able to save it.
    Any help would be highly interested?
    thanks
    nisniki

    What is the exact error message and the version of crystal reports.Can you also check that all the BOE services are up and running

  • Running a SQL Stored Procedure from Power Query with Dynamic Parameters

    Hi,
    I want to execute a stored procedure from Power Query with dynamic parameters.
    In normal process, query will look like below in Power Query. Here the value 'Dileep' is passed as a parameter value to SP.
        Source = Sql.Database("ABC-PC", "SAMPLEDB", [Query="EXEC DBO.spGetData 'Dileep'"]
    Now I want to pass the value dynamically taking from excel sheet. I can get the required excel cell value in a variable but unable to pass it to query.
        Name_Parameter = Excel.CurrentWorkbook(){[Name="Table3"]}[Content],
        Name_Value = Name_Parameter{0}[Value],
    I have tried like below but it is not working.
    Source = Sql.Database("ABC-PC", "SAMPLEDB", [Query="EXEC DBO.spGetData Name_Value"]
    Can anyone please help me with this issue.
    Thanks
    Dileep

    Hi,
    I got it. Below is the correct syntax.
    Source = Sql.Database("ABC-PC", "SAMPLEDB", [Query="EXEC DBO.spGetData '" & Name_Value & "'"]
    Thanks
    Dileep

Maybe you are looking for

  • Need guidance in cloning my newly installed EBS 12.1.3 to a physical machine

    Hello Guys, We have just migrated EBS 11i to 12.1.3 with rdbms 11.2.3 on the same server. Our Test instance is on a physical machine and DEV is on a Virtual Machine. We need to refresh or Clone the Test and Dev systems with or from Prod. Which is the

  • How to make my old file info panel from photoshop work in xmp

    Help. Not a photoshop guy but rather a genealogist. Many years ago downloaded a custom file info panel for photoshop which I used to enter meta text about the family photos I scanned. Currently using adobe creative cloud but cant figure out how to us

  • FTP_Connect error

    Hello Everyone, I have been trying to get a solution (I already posted earlirer regarding same issue )  to connect to ftp using FTP_connect FM.  FTP server is a local and i am trying to fetch the files from that. I have tested the connection using rs

  • How to produce different outbound delivery based on different schedule line

    Hi, I want to create different outbound delivery based on different schedule line time,but system automatically create a combining delivery document with a sum number. For example, schedule line date               goods issue time   qty 2011.08.24   

  • SWF options

    Problem: My 3 inserted SWF 's (30 fps) play too early in a published version (viewing through Firefox). However if I navigate directly to the slide it plays correctly (on start of slide, play). It will only play correctly if I navigate from 2 or more