Creation of parameter: impossible to check the default values

Hello
I want to create new settings, and I want to give the user a set of default values. My problem is that for some fields, the 'default' value is available, but some other times this option is grayed out? Why?

Thank you

Hello

I want to create some new settings and I want to give the user a set of default values

the default value is only 1 and it is hard-coded.
It is still available on the setting screen.

My problem is that for some fields, the 'default' value is available, but some other times this option is grayed out? Why?

I guess here, but when you say gray, do you mean the LOV are not?
This list of values are called "Classes of elements" and that they are defined using the discoverer administrator, whenever an element class is defined, you will get the list of values for this element.
You can read more about element classes here:
http://download.Oracle.com/docs/HTML/B10270_01/item_cla.htm

Tamir

Tags: Business Intelligence

Similar Questions

  • Programmatically determine the default value of control

    Hello

    I'm trying to understand a reasonably sustainable method to detect if the sub VI input is wired.

    I use the approach to the definition of an absurd default for the control, and then by comparing the current value of the control to a constant of this value. If they are not equal, so I pass the value of the control in my registry to offset. If they are equal, I hold that any value has been previously in the shift register. In this case, I created a driving force that allows me to update the status bar.

    It works because my progress meter is a U8 I'll never write 0-100, so I can set my default to something outside this range (in this case, 255) for my comparison. Something similar should be relatively simple to understand and reuse in the future.

    However, there is a dependency on a person if the default value for the control and the update of the constant comparison to match. My question: is there a method to check the default value for a control programmatically in order to remove the coupling? I realize that any method would be invariably slower with regard to execution, but it's simply out of curiosity.

    I think that this method is reasonably justifiable if you document correctly and it works for me. Other developers do not tend to change the default values of the controls without reason.

    That said, the Control class has a default property, but I think it's private and it may not work when you generate an EXE file.

    If you want something that is more explicit, you can build a polymorphous VI - have one version of the VI with the entrance and the other without. The main problem is that users may not know that the entrance is there for them to wire without looking at instances of the polyVI, so I still prefer the method of the invalid value.

  • problem with the default value of the parameter in function

    Hi all
    create or replace FUNCTION date_post_message (
    user_lock_in  IN  users.user_lock%TYPE,
    form_type_in  IN users.form_type%TYPE DEFAULT 0 ,
    date_in       IN                       DATE)
    RETURN BOOLEAN
    IS
    v_num number(1);
    BEGIN
    IF user_lock_in = 1 THEN
       RETURN FALSE;
    END IF;
    IF form_type_in NOT IN (1,2) THEN
       RETURN FALSE;
    END IF;
      SELECT 1
      INTO v_num
      FROM changes
      WHERE date_post_msg <= date_in ;
      RETURN TRUE;
    exception
    WHEN NO_DATA_FOUND THEN
    RETURN FALSE;
    END date_to_post_msg;
    problem: there is null, the function ignore the form_type_in default value 0.
    Why? the default value is valid only in the parameter of the procedure?
    Thanks to Advnaced
    Naama

    Naama wrote:
    If a value is null to convert it to 0? I mean in the part of the statement of the parameter

    No, can't do this in the signature. You will need to manage this by validating the parameters passed at the beginning of the function.

    It is quite simple. In your case, you might as well test for NULL and fail to function like this:

        FUNCTION date_post_message(
                user_lock_in IN NUMBER,
                form_type_in IN NUMBER DEFAULT 0 ,
                date_in      IN DATE)
            RETURN BOOLEAN
        IS
            v_num NUMBER(1);
        BEGIN
            dbms_output.put_line('Value of parameters : user_lock_in : '||user_lock_in || ' : form_type_in : '||form_type_in||' : date_in : '||date_in );
            IF user_lock_in = 1 THEN
                RETURN FALSE;
            END IF;
            IF form_type_in IS NULL THEN
                RETURN FALSE;
            ELSIF form_type_in NOT IN (1,2) THEN
                RETURN FALSE;
            END IF;
            RETURN TRUE;
        EXCEPTION
        WHEN NO_DATA_FOUND THEN
            RETURN FALSE;
        END;
    

    In other cases of use I would issue a local variable and treat it like this:

            IF form_type_in IS NULL THEN
                l_form_type := 0;
            ELSE
                 l_form_type := form_type_in;
            END IF;
    

    Of course, the code should use the local variable rather than the parameter.

    It is a good practice to validate values passed in parameters at the beginning of a function. If you really want to go to the city, discover the Design By Contract.

    Cheers, APC

    Published by: APC on November 9, 2011 13:36

    Example added, as requested by OP

  • How to change the default value of a parameter and LOV attached to a parameter

    Hi all

    I'm new to the discoverer reports and I need the following tasks:
    1. the need to change the SQL of a discoverer report
    2. need to change the default value of the parameter (from constant for the current month). In the discoverer more responsibility when I open the report and go to tools > > setting > > edit
    I can see the value of the default constant is given. On the right side there is a drop down that says "Value". I suppose that if I put a SQL as default, I need to change the drop-down list for sql or something and then put the code SQL. Problem is the menu drop-down is froezen and I can't change it.
    Even if I try to create a new report parameter.
    3 need to change the LOV associated with the element on which is based the setting.


    I have the discoverer more responsibility to myself and did not have the discoverer administrator (as forms 6i developer desktop tool) tool. My questions are:
    1. can I modify the SQL query using discoverer and responsibility or do I discoverer Administrator tool?
    2. any help on how to get the default value of an SQL query? Currently, it is a constant value.
    3. is there a way to understand is that the LOV is made of the constant values fixed (as a set of values independednt) or they are read in a SQL (value valid table sets)?

    Solutions pointers will be greatly appreciated!
    Thanks in advance.

    Thank you and best regards,
    Shashank

    It is not possible to use a default calculation for a paraeter

  • The Null value as the default value for an input to a stored procedure parameter

    Hello

    How can we set the default values with the NULL value for the parameter in a stored procedure.
    create or replace procedure emp_proc ( p_test_input in varchar2
                                                        p_emp_id in number,
                                                        p_emp_name in varchar2,
                                                       p_manager_id in number )
    as
      begin
       if ( upper ( p_test_input ) = 'I' )
       then
          insert into emp
          values      ( p_emp_id  ,p_emp_name ,p_Manager_id,sysdate );
       elsif ( upper ( p_test_input ) = 'D' )
       then
          delete from emp
          where       emp_id  = p_emp_id;
       else
          dbms_output.put_line
             ( 'Please input ''A'' for ADD or ''D'' Delete  EMPLOYEE'
             );
       end if;
    end;
    As described above if I want to delete only the functioning

    I want to call this procedure without pass additional parameters.
     EXECUTE  emp_proc('D',1010);
    Published by: Rede on May 28, 2010 12:21

    Published by: Rede on May 28, 2010 12:22
    create or replace procedure emp_proc ( p_test_input in varchar2,
                                                        p_emp_id in number,
                                                        p_emp_name in varchar2 default null,
                                                       p_manager_id in number default null )
    
  • Impossible to change the default SMS contact?

    In general when I want to send a message to someone, I bring up the keyboard, to regain contact with universal search, and then click the SMS button next to their mobile phone number. Intuitively, one would think, when the Messenger is set up, it would send a message to the phone number you selected because there is a SMS button next to each phone number. Problem is, about half of my contacts, the default values of Messenger to another phone without me same number find out and I end up sending a text-to-fixed message rather than to their mobile phone. For each separate contact, it seems, the phone chose a number by default to use when it talks about the messenger app instead of using the phone number that I select, and I see no way to change this default value. It's incredibly frustrating and I sent so many erroneous messages without knowing and then having to change their number at the top of the mail app and then retype the message (since there seems to be no way to copy/paste a message that has already been sent)

    It's just something that I'm missing, or something Palm is planning on fixing?

    There is nothing your lack, it is a known bug and was sent to the team of Dev to fix.

  • Firefox is the default value. Whenever I click on a selection of browser to URL is displayed.

    I've defined and confirmed that Firefox is my default browser. I uninstalled Firefox, restarted, set Edge as default, rebooted, reinstalled Firefox using the option 'Make Firefox the default browser' and rebooted. No matter what the settings are made and Firefox is default, when I click on a URL link, I get a dialog box "How do you want to open this file", Firefox is highlighted, I click on the check box always 'use this app' and click OK. Firefox opens and displays the page. Thereafter, whenever I click on a URL link I get the pop up and choose Firefox. It doesn't matter if a Firefox session is active or Firefox is closed. What I am doing wrong?

    This was a problem when you try to set one browser by default other than IE (now Edge) on Windows. Firefox has had the most problems over the years, trying to get himself defined as default browser. I can't tell if Chrome has had the same problem either. But I feel that they have had a hard time with her also.

    In the interest to see what works and what does not work, could you not install the Chrome browser and by setting the default value to see if it does indeed remain the browser by default when you click on any url? Please test the links of the opening a few times before you say that it works without problem.

    I'll be tracking of any workaround to set Firefox as the default browser in the meantime. But, be aware that Microsoft is the enemy here. As they do on board the default browser at any price.

  • Cannot create bookmarks. New install, have disabled all extensions, tried safe mode and reset to the default values. Any help of any of these actions.

    Hello.

    Statement of the problem is very simple: Firefox won't create bookmarks.

    New installation with Mint 17. New generation of PC with Asus A58M-A/USB3 motherboard, AMD A4 6300 processor 4 gig memory stick.

    All Mint and Firefox packages are up to date.

    A new profile has been created for the test, Firefox has been started in safemode, purged and re-installed and reset to the default values. None of these actions have contributed.

    Here is the info according to the troubleshooting information in Firefox

    The application databases

    Name: Firefox
    Version: 33.0
    User Agent: Mozilla/5.0 (X 11; Ubuntu; Linux x86_64; RV:33.0) Gecko/20100101 Firefox/33.0
    Windows multiprocessing: 0/1

    Reports of incidents for the last 3 days

    All Crash reports

    Extensions

    Name: Mint search Enhancer
    Version: 1.0
    Enabled: true
    ID: [email protected]

    Name: elegant
    Version: 1.0.7
    Enabled: true
    ID: {46551EC9-40F0-4e47-8E18-8E5CF550CFB8}

    Graphics

    Description of the adapter: X.Org - Gallium 0.4 on AMD ARUBA
    Device ID: Gallium 0.4 on AMD ARUBA
    Driver version: 3.0 Mesa 10.1.3
    GPU accelerated Windows: 0/1 Basic
    Vendor ID: X.Org
    WebGL Renderer: X.Org - Gallium 0.4 on AMD ARUBA
    windowLayerManagerRemote: false
    AzureCanvasBackend: Cairo
    AzureContentBackend: Cairo
    AzureFallbackCanvasBackend: no
    AzureSkiaAccelerated: 0

    Important change preferences

    Browser.cache.Disk.Capacity: 358400
    Browser.cache.Disk.smart_size.first_run: false
    Browser.cache.frecency_experiment: 3
    browser.places.smartBookmarksVersion: 7
    browser.sessionstore.upgradeBackup.latestBuildID: 20141013200257
    Browser.Startup.homepage_override.buildid: 20141013200257
    Browser.Startup.homepage_override.mstone: 33.0
    dom.mozApps.used: true
    extensions.lastAppVersion: 33.0
    Media.GMP - gmpopenh264.lastUpdate: 1416067922
    Media.GMP - gmpopenh264.version: 1.1
    Media.GMP - manager .lastCheck: 1416067922
    network.cookie.prefsMigrated: true
    places. History.expiration.transient_current_max_pages: 80569
    plugin.disable_full_page_plugin_for_types: application/pdf
    privacy.sanitize.migrateFx3Prefs: true

    Important preferences locked

    JavaScript

    Incremental GC: true

    Accessibility

    Enabled: false
    Prevent accessibility: 0

    Versions of the library

    NSPR
    The expected minimum version: 4.10.7
    Version: 4.10.7

    NSS
    The expected minimum version: 3.17.1 Basic ECC
    Version: 3.17.1 Basic ECC

    NSSSMIME
    The expected minimum version: 3.17.1 Basic ECC
    Version: 3.17.1 Basic ECC

    NSSSSL
    The expected minimum version: 3.17.1 Basic ECC
    Version: 3.17.1 Basic ECC

    NSSUTIL
    The expected minimum version: 3.17.1
    Version: 3.17.1

    Experimental features

    What other information can I give?

    Thank you.

    Jim

    You can check for problems with the database places.sqlite file in the Firefox profile folder.

  • Re: Satellite NB305 - restore the default value of my internet browser

    I don't know where to post this request.
    Took forever to find words 'post new topic' and only clicking like to respond to a thread.

    I want to return to the default value of my internet browser.
    I know where to do it. Stupid question, but I can not display OK or apply in the dialog box.

    Does not show, you use a smaller font, or try to move the dialog box does not work.
    I actually want to google by default but tried in vain several times.
    Says I do not have seplt correctly but I http: identical www.google.com/ appears on my desktopPC.

    Question 2: Bought this in the United Kingdom but I live in Australia.
    How do I set up to reflect the Aussie not UK? Guess I have now will not kknow how to find answers to this.

    Also when I log in here the grey line saying profile connection House is in middle of screen so hard ro read the words above and below.

    > I want to restore the default value of my internet browser.
    What internet browser do you use? What is MS Internet Explorer?
    Internet Explorer settings can be defined by default very easily.
    Go to tools-> Internet Options
    You will find different tabs as general, security, confidentiality, etc.
    Visit the unique tabs and you will find Reset buttons or omissions.

    In addition, you can change the display
    Here, you should check out Style-> default Style

    > Question 2: bought this in the United Kingdom, but I live in Australia.
    > How do I set up to reflect the Aussie not UK? Guess now, I don't know how to find answers to this.

    I'm afraid, that I have no idea what you want to change it...

  • Firewall on set as default, fixit States that it is not the default value? How can I fix it

    Help, please

    Hello

    1. what exactly is the problem you are having?

    2. what operating system is installed on the computer?

    3. what fixit says that "it is not the default value"?

    Provide us with more information about the issue so that we can better help you.

    However, read the following article and check if this is useful:

    Some services do not start in Windows Vista and Windows 7

    http://support.Microsoft.com/kb/943996

  • OBIEE dashboard how to set the default value of a prompt dynamically

    Hello

    I have a prompt that displays the quarter of the year. I want to put the default value of this prompt dynamically. So, if sysdate is between January and March, then fast should say 'Q1 '. If the month of sysdate is between April and June, then fast should say 'Q2'... etc.

    I set the default selection of the prompt SQL suite and put in the following code:

    SELECT BOX WHEN EXTRACT (MONTH FROM sysdate) IN (1,2,3) and THEN "Q1" double WHEN RETRIEVED (MONTH OF sysdate) (4,5,6) and THEN "Q2" double WHEN RETRIEVED (MONTH OF sysdate) (7,8,9) THEN "Q3" double ELSE 'T4' LATE double

    However, it seems not be soon and there is no default value. I was just wondering what I'm doing wrong. Thank you!

    ~ Kevin Sun

    What is the problem with the answer you were given in this thread: OBIEE parameter default value a "quarter" guest dynamically?

  • Extension of EO or CO to set the default values?

    Hi all!

    I spread an EO, ExtBankAccountsEOImpl, which contains the bank details of a provider.

    When I create a new retail bank, I want to set the default value of some fields (for example the currency)

    According to the nationality of the supplier (all fields are null by default oracle). See below.

    bank_det.PNG

    Is this possible with EOs? Can the EO extended somehow get their hands on the party_id?

    Or do I have to extend the CO instead?

    Best regards

    Christian

    Christian,

    Thus, your EO extension works very well, no?

    You need to check the standard code (controller and methods of AM which is called by the CO) and see if the party_id is stored as part of the operation or not. If so, you should be able to get the values in extended OS.

    If this isn't the case, you must extend the CO.

    Note: Changes made by extension EO EO will affect all pages using the OS, if any other page exists.

    I hope this helps.

    See you soon

    AJ

  • How to set up the default value in the ADF option button?

    Hi all

    I use 11.1.6

    I want to put the default value in the radio button (in the UI).

    EX: I have a SelectOneRadio as sex

    In these two values, one is male and secondly a woman.

    I need to see the default value of the male part of the user interface.

    I mean when the loading of the page it should show male is checked in the user interface part?

    Someone help with this task?

    Ok

    So in your BinderSolutionsBean, you have an attribute called;

    String scenType;

    public String getScenType()...

    What you need to do is to initialize scenType to rtb;

    public BinderSolutionBean {}

    String scenType = "rtb";

    .

    .

    .

    }

    Hope this makes sense;

  • How to set the default value of the component selectOneChoice in the table to the ADF

    Hi all

    I use jdev 11.1.1.6.0 version.

    I used an adf table in which an attribute is selectOnceChoice.

    To create the table and selectOneChoice I used the data control java bean.

    and drag and drop a table and after that I have drag and drop one of the attributes as selectonechoice and linked with the return of the method list as < key, value > pair.

    I want the default value to select only one option in each attribute rows.

    I checked with simillar issue on post next, but not yet resolved.

    
    
    
    
    

    My jspx code is

    
    <af:column id="c11"
                                             headerText="Invoice To" >
                                        <af:outputText value="#{row.invoiceTo}" id="ot19"/>
    <af:selectOneChoice value="#{bindings.invoiceTo.inputValue}"
                                                        label="#{bindings.invoiceTo.label}"
                                                        required="#{bindings.invoiceTo.hints.mandatory}"
                                                        shortDesc="#{bindings.invoiceTo.hints.tooltip}"
                                                        id="soc3"
                                                        autoSubmit="true"
                                                        valuePassThru="true">
                                      <f:selectItems value="#{bindings.invoiceTo.items}"
                                                     id="si4"/>
                                    </af:selectOneChoice>
    </af:column>
    
    
    

    where invoiceTo is the table attribute and the invoiceTo attribute is dragged and dropped as a SOC function list Source data mapped data value with the List attribute

    and the display attribute

    Data value = invoiceTo List = lovMasterKey attribute

    Display attribute = lovMasterValue

    that list is maintained at < lovMasterKey, lovMasterValue >

    According to the value of invoiceTo line, it should show as default value is selectOneChoice, but its showing no not as a default value.

    Please, help me how set the default value of selectOneChoice in the table according to each value line invoiceTo.

    Thank you all for the help on this issue.

    Problem has been resolved.

    Reason for this was used

    It is solved using code used for the list built for selectoneChoice more

      List lovMasterList = new ArrayList();
    
    SelectItem siItem = new SelectItem();                      
    
    siItem.setLabel(objAfCmnLovMasterListVO1.getLovMasterValue());
    
    siItem.setValue(objAfCmnLovMasterListVO1.getLovMasterKey());
    
      lovMasterList.add(siItem);
    

    Now, I used the code where the line below. InvoiceTo is the key and row.invoiceToItems are the list of articles for selectOneChoice.

    
    
    
      
    
    

    Thank you very much...

  • Change the default value for new messages of the 'paragraph' in "text" format the answer currently online because it does not work

    The answer currently online for this problem said to follow the sequence "tools-options-composition" and then change the default value, but this sequence "tools-options-composition" does not exist in Thunderbird (at least in the version I have, 45.4.0). Under 'tools', there is no option 'options... '

    It can depend on what menu you look and which operating system you are using.

    Tools | Options | Composition refers to the menu bar on top old.

    You can use alt or F10 to make the menu appear temporarily. Go to the view of . Toolbars and check the boxes if you want it constantly on the show.

    If you use the button 'Menu of the Application' new fashion (with three horizontal lines - see the attached picture) then it's probably Options | Options | Composition -I say 'probably' because I'm on Linux where 'Options' are replaced, I think that, by "Preferences". Another complication with this infernal Application Menu is that different things happen depending on whether you click or hover. Place the cursor on the Options of the first and the second appears after some time.

    See http://kb.mozillazine.org/Menu_differences_in_Windows, _Linux, _and_Mac of the differences in Windows, Mac and Linux menus.

Maybe you are looking for

  • error code 0 x 583 installing W7 from Vista

    Unexpect error when copying the temporary files. Erroce code 0 x 583.The upgrade to W7 in a new laptop with Vista.Can someone help me how to do to complete the installation of W7.

  • Authentication WLAN with IAS and BSSID

    I have an AP active BSSID and all virtual LAN clients must be authenticated on an IAS server. On the server, VLANs must be mapped to different remote access policies. I wasn't able to find any command for the "group of aaa Server" configuration, whic

  • How can I get my laptop to start correctly?

    Recently, I started having trouble with the download of Windows 8.1 to 10 after that my laptop (Asus s200e) was sent to repair a year ago. Even without the necessary update my phone played very well, but soon he began to increase his start time and t

  • Export file - "export as...". "Fails

    Just upgraded to Photoshop CC - 10 (x 64) Windows: file > export > export as that... just crashes.  'Quick Export in PNG' also fails to create a file. The legacy, "Save For Web" feature... "works very well.Any help would be appreciated!My following i

  • Problem window Tools

    Hello everyone. I'm experimenting CC Photoshop for some time and sometimes I something silly but painful. My tool window "detached" from the rest of my workspace by mishandling I guess. Could someone there who comment put it back in its original appe