assign the session as the default value of a command prompt variable

Hi, experts,

is it possible to assign the session as the default value of a command prompt variable?

I would attribute the full name of the user of the connection to the default value of a prompt!

Thank you!

In the value default of / writing SQL results:

Select
case
When 1 = 2 then table.column
of another valueof (nq_session.user)
end
the area"presentation".

The table.column must be the type of character data.

Concerning
Goran
http://108obiee.blogspot.com

Tags: Business Intelligence

Similar Questions

  • ForEach: How to set the default value of a command link text while

    Hi all

    I use Jdev 11.1.1.7

    I have a page with 2 foreach

    <af:toolbar id="t1" inlineStyle="border:1px solid #bfc6c9;border-radius:2px;border-right:0px;">
                <af:forEach items="#{pageFlowScope.pbPagePovDetails}" var="page" varStatus="index">
                  <af:panelGroupLayout id="pgl5" layout="vertical">
                    <trh:tableLayout id="tl1" cellPadding="0" cellSpacing="0" halign="center">
                      <trh:rowLayout id="rl1">
                        <trh:cellFormat id="cf2" inlineStyle="border-right:1px solid #bfc6c9;padding:3px;height:38px;">
                          <af:panelGroupLayout id="pov_pgl3" layout="vertical" inlineStyle="padding:5px; border-color:ActiveCaption;min-width:125px;">
                            <af:panelGroupLayout id="dc_pgl6" layout="horizontal"
                                                 rendered='#{pageFlowScope.settingsDimLabel eq null or pageFlowScope.settingsDimLabel eq "Show Dimension Name"}'
                                                 inlineStyle="font-weight:bold;">
                              <af:commandLink text="#{page.dimName}" id="dc_cl1" actionListener="#{pageFlowScope.HspPovBarBean.openMSFromDimension}" rendered="#{page.axisType==3}"/>
                              <af:outputText value="#{page.dimName}" id="ot1" rendered="#{page.axisType==2}"/>
                            </af:panelGroupLayout>
                            <af:panelGroupLayout id="dc_pgl9" layout="horizontal" rendered='#{pageFlowScope.settingsDimLabel eq "Hide Dimension Name"}' inlineStyle="height:10.0px;">
                              <af:spacer width="10" height="11" id="dc_s5" inlineStyle="font-size:small;"/>
                            </af:panelGroupLayout>
                            <af:panelGroupLayout id="dc_pgl7" layout="horizontal">
                              <af:forEach items="#{page.memDetail}" var="mem">
                                <af:outputText value="#{mem.memName}" id="ot2" rendered="#{page.axisType==2}" inlineStyle="font-size:smaller;"/>
                                <af:commandLink id="dc_cl2" text="#{mem.memName}" actionListener="#{pageFlowScope.HspPovBarBean.openMS}" inlineStyle="font-size:smaller;"
                                                rendered="#{page.axisType==3}"/>
                              </af:forEach>
    
    
                              
                            </af:panelGroupLayout>
                          </af:panelGroupLayout>
                        </trh:cellFormat>
                      </trh:rowLayout>
                    </trh:tableLayout>
                  </af:panelGroupLayout>
                </af:forEach>
              </af:toolbar>
    

    His work as expected, but then the text is displayed in #{mem.memName} I want to manipulate this value.

    To do this, I created a variable at the bean

    public class HspPovBarBean{
    
    String memDisplay=null;
    
    
    public String getMemDisplay(){
    memDisplay = (String)resolveExpression("#{mem.memName}");
    memDisplay += ",";
    return memDisplay;
    
    }
    

    But I'm unable to get the value of memDisplay as its null.

    Please let me know if this isn't the correct way to this defect.

    Thank you

    ASHA as


    ASAS

    You can do it directly in the af: outputText

    or in the link or everywhere where you need to display the additional «»

    Timo

  • How can I validate a dropdown list NOT accepting the default value?

    I have a fillable form where I need the user to select their "number of employees". I've added several lines as their options in a drop-down list (1-10, 11-25, 26-50, 50 +). My question is "defult value" is set to "1-10" and people submit it without changing the correct value.

    I changed the value for default "-select -", but it allows them to always submit the form with the value entered.

    I guess I need some sort of validation script that will basically say - "If the value of this field is - select one - do not submit the form, but give an error that says 'Please select your number of employees' or something of the sort."

    Basically I just want what they choose something as opposed to just submit it with the default value.

    I looked everywhere and am not very good with JS.

    You can't have the default set to a possible real value. You need a value that must be selected.

    So for your sending script, you will need to test all your required fields to make sure that they are not at the default value.

    You make a variable that assumes that all required fields are filled and then check each field and if one still has the default value that you set your variable to 'false' and then when you have verified all of the fields that you test the value of the variable and only if she is true to send you the form.

    var bSumbit = ture; logical variable for test submission

    Test menu drop-down # of employees

    this.getField ("number of employees".). required = false; Disable the required property

    If (this.getField ("number of employees"). value == "-select one - ') {}

    Determine = false;

    this.getField ("number of employees".). required = true; Set the required property

    }

    {if (bSubmit)}

    your submit acation;

    } else {}

    App.Alert (' not all required fields completed", 0, 1);

    }

  • How to get the value of a command prompt in OBIEE

    Hello

    I am looking for a method to store the select value for a command prompt in a variable.

    Thank you

    2953248,

    Variable can be used to capture the selected value in a command prompt. Please find below the links that uses variables of presentation for various applications in OBIEE.

    https://blogs.Oracle.com/ExalyticsOBIEE/entry/how_to_pass_presentation_variable

    Rittman Mead Consulting"invites OBIEE dashboard: required at least one

  • The default value for the elements of the page get ready when the session is disabled

    Hello

    I am facing this problem, do not know how to solve this problem. Basically, the default value 'elements' on the page don't prepare you when the session is disabled and I visit the page for the first time. So when I check the session for the first time, all page elements are null. But when I revisit the page, page elements sometimes gets.

    Don't know what I'm missing here... Someone has encountered this problem before?

    Thanks in advance! Kindly let me know if you need more clarification.

    Is there a way that the page element can be defined at the time the page is loaded for the first time?

    Yes. Create a "Page Rendering" PL/SQL process. That it is very early in the page rendering (i.e. "on charge ‑‑ after Header"). Set the value of the element of page here:

    BEGIN
      :P10_MY_ITEM := 15;
    END;
    
  • Is it possible to use the default value as sql expression in obiee 11g report?

    Hi all

    Is it possible to use the default value as sql expression in obiee 11g report?. Actually what I'm trying to make is that we send an ibot users. They want the same default values that are assigned in the command prompt in the report. So when we send the ibot it shows the report for default values assigned in the report criteria which is obsolute. As a solution, I kept the report in a dashboard page and send the dashboard like ibot page. But the problem here is that I can send only pdf format. Is it possible to do so at the level of the report (without using session variables). I want something like that

    Date between Date ' @{PV1} {Timestampadd (SQL_TSI_DAY,-90, CURRENT_DATE)} and Date ' @{PV2} {CURRENT_DATE}

    Thanks in advance

    Thank you

    AJ

    http://www.w3.org/2001/XMLSchema-instance"container ="http://www.w3.org/2001/XMLSchema"xmlVersion ="201201160' xmlns:sawx="com.siebel.analytics.web/expression/v1.1" > "

    "Question time '." Date '.

    "Question time '." Date '.

    BOX WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 1) THEN TIMESTAMPADD (SQL_TSI_DAY,-2, cast (max (CURRENT_DATE) as date)) WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 2) THEN TIMESTAMPADD (SQL_TSI_DAY,-3, cast (max (CURRENT_DATE) as date)) WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 3) THEN TIMESTAMPADD (SQL_TSI_DAY,-4, cast (max (CURRENT_DATE) as date)) WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 4) THEN TIMESTAMPADD (SQL_TSI_DAY-5 (, cast (max (CURRENT_DATE) date)) WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 5) THEN TIMESTAMPADD (SQL_TSI_DAY,-6, cast (max (CURRENT_DATE) as date)) WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 6) THEN TIMESTAMPADD (SQL_TSI_DAY, 0, cast (max (CURRENT_DATE) as date)) WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 7) THEN TIMESTAMPADD (SQL_TSI_DAY-1, cast (max (CURRENT_DATE) date)) END

  • 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.

  • Copy the default value from another field in the same page

    Hello

    I need to pass a value from one page to another page and I want to use this key as DEFAULT VALUE for a field.

    If I create a form tabular all it's ok, but if I create a normal page. I am not able to do that.

    1. 1. I call the page and I pass the value. I also have a FIELD of VIEW and I can see the correct value.
    2. 2. I create a field with attributes of this:
      1. a. source > Source = database column type
      2. b. sources > Source value or expression = FK_ID_DA (the column name)
      3. c. default > default = P27_PK_ID_DA (the field that contains the value)
    3. 3. on the screen, I see P27_PK_ID_DA and not the value

    Where is the error?

    Thank you very much

    TexasApexDeveloper wrote:

    You missed one: before the variable, without it, the default value is the string...

    Not sure that you can READ the other pages... Such that if you are on Page 27 and have a field that you want to use on page 30, page 27 is presented and its items in session state, you can 'see' on page 30.

    So, if you set the default value: P27_PK_ID_DA, then you should get by default, you are looking for...

    Only if the default value Type is set on the PL/SQL Expression. If the literal value "P27_PK_ID_DA" is seen then the Type of default value should currently be set static text with Substitutions of State of Session, in which case the value of session state must be referenced using the syntax of substitution string:

    &P27_PK_ID_DA.

  • How to give the default value for an attribute in the OPA

    Hello

    I need a default attribute boolean to true at the beginning of the session of the OPA. I need to use it to control the visibility on some pages.

    Can someone please throw light on how to best implement this?

    Thank you.

    You have a few options (as always with the OPA!)

    If you use determinations of Web and that you have defined your own screens, then the easiest way is to define a default in the screen - you can either do a default static or dynamic based on an attribute is proved by a default rule.

    If you want a value by default when you debug without using screens, so you're better off just writing a rule to set the default value. It's kinda interesting with a Boolean value as you do not need to tell the value of the attribute OPA - it is inherent in the name of the attribute. For example, if you had a conclusion "control is visible" (with no = "true" or whatever it is) it would be set to 'control is visible' to 'true '. Set it to false, you simply need to type "control is not visible" - which actually (thanks to OPA assuming a 'subsidiary conclusion') defines "control is visible" to "false".

    You can then replace it in the debugger of via a screen issue (if you force the question).

    I don't know how it would work with server of determinations if you had a default value proved by a rule, but has also provided a value in the data - maybe someone else can clarify if the rule takes precedence over the input data? My usual approach is to try locally in OPM and see (using something like SOAPUI to integrate with the determinations OPA server web service). If that's the best way to implement this course (or indeed if using a default value of visibility control screen is best practice) is difficult for me to say - I am a relative beginner!

    Hope that helps a little...

  • I want to organize the local folders. The default value is alphebetical.

    I want to organize the local folders. The default value is alphebetical. How do I do that?

    Install this add-on.
    https://addons.Mozilla.org/en-us/Thunderbird/addon/manually-sort-folders/

  • 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.

  • Reset Windows Picture and FAX viewer as the default value for jpeg files after loading of Corel

    I put Windows Picture and FAX Viewer by default to open jpeg, tiff and other pictures, so it appeared as an option in the drop-down list to view attachments that have been downloaded. After loading the software Corel Draw, it is now the only option to open photo files even if Windows Picture and FAX viewer is always defined as the default value. How to restore Windows Picture and FAX Viewer as a choice?

    Have you looked into the Corel software preferences to see if you can cancel these associations?

    There is usually backup keys are created in order to return to the previously used application.

  • 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...

  • my firefox keeps reseting whenever I close all the options, I changed to this topic to reset to the default values, why? is this some kind of error? IM using windows xp

    Well whenever I use firefox I have watch some youtube vids watch stuff on jtv, maybe even play some runescape and then after that I have quit firefox everything resets to the default values, and I don't know why it does this I have scanned my computer with anti virus/malware/spyware and nothing seemed

    These steps help?

    • Rename the * prefs.js in the profile folder in * prefs_2.js (for backup, but Firefox would not be able to see them).
    • Exit Firefox via file - Exit menu;
    • Restart Firefox, look for the question.
  • Where does FireFox get the default value for a preference of. What is the format of the file that contains the default value?

    Where does FireFox get the default value for a preference of. What is the format of the file that contains the default value? I need the actual default value for an individual preference.
    Topic: config shows some default values, but I need the source from which everything: config returns to the default value.
    Any help in this direction is greatly appreciated.

    User Agent

    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x 64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    The preferences that are not hidden if they have by default are stored in two JavaScript text files in the Firefox program folder
    You can open them in a tab in Firefox through these links:
    resource:///defaults/pref/firefox.js
    resource:///greprefs/all.js

    (702598/forum/1/702598)

Maybe you are looking for

  • iPad Air keeps freezing

    IPad air keeps freezing and not responding, yes I can reboot but how can I solve this problem the gel makes the ipad almost unusable. (Please do not answer I should use the buttons restart...) I know... I want to prevent the gel no restart once it ha

  • Installer password

    Installer wants my password and I don't know what it is. Im stuck and cannot install new software updates. Can someone help me?

  • Confuse

    How do you make corrections when you use windows 7, because it is not compatible when none of my work and most of my work on microsoft 2007? You have problems with programs Error messages Recent changes to your computer What you have already tried to

  • What is wininet.dll.mui and tcpmon.ini and why their absence results in irregular scrolling? And what I do about it?

    I had problems with erratic scrolling. Grope in the Microsoft Help site led me to an instruction to use the System File Checker tool to see if the corresponding files were corrupted and get fixed them. That worked for all programs except: WinInet.dll

  • BlackBerry smartphones no GPS app...

    Hello! I have a bb pearl 8110 w/gps support. When I connect the BB to my computer, on the BBDS, appear the GPS app, but there is no icon in the menu... any solution? Thank you Info: BB Pearl 8110, OS 4.5.0.182 original AT & T, but it is unlocked