How to set values in the workbook by idocscript

Can I set the values in the workbook as I can put it in java as putlocal.binder?

Was resolved by running get_search_results service and get the ddocname of all the results, comparing with the ddocname of the selected JavaScript line and assign the respective value.

Thanks for all your support.

Priya Verma

Tags: Fusion Middleware

Similar Questions

  • How to set values in the 2D array?

    Hello

    I need help in creating a 2D of some entries of the tables table

    (1) the table of chains with three values should be in first position

    (2) then there's another table 2D containing 3 times 10 values.

    I want to show now these ten values of the three columns.

    How is that possible?

    Thank you

    Hello

    using "Build-table", values range from left to right. Besides, they are not under the column names.

    You must use BuildArray in the right order!

    Sometimes it can be so easy:

  • [ADF, JDev12.1.3] (How to set values for the attributes 1) to create a file and 2) committing to the database?

    Hallo,

    in my tables and forms (created from VO istances) there are some areas for which, insert and update, I calculate and set the value programmatically when a record is created or updated.

    In some cases, I put the necessary values using the 'CreateWithParams' in the workflow diagram...

    In some other ones, I associate an action, a bean, a created button drag-and - drop operation 'CreateWithParams' of the istance VO...

      public String cwpButton_action() {
        BindingContainer bindings = getBindings();
        OperationBinding operationBinding = bindings.getOperationBinding("CreateWithParams");
        // here I calculate and set the needed params
        // ...
        Object result = operationBinding.execute();
        if (!operationBinding.getErrors().isEmpty()) {
          return null;
        }
        return null;
      }
    

    And is ok if I can calculate the values for the attributes before a new record is created.

    But the approach that I have used to define the attributes (for new and updated records) whose value should be caluclated after the user has filled in the fields, before committing to the database?

    Thank you

    Federico

    Federico,

    Let me first tell you that our code is activity masking errors (the cache instead of working on them).

    1. If (! operationBinding.getErrors () .isEmpty ()) {}
    2. Returns a null value.
    3. }
    4. Returns a null value.

    This means that you do not check the errors at all. You must at least print a log with the error message, you receive, if you get one!

    To solve your problem, you override the method prepareForDML() of the entity or entities in question. You can calculate and set the necessary attributes until they get engaged in the doDML(). Do not use doDML() because it is too late in the life cycle.

    Timo

  • How to assign values to the application points to leave on a table

    Hello

    I have a FORM on a table with two or three elements. How to assign values to the elements of the application with the values in the elements of form, every time the value of the element is entry, change or page is sent?

    I created a dynamic action to the region level with Event - change to run the suite of PL/SQL, I tried with 3 different ways in PL/SQL, as shown below, but it didn't work.

    BEGIN

    : APP_FY: =: P1_FY;

    END;

    BEGIN

    APEX_UTIL. SET_SESSION_STATE ('APP_FY', v ('P1_FY'));

    : APP_FY: =: P1_FY;

    END;

    BEGIN

    APEX_UTIL. SET_SESSION_STATE ('APP_FY', v: P1_FY);

    END;

    Then I created an action dynamic at the ITEM level with change event to run the suite of PL/SQL and tried with PL/SQL, as shown below, but it didn't work.

    I need to assign values to the elements of the request form as these elements of the application will be used in many other pages in the application. How to I get there?

    Thank you.

    If a dynamic action of PL/SQL execution, you must send your list of page elements in the parameter "Elements of Page to submit.

    See the section 'run pl/sql' for this post.

    If the page is submitted, the elements of the page will be automatically set to session state, and you can have a page process make the code you have.

  • How to transfer values to the popup while the bean in application scope?

    Hi all

    I use JDeveloper 11.1.1.4

    My scenario is that I have a < af:popup > with a component of < af:outputText >.

    I need pass values of output text dynamically according to the scenarios.

    My grain of support is application scope . So I'm not able to pass values using get and methods.

    My Design as,

    < af:popup id = "p1" contentDelivery = "lazyUncached" >

    < af:outputText value = "#{managedBean.getDynamicText}" id = "ot1" / > "

    < / af:popup >

    Now I run the application I'm not get all values in text during debugging output, I am able to set the value, but it didn't reflect on the page.

    How to transfer values to the popup while the bean in application scope?

    Thank you...

    At the bean, why don't you set the value to a variable pageflowscope and point the outputtext popup to the pageflowscope variable?

    () .getpageflowscope, set AdfFacesContext.getCurrentInstance ("nomvar", value);


    Thank you

    Alisson

  • How to assign values to the nested table and passes as a parameter for the procedure?

    How to assign values to the nested table and passes as a parameter for the procedure?

    Here are the object and its type

    create or replace type test_object1 as an object
    (
    val1 varchar2 (50).
    val2 varchar2 (50).
    VARCHAR2 (50) val3
    );


    create or replace type test_type1 is table of the test_object1;


    create or replace type test_object2 as an object
    (
    val1 varchar2 (50).
    val2 varchar2 (50).
    VARCHAR2 (50) val3
    );


    create or replace type test_type2 is table of the test_object2;


    GRANT ALL ON test_object1 to PUBLIC;


    GRANT ALL ON test_type1 to PUBLIC;


    GRANT ALL ON test_object2 to PUBLIC;


    GRANT ALL ON test_type2 to PUBLIC;

    Here is the table object type:

    create the table test_object_tpe
    (
    sl_num NUMBER,
    Description VARCHAR2 (100),
    main_val1 test_type1,
    main_val2 test_type2
    )


    NESTED TABLE main_val1 STORE AS tot1
    NESTED TABLE main_val2 STORE AS earlier2;


    -----------------------------------------------------------------------------------------------------------

    Here is the procedure that inserts values into the nested table:

    PROCEDURE INSERT_TEST_DATA (sl_num in NUMBER,
    Description in VARCHAR2,
    p_main_val1 IN test_type1,
    p_main_val2 IN test_type2
    )
    IS
    BEGIN

    FOR rec in p_main_val1.first... p_main_val1. Last
    LOOP

    INSERT INTO xxdl.test_object_tpe
    (
    sl_num,
    Description,
    main_val1,
    main_val2
    )
    VALUES
    (
    sl_num
    description
    test_type1 (test_object1)
    p_main_val1 .val1 (CRE),
    p_main_val1 .val2 (CRE),
    p_main_val1 .val3 (rec)
    )
    )
    test_type2 (test_object2 (p_main_val2 .val1 (CRE),
    p_main_val2 .val2 (CRE),
    p_main_val2 .val3 (rec)
    )
    )

    );

    END LOOP;

    commit;

    END INSERT_TEST_DATA;

    -------------------------------------------------------------------------------------------

    Here are the block anonymoys what values attributed to the object type and pass values in the procedure:

    Set serveroutput on;

    declare

    p_sl_num NUMBER: = 1001;
    p_description VARCHAR2 (50): = 'Test Val1;

    inval1 test_type1: = test_type1();
    inval2 test_type2: = test_type2();

    Start


    inval1 (1) .val1: = "testx1";
    inval1 (1) .val2: = "testx2";
    inval1 (1) .val3: = "testx3";

    inval2 (1) .val1: = "testy1";
    inval2 (1) .val2: = "testy2";
    inval2 (1) .val3: = "testy3";

    CSI_PKG. INSERT_TEST_DATA (sl_num = > p_sl_num,)
    Description = > p_description,
    p_main_val1 = > inval1,
    p_main_val2 = > inval2
    );

    end;
    /
    Someone can correct me.

    Thank you
    Lavan

    Thanks for posting the DOF and the sample code but whenever you post provide your Oracle version 4-digit (result of SELECT * FROM V$ VERSION).
    >
    How to assign values to the nested table and passes as a parameter for the procedure?
    >
    Well you do almost everything bad that could be hurt.

    Here is the code that works to insert data into your table (the procedure is not even necessary).

    declare
    p_sl_num NUMBER := 1001;
    p_description VARCHAR2(50) := 'Testing Val1';
    inval1 test_type1 := test_type1();
    inval2 test_type2 := test_type2();
    begin
    inval1.extend();
    inval1(1) := test_object1('testx1', 'testx2', 'testx3');
    inval2.extend();
    inval2(1) := test_object2('testy1', 'testy2', 'testy3');
    
    INSERT INTO test_object_tpe
    (
    sl_num,
    description,
    main_val1,
    main_val2
    )
    VALUES
    (p_sl_num, p_description, inval1, inval2);
    commit;
    end;
    /
    

    See example 5-15 making reference to an element of nested Table Chapter 5 using PL/SQL collections and records in the PL/SQL doc
    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28370/Collections.htm#CJABEBEA

    1. you don't even have the procedure because it is a simple INSERTION in the table you can do directly (see my above code)

    inval1(1).val1 := 'testx1';
    

    Since you have not yet created all the elements, there is no element 1 "inval1". You need EXTEND the collection to add an element

    inval1.extend();
    

    And then, there is an empty element, but "inval1" is a container for objects of type 'test_object1' not for scalars as "val1", "val2", and "val3".
    If you can not do

    inval1(1).val1 := 'testx1';
    

    You must create an instance of 'test_object1 '.

    inval1(1) := test_object1('testx1', 'testx2', 'testx3');
    

    And so on for the other collection

    You don't need the procedure (as my code example shows), but once you fill in the variables correctly it will work.

  • How to set CC at the beginning of the project without using the CC button?

    How to set CC at the beginning of the project without using the CC button? I want CC which by default and allow users to turn off if they do not need.

    Hi again,

    If you have a Standard Action, then just add a literal Assign cpCmndCC with 1 line. You can also follow what says Lieve, just add a short blade and apply the action on the second slide. Also if you have objects on the slide which advance to the next slide and then not using OnExit measures.

    Thank you!

  • How to set point without the use of fields values in the block of the branch action?

    Well, I'll try to say this in an easy way, isn't weird.

    I created a button, RECORD, which is a branch of the type of management: management of the function return A Page. This is my code for the branch:

    If: P2008_NAP_SUPPORTING_MATERIALS = "Yes" then
    return "2092";
    on the other
    return '2040';
    end if;

    The code for this type of service is stored in the block the ACTION of the direction of the page. The ACTION block for a branch of the type of direction: direction to the function return A Page is different from that of the ACTION block for a branch of type branch: branch Page or URL.

    I need to set some values of point with specific values, which I can do with a type of branch: branch Page or URL. This is not possible with the type of direction: direction of the function return A Page. The ACTION block is totally different.

    How can I set certain values on Page 2040 of 2008 Page say without using field block action of the branch?

    Thank you in advance,
    Maggie

    You must change the Source used to "only,...". "If you want the value passed to use instead of the value of the extraction of the line. However, in case you go to the page and look for the value of line-extraction used, you must pass in a flag of some sort, the presence or the absence of which can report a process header before or calculation to set the item null, allowing the extraction line value to use.

    Scott

  • How to set up in the community of the 4-byte ASN route map?

    Hi all

    I want to do AS-prefix for one of my ISPs. I have map route this ISP and when I try to configure 'set the 64704:xxxxxx community' under the route map configuration mode, I get an error (it's 6 figures in my number of ACEs).

    in the configuration guides always mentioned ASN "well known." I found 'set extcommunity rt' but I think, and it seems that is not what I want to achieve.

    so, how can I include 4-byte ASN in my 'community set?

    Thank you

    Hi Ruslan,

    Just to comment on the 4B ASN support - there are a few pitfalls. A the community attribute is a value of 4 b itself. So if you store your own ASN 4B in a community standard, there is no space left in it for the remaining part of the value of the community. As the set community command manipulates only standard communities, it is impossible to use 4B ASN with her. Extended communities could be the solution, because they are long 8B; However, the type of extended community to use is called AS specific BGP extended community and is defined in RFC 5668. Unfortunately, IOS does not seem to take this type of community - and even if it did, your ISP would not seek for it according to the output of BLACKBERRIES from the database. The particular kind of wider community, you tried to use is called road target, and it serves a different purpose.

    That being said, I must say that I clearly don't understand the use of communities as indicated by your neighbor. Note that there are two communities:

    remarks:         64700:ASN - do not announce to AS ASNremarks:         64709:ASN - announce to AS ASN
    They say - do not advertise or advertise, to the ASN such AS specified in the lower part of the community. But how could your ISP perform filtering for an independent arbitrary system there if it isn't directly peering with it? It seems to me that if the ASN here in this description may be made by a defined limited ASN ot want to peer with your ISP and not an ASN preceded. In addition, when you read carefully:
    remarks:         64701:ASN - prepend 1x to AS ASNremarks:         64702:ASN - prepend 2x to AS ASNremarks:         64704:ASN - prepend 4x to AS ASNremarks:         64706:ASN - prepend 6x to AS ASN
    It is said "prefix N times to AS ASN" - but to precede what? And what it means when they say "precede"? I would say that at this point, it would be better to call your ISP and to clarify the precise meaning and operation of these values of the community until we try to find a solution to your needs. It might be possible that these communities leads to a different prepending operation than what we think. Best regards, Peter
  • How to set values in a tabular presentation?

    Hi all

    Is it possible to set all column values in a tabular presentation of a button (or another element on the page)?

    I have a tabular form and when you click on a button, I want to set all the values in a column some (say Col2 below), the value of X. Any ideas on how can this be achieved?
    Please see my example here...


    In the form of:

    Col1 - Col2 - Col3
    1----------2-----------3
    1----------2-----------3
    1----------2-----------3


    The user clicks on a button, and the values in the form of tables are changed for this column.



    In the form of:

    Col1 - Col2 - Col3
    1----------X-----------3
    1----------X-----------3
    1----------X-----------3


    Thanks for any help.

    -Chris

    Haven't tried, but I think that:

    1 have the button call a javascript function onclick.

    2. the function should perform a loop on document.wwv_flow.fxx (where xx is the column number, assume that it is 03 for this example) and set (have not tried this but just guess offhand):

    function myFunc(pSomeValue) {
      for (i=0;i,pSomeValue);}
    
    Might take a few tweaks to get it right but something along those lines is what I'd try. 
    
  • How to assign values in the first array 2D array

    Hi in my 2D array, I would like to store the Sessions in the first table and identifiers reserved for these sessions in the second table. I want to accept three booking by session and there are altogether 4 sessions. And I want to name the session as "session1", "session2" and "session3" but I don't want to set the value of the user ID since they are going to be some user input. So I have this table 2D.
    String [] [] booking = new reservation [4] [3];
    How can I assign the first table (the part of session), with values session1... pleniere4 please? Hope that makes sense for you.
    I tried
    Reservation [0] = "session1". but it showed an error.
    Thank you.

    Reservation [0] = "session1". but it showed an error.

    Won't work because your table looks like this.

    String[][] booking = new booking[4][3];
    /*
     * booking[0][0]
     * booking[0][1]
     * booking[0][2]
     *
     * booking[1][0]
     * booking[1][1]
     * booking[1][2]
     *
     * booking[2][0]
     * booking[2][1]
     * booking[2][2]
     *
     * booking[3][0]
     * booking[3][1]
     * booking[3][2]
     */
    

    If you use both indices to define each reservation

    booking[0][0] = "session 1";
    
  • OFA: how to insert values from the front end of the OPS to the database page

    Hi friends, I am new OAF, iam using jdeveloper version 9.0.3.5

    I created a QueryPG .in this page I HAV set a "create" button on this page when I click that "create" button must navigate to another page (ie) createPersonPG, I have hepatitis has created this createPersonPG in a RegionStyle of = > defaultsinglecolumn, with some of my attribute as "personId, phoneno, e-mail, address" in my createPersonPG I hav also set a button titled "save"...»»» " After you enter the data when I click on save button means a new line should be added to my database table that was my task... for which I wrote the code in my MainCO

    Successful work means:
    --------------------------------------
    I can able to query the data from the database
    From my QyeryPG, I can access createPersonPG

    MY PROBLEM
    -------------------
    When I enter values in the createPersonPG wen I click on "Save" button means that the data that I enter are not save to database, but in my QueryPG I get confirmation that saved successfully in my QueryPG. " I want data to be saved in the database... when I get select * from table_name average, should be a rank more

    can anyone help me with this task please I'll be greateful to you.. _ I was doing this job for more than 20 days Please helpme I complete this task

    Thank you
    Thilib

    my code for in MainCO

    in LICS I HAV written query command and navigate to the code "createPersonPG" like this:

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);
    String actionInMainProgramScreen = pageContext.getParameter (EVENT_PARAM);
    String personId = pageContext.getParameter ("PersonId");
    If (pageContext.getParameter ("GO")! = null)
    {
    System.out.println ("Submit button");
    OAQueryUtils.checkSelectiveSearchCriteria (pageContext, webBean);
    String firstName = pageContext.getParameter ("FirstName");
    String phoneNO = pageContext.getParameter ("PhoneNO");
    [Serializable] parameters = {personId, firstName, phoneNO};
    System.out.println ("AM method is called");
    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    am.invokeMethod ("initQuery", parameters);
    }


    If (actionInMainProgramScreen.equals ("Create"))
    {
    System.out.println ("create key");
    () pageContext.setForwardURL
    'OA.jsp?page=/gwp/oracle/apps/xxi/aaaPersonDetails/webui/createPersonPG '.
    null
    OAWebBeanConstants.KEEP_MENU_CONTEXT
    null
    null
    true
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    OAWebBeanConstants.IGNORE_MESSAGES);
    }
    }------------------------------------------------------------------------------
    IN MY createPersonCO I HAV wrote this code

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processRequest (pageContext, webBean);
    String paramPersonAction = pageContext.getParameter ("xxParamActionOnPerson");
    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    PersonParamList serializable [] = {paramPersonAction};

    If (paramPersonAction! = null & & paramPersonAction.equals ("Create"))
    {
    am.invokeMethod ("createPerson");
    }
    }

    /**
    * How to manage remittances form for form elements in
    * a region.
    @param pageContext OA page context
    @param webBean the grain of web for the region
    */

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule (webBean);

    If (pageContext.getParameter ('Save')! = null)
    {
    System.out.println ("first line button Save");
    am.invokeMethod ("saveProgramToDatabase");
    System.out.println ("navigate to home page');
    String message = "saved successfully ';
    OAException exp = new OAException (message, OAException.CONFIRMATION);
    pageContext.putDialogMessage (exp);
    () pageContext.forwardImmediately
    'OA.jsp?page=/gwp/oracle/apps/xxi/aaaPersonDetails/webui/aaaPersonDetailsMainPG '.
    null
    OAWebBeanConstants.KEEP_MENU_CONTEXT
    null
    null
    true
    ADD_BREAD_CRUMB_YES);
    }
    }-------------------------------------------------------
    IN my AM I wrote this code

    ' public void initQuery (String personId, String firstName, String phoneNo)
    {
    System.out.println ("Am initQuery");
    aaaPersonDetailsVOImpl vo = (aaaPersonDetailsVOImpl) getaaaPersonDetailsVO1 ();
    System.out.println ("aaaPersonDetailsVO initQuery method called");
    vo.initQuery (personId, firstName, phoneNo);
    }

    Public Sub createPerson()
    {
    System.out.println ("first createPersonMethod line");
    aaaPersonDetailsVOImpl vo = (aaaPersonDetailsVOImpl) getaaaPersonDetailsVO1 ();
    System.out.println ("Line before if condition createPersonMethod");
    If (!) VO.isPreparedForExecution ())
    {
    System.out.println ("first line If condition createPersonMethod");
    vo.setMaxFetchSize (0);
    }
    System.out.println ("creating New Row");
    Line r = vo.createRow ();
    System.out.println ("new insertion line");
    vo.insertRow (r);
    System.out.println ("inserted row");
    r.setNewRowState (r.STATUS_INITIALIZED);
    System.out.println ("before"sequence initialized");
    Number personId = this.getOADBTransaction () .getSequenceValue "(XXI. PER_DETAIL");
    System.out.println ("after"sequence initialized");
    vo.getCurrentRow () .setAttribute ("Person_Id", personId);
    System.out.println ("sequence number =" + personId);
    System.out.println ("last line of the Create method");
    }

    Public Sub saveProgramToDatabase()
    {

    System.out.println ("before validation.");
    getOADBTransaction () .commit ();
    System.out.println ("new program created.");
    }

    Published by: user13307444 on July 26, 2010 10:20

    Hello

    This could be the problem if there is that data validation is there that does not back up the data on the page. Because for example I had this problem when my database column has been primary key while on the EO page it wasn't. & When I tried to record data EO was allowing me to record, but the database did not allow. Please check your OA

    AJ

  • How to set "-flag of the DOPENSSL_NO_HEARTBEATS in Windows 2008 R2 server"

    After checking, I was told that one of our server has problem with OpenSSL. The solution is to be upgraded to version 1.0.1g or later or should be recompliled with the '-Pavilion of the DOPENSSL_NO_HEARTBEATS.

    Can someone ask how to set this flag? I Googled it and couldn't find anything.

    Or can someone guide me to download the version 1.0.1g or later?

    Thank you very much!!!

    This issue is beyond the scope of this site and to make sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
  • How to: Set French as the language of the default keyboard

    Original title: when I type anything language changes? How to set the default language in English?

    When I type anything language changes? How to set the default language in English?

    Follow the section "Let me fix it myself" in the article below (or use the "FixIt" If you are feeling lucky):

    "How to use the United International keyboard layout in Windows 7, Windows Vista and in Windows XP"
      <>http://support.Microsoft.com/kb/306560 >

    HTH,
    JW

  • How to return values from the record following instead of in the same record in LOV

    Hi all

    I use Forms 10 G.

    I have a block of details. In what in the 3rd column, I have a LOV.

    My requirement is let say I asked for it from the 1st and 2nd column, and it shows 1 record.

    After that if I pressed F9, then it should display the LOV list and, when I select a value any then it will create a new record with the same value of 1st and 2nd column.

    Example: -.

    Agenda provider country
    123ABCIndia

    We here in the column 'Country' LOV. Then when I pressed F9 then Lov should be displayed.

    as below.

    List of countries
    India
    U.S..
    Japan

    It works very well so far.

    Now if I select from the USA in the list then it should create a new record with the values of 1st and 2nd column.

    Agenda provider country
    123ABCIndia
    123ABCJapan

    How can I do this?

    Besically I need, rather than return the value in the same record, he must return to the next with the exsiting values record.

    The algorithm is:

    -use the KEY-LISTVAL about to 'COUNTRIES '.

    -LOV execution using builtin show_lov

    -store the return value Lov any parameter or a local variable in your trigger code ( vL_dummy_Deger varchar2 (100); )

    -Create registration

    -assign value to any new item you want to

    code like this:

    declare

    vLDummy boolean;

    vL_dummy_Deger varchar2 (100);

    Start

    -lov runs lov ruturns value is assigned to all the dummy elements to store Lov, return value. (no need to display)

    "-" DUMMY "point lets store lov, return value.

    vLDummy: = show_lov ('LOV_ULKE');

    --

    vL_dummy_Deger: =: model;

    create_record;

    : new_item: = vL_dummy_Deger;

    end;

Maybe you are looking for