Is it possible to pass a parameter to ON_DEMAND process?

Hi guys.
In AJAX, is it possible to pass a parameter to ON_DEMAND process?
(I get value in javascript and want to pass it to on_demand process...)
Thanks.
Mike

Hi Mike,
Yes, provided you have set up an Application Item to receive the value you can use this within your PL/SQL code.
I've detailed what needs doing here:
http://htmldb.oracle.com/pls/otn/f?p=40042:1
username/password: guest/guest
Regards
Andy

Similar Messages

  • Is it possible to pass URL parameter to "People" in Office 365 ?

    Hi,
    I would like to find out if I can pass parameter from SharePoint online to "People" module on Office 365.
    i.e.
    https://outlook.office365.com/owa/?realm=XXXXXXXX&wa=wsignin1.0?QUERY=John#path=/people
    Please note "?QUERY=John"
    I've tried different params like "k", "q", "query", etc but this doesn't work...
    What we would like to achieve is that user enter some name in search box on Sharepoint and after submitting is transferred to "People" module in Office365 with results matching name entered on Sharepoint.
    Any advice will be really appreciated !
    Thanks

    Hi Mariusz,
    To be able to access another user’s mailbox, we need to assign the account full access permission to access the other user’s mailbox.
    And then we can access the other user’s mailbox through URL like this:
    https://xxx.outlook.com/owa/[email protected]
    I recommend to edit the Search result page(when a search center is used) and add a button to the page. When user clicks the button, redirect to the corresponding mailbox.
    If a user name is typed in the search box, use JSOM to get the login name or email address of the user and generate the URL of the user’s mailbox which will be used when clicking the button.
    About how to use JSOM to get the email address of a user:
    https://msdn.microsoft.com/en-us/library/office/jj163800.aspx
    For more information, you can post your question to the forum for Office 365: http://community.office365.com/en-us/f/default.aspx.
    More experts will assist you, then you will get more information relation to SharePoint Online.
    Thanks,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Passing data parameter between SWF files

    Hello Xcelsius Gurus,
    Is it possible to pass data parameter between SWF files?
    If possible, how to achieve it?
    Thank you.
    Justine

    Hi,
    Thank you for the reference.  Little bit confused, please let me clarify. 
    I do not understand how the receiver SWF receieved the data parameter and process.
    For example, I have a parent dashboard and a child dashboard.  In the parent dashboard, I have set up combo box to filter the data.  And I want the data that I have selected in combo box to the child dashboard.
    To do this, first I need to setup the flash variable at the parent dashboard to fetch the data I selected.
    After this, how to link this data to the child dashboard?
    Furthermore, after the child dashboard received the data parameter, I need this data to insert into the spreadsheet so I can filter the data.  Is this possible?
    Thanks.
    Edited by: Justine Liu on Jan 19, 2010 3:11 PM

  • Pass a parameter to Surikogiflex client

    Hello all,
    I'd like to know if it is possible to pass a parameter to Surikogiflex client, to be able to tell it to open a certain story.
    For example, I wonder if it is possible to have in an html page a link like
    <a href="localhost:8400/suribachi/clients/surikogiflex/?icml=/documents/doc1/story1.icml">Ed it story in Surikogi</a>
    and when the user clicks it have Surikogiflex client open loading the selected story, without passing from the Document browser window.
    Is something like this possible?
    Please assume that the correct <story> tags are present on the storylist.xml file in the /suribachiassets directory.
    Thanks.

    i am trying to pass the parent_id as a parameter to a portal page but am not able to... i can add it to the list of in parameters to the PL/SQL based parent id but when i add the parent id to the url then i get no result... i created a custom attribute for the parent id since there is no attribute build other then page group and page id... when I set the Parent ID attributes default value in the attribute properties of the item type based on PL/SQL it just brings back results for the default value and if i pass a different value for ithe parent id i dont get the correct result I get the result for the default parent id.
    I am using the followin url to pass the parent id
    http://localhost:7778/portal/page?_pageid=76,87832&_dad=portal&_schema=PORTAL&parentid=22223

  • Pass a Parameter to Function?

    Hi All,
    can you please tell me is it possible to pass a parameter to a function in the Select statement
    for example
    select * from table(test.get_trans_by_period('141', '123456874', '20000101', '20100101'))
    How can I use BI Publisher to pass the values using parameters
    I tried
    select * from table(test.get_trans_by_period(:p_param1, :p_param2, :p_param3, :p_param4))
    but it's not working
    BR,
    Rossy

    You can write a data template, and call the function from within the xml block for the data template, as in a database query.
    The rtf supports xsl code behind the tags, so can write xsl code in rtf.

  • Passing a parameter to a thread

    HI,
    could you please tell me how to pass parameters to threads?
    Thanks

    Hi,
    First of all, this is the first time that I am using threads.
    My question was as folllows:
    suppose that I have (5) unsorted values stored in a vector (V1), and in my code I generate (5) threads each thread must read one of the values from (V1) , add it to a new vector (V2), then sort (V2).
    for example : if v1 = {5,4,3,2,1} , then the first thread reads{5} and store it in v2, the second thred reads{4} , store it in v2 and sort the new list (i.e. {4,5}) and so on.
    I thought that it is may be possible to pass a parameter (for example 5,4,5,2,1) to the run( ) / start( )method of the thread so that this method can use this passing parameter in the run( ) method.
    Best Regards,
    Ahmad

  • Passing a parameter to an Excel file when opening it

    I would like to know if it is possible to pass a parameter to an Excel file when calling that file from within another Excel file using VBA. I am using the 2007 version. An example of what I would like to do is what we use to do with DOS programs and command
    line parameters. I would like to have the Excel file I just opened do something depending on the parameter passed to it and then close.
    Might be an easy question but I'm stumped. Any ideas?

    Step.1 Create a macro-enabled workbook
    Step.2 Open the workbook, and open the VBA, insert a moudle, copy and paste the following code sample in the module
    Option Base 0
    Option Explicit
    Declare Function GetCommandLine Lib "kernel32" Alias "GetCommandLineW" () As Long
    Declare Function lstrlenW Lib "kernel32" (ByVal lpString As Long) As Long
    Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (MyDest As Any, MySource As Any, ByVal MySize As Long)
    Function CmdToSTr(Cmd As Long) As String
    Dim Buffer() As Byte
    Dim StrLen As Long
    If Cmd Then
    StrLen = lstrlenW(Cmd) * 2
    If StrLen Then
    ReDim Buffer(0 To (StrLen - 1)) As Byte
    CopyMemory Buffer(0), ByVal Cmd, StrLen
    CmdToSTr = Buffer
    End If
    End If
    End Function
    Step.4 Copy and paste the following code sample into ThisWorkbook
    Private Sub Workbook_Open()
    Dim CmdRaw As Long
    Dim CmdLine As String
    Dim myParam As String
    CmdRaw = GetCommandLine
    CmdLine = CmdToSTr(CmdRaw)
    myParam = Right(CmdLine, 6)
    MsgBox myParam
    End Sub
    Step.4 Sign your code or modify the macro security settings to allow the macro to run automatically
    Step.5 Save and close the workbook
    Step.6 Run command line with the parameter, for example:
    Excel "Server\ShareFolder\TheWorkbook.xlsm" /e/myParam
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The code sample above will pass the last 6 characters (modify the code if you need more or less) to the workbook
    The workbook will display a message box to display the parameter we passed from the command line, add the other function as you need
    The code sample refers to the reply from Air_Cooled_Nut in
    http://www.vbforums.com/showthread.php?366559-Excel-How-to-Pass-Command-Line-Parameter-DKenny-is-KING!
    Max Meng
    TechNet Community Support
    A new Office has arrived, try it now.
    A beautiful Start. It begins here. Windows 8 and Windows RT.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Passing a parameter to the swf file

    Is it possible to pass a parameter to flash like:
    myflash.swf?action=show
    Or do I have to use javascript?

    FlashVars:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16417

  • Is possible to pass array/list as parameter in TopLink StoredProcedureCall?

    Hi, We need to pass an array/List/Vector of values (each value is a 10 character string) into TopLink's StoredProcedureCall. The maximum number of elements on the list is 3,000 (3,000 * 10 = 30,000 characters).
    This exposed two questions:
    1. Is it possible to pass a Vector as a parameter in TopLink's StoredProcedureCall, such as
    StoredProcedureCall call = new StoredProcedureCall();
    call.setProcedureName("STORED_PROCEDURE_NAME");
    call.addNamedArgument("PERSON_CODE");
    Vector strVect = new Vector(3000);
    strVect.add(“ab-gthhjko”);
    strVect.add(“cd-gthhjko”);
    strVect.add(“ef-gthhjko”);
    Vector parameters = new Vector();
    parameters.addElement(strVect);
    session.executeQuery(query,parameters);
    2. If the answer on previous question is yes:
    - How this parameter has to be defined in Oracle’s Stored Procedure?
    - What is the maximum number of elements/bytes that can be passed into the vector?
    The best way that we have found so far was to use single string as a parameter. The individual values would be delimited by comma, such as "ab-gthhjko,cd-gthhjko,ef-gthhjko..."
    However, in this case concern is the size that can be 3,000 * 11 = 33, 000 characters. The maximum size of VARCHAR2 is 4000, so we would need to break calls in chunks (max 9 chunks).
    Is there any other/more optimal way to do this?
    Thanks for your help!
    Zoran

    Hello,
    No, you cannot currently pass a vector of objects as a parameter to a stored procedure. JDBC will not take a vector as an argument unless you want it to serialize it (ie a blob) .
    The Oracle database though does have support for struct types and varray types. So you could define a stored procedure to take a VARRAY of strings/varchar, and use that stored procedure through TopLink. For instance:
    StoredProcedureCall call = new StoredProcedureCall();
    call.setProcedureName("STORED_PROCEDURE_NAME");
    call.addNamedArgument("PERSON_CODE");
    oracle.sql.ArrayDescriptor descriptor = new oracle.sql.ArrayDescriptor("ARRAYTYPE_NAME", dbconnection);
    oracle.sql.ARRAY dbarray = new oracle.sql.ARRAY(descriptor, dbconnection, dataArray);
    Vector parameters = new Vector();
    parameters.addElement(dbarray);
    session.executeQuery(query,parameters);This will work for any values as long as you are not going to pass in null as a value as the driver can determine the type from the object.
    dataArray is an Object array consisting of your String objects.
    For output or inoutput parameters you need to set the type and typename as well:
      sqlcall.addUnamedInOutputArgument("PERSON_CODE", "PERSON_CODE", Types.ARRAY, "ARRAYTYPE_NAME"); which will take a VARRAY and return a VARRAY type object.
    The next major release of TopLink will support taking in a vector of strings and performing the conversion to a VARRAY for you, as well as returning a vector instead of a VARRAY for out arguments.
    Check out thread
    Using VARRAYs as parameters to a Stored Procedure
    showing an example on how to get the conection to create the varray, as well as
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jdbc/varray/index.html on using Varrays in Oracle, though I'm sure the database docs might have more information.
    Best Regards,
    Chris

  • Is it possible to pass some type of parameter/unique id FROM PDF?

    hi there,
    I will try to explain this as best as I can but please bear with me.
    I have Adobe Acrobat X Pro.
    We have drawings linked to each other in pdf.
    When you open a drawing (say, a layout of a house), my boss wants to be able to click on say, a door, and have all the information on that door pop up (size, manufacturer, when it was shipped, etc). The information log is stored in Excel. I know how to hyperlink to open an excel file FROM pdf, but cannot figure out how to open a specific sheet in Excel. So here is my question:
    1. How do I link to a specific sheet in Excel so it opens when I click on a link in the pdf file?
    Having said that, we are going to have around 1500 items and I don't want to have to create 1500 sheets (if that's even possible) to open the details for each one. So here is question #2:
    2.  Is it possible to pass some type of parameter to excel (or even Access) to know what item was clicked on the pdf file so I can write a macro/code in Excel to just fill in the details for that item? (Hence just needing one sheet instead of 1500?).
    Suggestions/path forwards are welcome.
    I hope this was clear and I thank you in advance.
    Thanks,
    Jessica

    There really isn't a way to do that. It would be possible to export an Excel sheet to a tab-delimited (or CSV, XML) file which could optionally be attached to the PDF. JavaScript inside the PDF could read the data file and extract the information for an item so it could be displayed somehow.

  • Is it possible to pass a field symbol as parameter from any method of view?

    Hi
    Is it possible to pass a field symbol as an importing parameter to teh globally declared attribute??

    While it is true that you can pass field symbols, they must be fully typed at the time you pass them  and they will be passed by value, not by reference. If you want to pass generically typed variables use a data reference (TYPE REF TO) instead.

  • Is it possible to pass TABLE as the output parameter in stored procedure

    Hey Experts,
      Is it possible to pass TABLE as the output parameter in stored procedure.
    eg
    create procedure spGetData
    @tableName as TABLE(intValue INT NOT NUL)
    as 

    You can use OPENQUERY or OPENROWSET, as mentioned above, to make stored procedure results table like. There are
    some limitations with these methods:
    http://technet.microsoft.com/en-us/library/ms188427.aspx
    In OPENQUERY this-sql-server-instance can be used instead of a linked server name. It requires setting data accces server option:
    exec sp_serveroption @server = 'PRODSVR\SQL2012'
    ,@optname = 'DATA ACCESS'
    ,@optvalue = 'TRUE'
    LINK: http://www.sqlusa.com/bestpractices/select-into/
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • BODI: Is it possible to pass parameter/variable value out of a data flow?

    Hi All,
    Is it possible to pass parameter value out of a data flow?
    I've created a custom function in my query transform to get row count, this value would be used outside the data flow to perform another logic. It looks like I'm unable to modify the output schema at the function in the query transform to explicitly map it to a particular global/local variable.
    Any ideas?
    Thanks.

    Any ideas?

  • Is it possible to pass a null Input Oracle parameter to a stored procedure

    I have a stored procedure that take 3 inputs and gives 1 output.I'm using Oracle parameter to add all 3 input parameters as follows :
    OracleParameter inobj = cmd.Parameters.Add("wid", OracleDbType.Int32,50);
    inobj.Direction = ParameterDirection.Input;
    inobj.Value = _employeeID;
    and added the output parameter as follows:
    OracleParameter outobj = _cmd.Parameters.Add("w_first", OracleDbType.Varchar2, 50);
    outobj.Direction = ParameterDirection.Output;
    On the UI end , the user has a choice to provide 1 input or all inputs or any 2 inputs based on his interest. Stored Proc looks as follows:
    SP( inp1 in parameter, inp2 in parameter, inp3 in parameter, output1 out parameter)
    If i just get 1 input or 2 inputs from the user, is it fine to query the data for output using same stored procedure or should i have individual stored procedures for each scenario(combination of different inputs)?
    Will i get any pl/sql error that says invalid number of arguements?

    This means if i have 1 input , i need to have a different method to pass 1 parameter value and other input parameters as null and if there are 2 inputs will need different method to handle. So 5 different methods all together?
    What if the stored procedure is as follows ,will its make things easier so that only one method is used for all scenarios?(optional parameters is set default value as null in the stored proc)
    Create or Replace
    Procedure GetFoo
    (cur_z OUT sys_refcursor,
    pub_date IN varchar2,
    fname IN varchar2 default null,
    lname IN varchar2 default null,
    phone IN varchar2 default null
    IS
    BEGIN
    ---get some data
    END;
    *actually i can test this but, all the database servers are down today. So, i need to have idea if this thing works before i confirm with someone. Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Is it possible to pass table type values as input parameter for con prg?

    Hi All,
    Could you please confirm that is it possible to pass table type value as input to concurrent program?
    If possible how to achive this?
    If not possible whether we have any ora doc which is confirming this.
    Any hel will be great.
    Thanks,

    Hi student;
    Please check (http://apps2fusion.com/at/45-as/241-enablingdisabling-concurrent-program-parameters)
    Hope it helps
    Regard
    Helios

Maybe you are looking for

  • Image in template background do not appear in browser

    Hello all I run a site ( http://ntp.neuroscience.wisc.edu/ ) that uses templates for backgrounds/spry menus for its pages. We currently use three templates to display backgrounds across the site and up until a few days ago everything displayed fine,

  • Using the same Apple ID on 2 devices - 1 set to UK Store, 1 set to US store

    Hi, I live in the United States and am trying to set up my iPad on a UK DNS server so that I can watch British TV using the BBC iPlayer app. In order to download the BBC iPlayer app I need to use the UK iTunes store. I am also using the same Apple ID

  • How to Keep Default Layout of ALV

    I changed layout of ALV, then pressed button "Enter" but not "Save". But when I entered the screen again, the layout was changed to the setting which I changed last time, not default setting. Source code is shown below.      DATA lt_acc_bal_fcat TYPE

  • How to view AR Due Date onto Report CJIA

    Hello We are putting in place Project Cash Mngt. I can view my line items by project in Report CJIA but i can't view any due date. Besides, i can see data in CJIA but there is nothing at all available in CJIB. what do i miss ? Thanks Stéphane

  • Number pages in sapscript layout

    Hi experts, What type of variables normally used in sap script to output data?  How do you number pages in sapscript layout outputs?  Thanks and Regards, Logu.