Column Security Queries generated by FORMS Performs bad on 11g(11.1.0.7)

We are busy Upgrading our DB from 10g (10.2.0.4) to 11g (11.1.0.7).
We are currently using Oracle Application Server (10.1.2.0.2) with Form and Reports connecting to our 10.2.0.4 DB.
The Application Server is not being upgraded as there are compatable with 11g.
However when we point these 10g FORMS to the 11g DB we have huge performance issues on specific queries generated by FORMS if Block Propoerty "ENFORCE COLUMN SECURITY"=Y.
The query that 11g strugles with - for example is:
SELECT obj.object_type, obj.object_name, obj.owner
INTO :b0, :b1, :b2
FROM
(SELECT o.object_type, o.object_name, o.owner
FROM all_objects o,
all_synonyms s
WHERE s.synonym_name = :b1
AND s.owner = :b2
AND s.table_owner = o.owner
AND s.table_name = o.object_name
) obj
WHERE obj.object_type IN ('TABLE', 'VIEW', 'SYNONYM');
This query executes for almost 60 seconds - to check the Users Privs to access an Object.
Question:
HAS ANYONE ELSE EXPERIENCED THIS DURING thier 11G upgrade???
I would love to hear from other people with a similar technology if - hoe they have resolved these as it is NOT CODE THAT WE have CUSTOM written, IT IS ORACLE generated code that is performing so terrible on 11g*.
All feedback welcome.
PS: Our solution is to DISABLE Column Security on all our Forms as we control access via our own Security module.
WP

I just stumbled across the same problem...

Similar Messages

  • Error when trying to access a secured web service from Forms 10g 10.1.2.3

    Hello,
    I'm trying to access a secured web service from Forms10g 10.1.2.3 but i'm getting the next error when pressing the button the first time:
    java.rmi.RemoteException: ; nested exception is: HTTP transport error: javax.xml.soap.SOAPException:
    java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 401 UnauthorizeWhen i press the button a second time i got this error:
    javax.xml.rpc.soap.SOAPFaultException: The SOAP request is invalid. The required node 'Envelope' is missingThis is the code i have in my button:
    DECLARE
    jo ora_java.jobject;
    pdfObject ora_java.jobject;
    pdf     varchar2(900);
    rv varchar2(100);
    ex ora_java.jobject;
    BEGIN
    JO := SEARCHSOAPCLIENT.new;
    SEARCHSOAPCLIENT.setUsername(JO,'weblogic');
    SEARCHSOAPCLIENT.setPassword(JO,'welcome1');
    pdfObject := SEARCHSOAPCLIENT.quicksearch(JO,'1234',NULL);
    pdf := SEARCHSOAPCLIENT.tostring(pdfObject);
    message(pdf);
    message(' ');
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    :error := Exception_.toString(ex);
    END;When i run it from JDeveloper it works, this is a portion of java code the proxy web service has:
    import oracle.webservices.transport.ClientTransport;
    import oracle.webservices.OracleStub;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.Stub;
    public class SearchSoapClient {
        private webservicesproxywebcontent.proxy.SearchSoap _port;
        public SearchSoapClient() throws Exception {
            ServiceFactory factory = ServiceFactory.newInstance();
            _port = ((webservicesproxywebcontent.proxy.Search)factory.loadService(webservicesproxywebcontent.proxy.Search.class)).getSearchSoap();
            this.setUsername("weblogic");
            this.setPassword("welcome1");
            System.out.println("callling from _port "+ _port.quickSearch("1234234", null));
         * @param args
        public static void main(String[] args) {
            try {
                webservicesproxywebcontent.proxy.SearchSoapClient myPort = new webservicesproxywebcontent.proxy.SearchSoapClient();
                System.out.println("calling " + myPort.getEndpoint());
            } catch (Exception ex) {
                ex.printStackTrace();
         * delegate all operations to the underlying implementation class.
        public QuickSearchResult quickSearch(String queryText, IdcPropertyList extraProps) throws java.rmi.RemoteException {
            return _port.quickSearch(queryText, extraProps);
        }Also the secured web service was generated from Webcenter Content 11.1.1.6 that is why it's a secured web service.
    Kind Regards
    Carlos

    Without going into any technical discussion about the code, my first question is what JDK version was used to create this which was imported into the form? Understand that Forms 10 runs on JDK 1.4.2, so if you used any newer JDK version, likely there will be problems.

  • Column value substitution in tabular form element attributes

    We started to discuss this at Re: Tabular form with Ajax
    I also mentioned this at Re: how to make only some rows editable in html db.
    but thought that this deserves its own thread.
    In Doug's sample Sudoku application in that thread, he uses #COLUMN# substitution in the Form Element Attributes and it works fine, but in my example page at http://htmldb.oracle.com/pls/otn/f?p=24317:219 I used the same technique and no matter what I do, the #COLUMN# substitution is not expanded by the Apex engine.
    This is driving me nuts, any ideas why it works in one application but not in another?
    Thanks

    Hm, you might be right.
    I copied your row template and modified it at http://htmldb.oracle.com/pls/otn/f?p=24317:219
    The styling looks terrible, not sure why, the template is simply
    <tr>
    <td class="t10data">#EMPNO_DISPLAY#</td>
    <td class="t10data">#ENAME#</td>
    <td class="t10data">#JOB#</td>
    <td class="t10data">#MGR#</td>
    <td class="t10data">#HIREDATE#</td>
    <td class="t10data">#SAL#</td>
    <td class="t10data">#COMM#</td>
    <td class="t10data">#DEPTNO#</td>
    </tr>I had a lot of trouble getting this to work because the wizard generated tabular form appends 2 hidden fields containing the PK and the row-checksum to the last (editable?) field on each row. If the last editable field has #COL# substitution, it expands the substitution and forgets to close the INPUT tag thus causing malformed HTML (I think this is a bug in the rendering engine).
    The readonly condition is sal>1000 which now works. The SAL>1000 fields are now readonly.
    But now the update process is broken. If I enter a number in the first blank SAL field (empno=3641) and click Submit, I get no errors but the change is not saved. Wonder why.
    Hopefully, Scott (Spadafore) will take mercy on our amateurish experiments and give us some definitive answers soon!
    Thanks.

  • Unable to generate any form in oracle r12

    Dear Gurus,
    suddenly we can't generate any form "standard or customized" with following error:
    frmcmp_batch Module=$AU_TOP/forms/US/INVGIPDP.fmb Userid=apps/apps compile_all=yes module_type=form batch=no output_file=$INV_TOP/12.0.0/forms/US/test.fmx
    Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
    Forms 10.1 (Form Compiler): Release  - Production
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
         With the Partitioning, OLAP, Data Mining and Real Application Testing options
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle Procedure Builder V10.1.2.3.0 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.5.0      Production
    Compiling package specification APP_CUSTOM...
       No compilation errors.
    Compiling package specification IPDP_TREE...
       No compilation errors.
    Compiling package specification DATA_SET_CTRL...
       No compilation errors.
    Compiling package specification RESULTS...
       No compilation errors.
    Compiling package specification APP_CUSTOM...
       No compilation errors.
    Compiling package body APP_CUSTOM...
    Compilation error on package body APP_CUSTOM:
    PL/SQL ERROR 302 at line 24, column 19
    component 'DISABLED' must be declared
    PL/SQL ERROR 0 at line 24, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 30, column 5
    identifier 'APP_WINDOW.CLOSE_FIRST_WINDOW' must be declared
    PL/SQL ERROR 0 at line 30, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 43, column 5
    identifier 'APP_WINDOW.SET_WINDOW_POSITION' must be declared
    PL/SQL ERROR 0 at line 43, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 46, column 3
    identifier 'APP_WINDOW.SET_TITLE' must be declared
    PL/SQL ERROR 0 at line 46, column 3
    Statement ignored
    Compiling package specification IPDP_TREE...
       No compilation errors.
    Compiling package body IPDP_TREE...
    Compilation error on package body IPDP_TREE:
    PL/SQL ERROR 201 at line 43, column 26
    identifier 'APPTREE.COLLAPSED_NODE' must be declared
    PL/SQL ERROR 0 at line 43, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 50, column 26
    identifier 'APPTREE.TREE_NAME' must be declared
    PL/SQL ERROR 0 at line 50, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 103, column 39
    identifier 'APPTREE.TRIGGER_NODE_USER_VALUE' must be declared
    PL/SQL ERROR 0 at line 96, column 3
    SQL Statement ignored
    PL/SQL ERROR 201 at line 109, column 18
    identifier 'APPTREE.TRIGGER_NODE_TYPE' must be declared
    PL/SQL ERROR 0 at line 109, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 117, column 13
    identifier 'APPTREE.TRIGGER_NODE_LOW_VALUE' must be declared
    PL/SQL ERROR 0 at line 117, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 144, column 20
    identifier 'APPTREE.TRIGGER_NODE_HIGH_VALUE' must be declared
    PL/SQL ERROR 0 at line 144, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 148, column 26
    identifier 'APPTREE.TREE_NAME' must be declared
    PL/SQL ERROR 0 at line 148, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 159, column 6
    identifier 'APPTREE.TRIGGER_NODE_TYPE' must be declared
    PL/SQL ERROR 0 at line 159, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 184, column 6
    identifier 'APPTREE.TRIGGER_NODE_TYPE' must be declared
    PL/SQL ERROR 0 at line 184, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 264, column 15
    identifier 'APPTREE.FIND_TREE_NODE' must be declared
    PL/SQL ERROR 0 at line 264, column 2
    Statement ignored
    PL/SQL ERROR 201 at line 272, column 28
    identifier 'APPTREE.TREE_NAME' must be declared
    PL/SQL ERROR 0 at line 272, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 275, column 16
    identifier 'APPTREE.FIND_TREE_NODE' must be declared
    PL/SQL ERROR 0 at line 275, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 282, column 28
    identifier 'APPTREE.TREE_NAME' must be declared
    PL/SQL ERROR 0 at line 282, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 290, column 6
    identifier 'APPTREE.ACTION' must be declared
    PL/SQL ERROR 0 at line 290, column 3
    Statement ignored
    Compiling package specification DATA_SET_CTRL...
       No compilation errors.
    Compiling package body DATA_SET_CTRL...
    Compilation error on package body DATA_SET_CTRL:
    PL/SQL ERROR 201 at line 30, column 7
    identifier 'APPTREE.NEW_VIEW_BY' must be declared
    PL/SQL ERROR 0 at line 30, column 7
    Statement ignored
    PL/SQL ERROR 201 at line 43, column 7
    identifier 'APP_ITEM_PROPERTY.SET_PROPERTY' must be declared
    PL/SQL ERROR 0 at line 43, column 7
    Statement ignored
    PL/SQL ERROR 201 at line 46, column 7
    identifier 'APP_ITEM_PROPERTY.SET_PROPERTY' must be declared
    PL/SQL ERROR 0 at line 46, column 7
    Statement ignored
    PL/SQL ERROR 201 at line 97, column 14
    identifier 'APP_FORM.QUIETCOMMIT' must be declared
    PL/SQL ERROR 0 at line 97, column 11
    Statement ignored
    Compiling package specification RESULTS...
       No compilation errors.
    Compiling package body RESULTS...
       No compilation errors.
    Compilation errors have occurred.
    Form not created
    DB version: 11.2.0.3
    apps version: 12.1.3
    OS: hp-ux B.11.31 U ia64
    Kindly advice.
    Regards,
    Ahmed

    Salam Asif, Srini, Hussein,
    1st of all please accept my apologize of being late in reply due to fever that attacked me yesterday!
    To Asif,
    number of invalid objects now 16, and all of them related to customized schema. Actually there were 3 more related to apps and I could recompile them.
    To Srini,
    I'm not sure if it's modified recently, I'm Apps DBA so I'll check with the developer and get back to you ASAP. Unlesss you have some guidance to check if it's modified or not, also what do you mean by replace it with a good back? does this mean can I get CUSTOM.pll from any other envrionment and put it there?
    To Hussein,
    Can you compile the form on your client using forms builder with no issues?
    I don't think so but I'll confirm with the developer.
    Where this package is used? What is line 24 and column 19?
    Again I've no idea, I'm sorry about that and I'll ask the developer.
    Regards,
    Ahmed

  • Compilation error while generating the form in linux

    Hello everyone,
    I am using Oracle Designer ver10.1.2.4 in windows to generate the forms with standard object library ofgwebol.olb and template form ofgwebt.fmb. form (with both .fmb and .fmx files) are generated without errors. Also when I open the forms in separately they compiles without errors. But when I copy the same .fmb file into linux enviroment and compile it using frmcmp.sh userid=user/password@database module_type=form compile_all=yes module=form_name it gives following errors.
    $> frmcmp.sh userid=odin/odin@ontw10g module_ty
    pe=form compile_all=yes module=LOGIN_SCHERM
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.4.0 Production
    FRM-18108: Failed to load the following objects.
    Source Module:ofgwebol.olb
    Source Object: CGSO$CHAR_DO
    Source Module:ofgwebol.olb
    Source Object: CGSO$CHAR_DO
    Source Module:ofgwebol.olb
    Source Object: CGSO$BLOCK
    Source Module:ofgwebol.olb
    Source Object: CGSO$CANVAS
    Source Module:ofgwebol.olb
    Source Object: CGSO$WINDOW
    Compiling function CGTE$CHECK_CONSTRAINT_VIO...
    No compilation errors.
    Compiling procedure CGTE$INLOGGEN_ERRORS...
    No compilation errors.
    L/SQL ERROR 0 at line 17, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 36, column 3
    identifier 'CGNV$.NAV_CLOSE_FORMS' must be declared
    PL/SQL ERROR 0 at line 36, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 37, column 3
    identifier 'CGNV$.NAV_OPENING_WND' must be declared
    PL/SQL ERROR 0 at line 37, column 3
    Statement ignored
    Compiling KEY-HELP trigger on form...
    No compilation errors.
    Compiling WHEN-WINDOW-ACTIVATED trigger on form...
    Compilation error on WHEN-WINDOW-ACTIVATED trigger on form:
    PL/SQL ERROR 201 at line 6, column 8
    identifier 'CGNV$GET_ITEM_WINDOW' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compiling POST-TEXT-ITEM trigger on form...
    Compilation error on POST-TEXT-ITEM trigger on form:
    PL/SQL ERROR 201 at line 4, column 3
    identifier 'CGNV$.STORE_WND_ITEM' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compiling WHEN-WINDOW-CLOSED trigger on form...
    Compilation error on WHEN-WINDOW-CLOSED trigger on form:
    PL/SQL ERROR 201 at line 5, column 3
    identifier 'CGNV$.TERMINATE_WINDOW' must be declared
    PL/SQL ERROR 0 at line 5, column 3
    Statement ignored
    Compiling WHEN-FORM-NAVIGATE trigger on form...
    Compilation error on WHEN-FORM-NAVIGATE trigger on form:
    PL/SQL ERROR 201 at line 3, column 3
    identifier 'CGNV$.REMOVE_CHILD_FORM' must be declared
    PL/SQL ERROR 0 at line 3, column 3
    Statement ignored
    Compiling KEY-EXIT trigger on form...
    Compilation error on KEY-EXIT trigger on form:
    PL/SQL ERROR 201 at line 5, column 3
    identifier 'CGNV$.NAV_ENTER_QUERY' must be declared
    PL/SQL ERROR 0 at line 5, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 9, column 5
    identifier 'CGNV$.CLOSE_ALL_WINDOWS' must be declared
    PL/SQL ERROR 0 at line 9, column 5
    Statement ignored
    Compiling KEY-CLRFRM trigger on form...
    No compilation errors.
    Compiling ON-ERROR trigger on INLOGGEN data block...
    No compilation errors.
    Compiling KEY-PREV-ITEM trigger on AGB_ID item in INLOGGEN data block...
    Compilation error on KEY-PREV-ITEM trigger on AGB_ID item in INLOGGEN data block
    PL/SQL ERROR 201 at line 4, column 3
    identifier 'CGNV$GO_PREV_ITEM' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compiling KEY-NEXT-ITEM trigger on AGB_NAAM item in INLOGGEN data block...
    Compilation error on KEY-NEXT-ITEM trigger on AGB_NAAM item in INLOGGEN data blo
    ck:
    PL/SQL ERROR 201 at line 4, column 3
    identifier 'CGNV$GO_NEXT_ITEM' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compilation errors have occurred.
    Form not created
    I think some standard library are missing in Linux environment. But I do not know the name of them and neither I can find. Please suggest the what need to be done to resolve the problem. The reason I am compiling the form in Linux is that I can run the form in windows because of corrupted installation of OC4j.
    Thanking you all much in advance.
    Edited by: Deepank on Dec 2, 2008 1:49 AM

    Deepank-
    When generating forms from Designer, Designer attaches libraries - like ofgmes.pll, ofgnavl.pll, etc. You will need to copy these libraries to the same directory where your forms reside on your Linux box. To find out what libraries ate attached to your form, open it on your windows PC after generating it from Designer and you will see the attached libraries. Also, watch out for the case-sensitivity of Linux. If you have the Designer libraries on your linux box and you still get errors, try changing the case of the names of the libraries.
    Hope this helps,
    Dan

  • How to generate a form based on PL/SQL-procedures instead of tables?

    Hi all,
    I'm trying to generate a form based on a package, which has procedures for insert/update/delete/select. In Forms, this is no problem. It is unclear to me how to do this in Oracle Designer (10g). Online Help of Designer doesn't clear things up a lot, it seems I have to generate a table API and a module component API. But when I do this, these are generated as file and no definitions are created in Designer. So what do I base my block on?
    Can somebody assist me in this?
    Kind regards,
    Ronald

    Hi:
    Thank you for reply to my question.
    I have tried your codes and apply them the following the form. However, I always got the following error:
    Error: (WWV-00000)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    My codes is:
    declare
    request_no number;
    blk varchar2(30) := 'DEFAULT';
    l_url varchar2(4000);
    begin
    request_no := p_session.get_value_as_NuMBER(
    p_block_name => blk,
    p_attribute_name => 'A_WORK_REQUEST_ID');
    l_url := 'portal30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=11880470335&p_arg_names=_sessionid&p_arg_values=&p_arg_names=work_request_id&p_arg_values='||request_no;
    portal30.wwa_app_module.set_target(l_url,'call');
    end;
    then,
    I created another form which has two fields and the dattype of pk is varchar2 and change manually put the pk's p_arg_value into the url.
    e.g.
    l_url:='PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=9029417810&p_arg_names=WORK_AREA_CD&p_arg_values=APP';
    portal30.wwa_app_module.set_target(l_url,'call');
    However, I still get the error message as below:
    Error: (WWV-00000)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    Your help would be highly appreciated.
    Wei Ye

  • Can APEX_ITEM be used to generate a Form page?

    Hi,
    I would like to use APEX_ITEM to generate in APEX 4.0 a Form region at runtime, based on some meta tables that describe the columns, labels, datatypes etc..
    It seems that people use APEX_ITEM for generating updatable tabular form and I start to question my original concept. I created a PL/SQL Anonymous block region, that contains the following code segment:
    htp.p(
    APEX_ITEM.SELECT_LIST (
    3,
    'Y',
    'Yes;Y,No;N',
    'Y',
    'readonly=readonly',
    'P1_MARRIED',
    'Married'
    When I run my form and click my 'Session' link at the botom of the page, the P1_MARRIED item would not show up in the item list of the page. Am I missing something or this 'Generate a Form region at runtime' concept is based on my missunderstanding of APEX_ITEM API?
    Regards, Tamas

    Tamas Szecsy wrote:
    Thanks, that was enlightening!
    So if I understand it well, it means that:
    1.) I have to give my region 'Form like' layout by using htp.p appropriately. Yes. A custom named column report template is another useful approach.
    2.) What concerns the update processing, it means I should handle the region as a 1-record report i.e. using Fxx arrays but always referencing the first member of each Fxx array only: APEX_APPLICATION.G_Fxx (1)Yes, unless there are actually any 1:M elements (home, work, and mobile phone numbers/email addresses for example), where the same type of element is repeated. (This might also help with point 3...)
    Note also that disabled items are not submitted, and only checked checkboxes are submitted
    3.) I am OK, provided that I generate maximum 50 items on a page, since 50 is a hard-coded limit that can not be gotten around. (I will have to work out solution for this, since i have 53 columns in the given table)Dividing the form into several wizard-style pages as used in the APEX Application Builder is probably the best solution to this. It enables you to keep the sub-form pages simple, clean and short, so users don't have to scroll up and down. Save the submitted values from each sub-form page in APEX collections, and display a final report based on the collection(s) for the user to review before saving the information to the database table.
    Alternatively, some of these columns might be common across all the form permutations, and implementable using standard page items.

  • Populating a calculated value on a Wizard generated Tabular Form

    Hi
    I have created a wizard generated tabular form, the form works great by itself.
    However I also have a requirement to populate the column "Updated By" which will contain the :APP_USER and this needs to be done whenever any value is changed on the updatable columns on the tabular form.
    How can I achieve this functionality ?
    thanks in advance.
    regards
    Vivek

    Hi Vivek,
    There're different possibilities of doing it. By using a javascript function or a direct call.
    Whatever you'll chose, you'll probably need something like: $x("P1_ITEM").value = 'Your value';
    I believe you're using a tabular form, so you're items are called something like: f03_0001
    Hope that helps,
    Dimitri

  • No search result using managed property from a column of a published infopath form

    Hi,
    I'm trying to use a managed property in the advanced search to retrieve only words from a column of a published InfoPath form. We are using FAST Search and verify that the column are being crawled by checking the crawled property in Central Admin but still
    cannot retrieve search result for the managed property. We also do a full crawl before testing the search. Thank you..

    Hi Rommel,
    When we create a column from a list (not site column), then we need create list item with this column value, then we need to full crawl, then the the crawled propery ows_listColumnName will be generated, then create a managed property to map this
    crawled property(start a full crawl again if needed), then add the custom managed property in advance search web part property, then check again.
    Here is an article about how to add the custom managed proerpty in advanced search web part, you can take a look.
    http://waelmohamed.wordpress.com/2011/05/31/add-custom-search-properties-in-your-advanced-search-sharepoint-2010/
    Thanks
    Daniel Yang
    TechNet Community Support

  • Apex 4 tabular form performance

    Hey all apex experts,
    Having some issues w/ tabular form performance.
    Posted below are the results from a debug run recently, I know it is a little tricky to read, was the simplest way I could find to get online.
    To highlight the problems, it appears that page is running rather well, with the exception of the line...
    *20110609090107.671238     0.38075     15.40215     rows loop: 15 row(s)*
    You can see that this record is consuming over 15 seconds of page load, or 97% of the time.
    So I need to find out what is consuming so much time, but "rows loop: 15 row(s)" tells me near to nothing.
    The query that is behind the tabular form I am not worried about at all, as it easily runs in sub second through any direct db querying method.
    The query does contain 8 apex_item calls...
    - 2 apex_item.hidden
    - 1 apex_item.select_list_from_lov
    - 1 apex_item.date_popup2
    - 3 apex_item.text
    - 1 apex_item.checkbox
    I am worried that the performance has to do with the rendering of these items, but I clearly need some assistance.
    Any pointers on how to pinpoint the bottleneck?
    I am currently running Apex 4.0.1.00.03 on Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit.
    Thanks in advance,
    Hayden
         Elapsed     Execution     Message     Level
    20110609090107.3     0.03996     0.04966     S H O W: application="109" page="19" workspace="" request="" session="640319082941758"     3
    20110609090107.3     0.0895     0.00258     Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us     3
    20110609090107.3     0.09203     0.00106     alter session set nls_language="AMERICAN"     3
    20110609090107.3     0.09306     0.00067     alter session set nls_territory="AMERICA"     3
    20110609090107.3     0.09371     0.00104     NLS: CSV charset=WE8MSWIN1252     3
    20110609090107.3     0.09476     0.00067     ...NLS: Set Decimal separator="."     3
    20110609090107.3     0.09542     0.00091     ...NLS: Set NLS Group separator=","     3
    20110609090107.3     0.09633     0.0009     ...NLS: Set g_nls_date_format="DD-MON-RR"     3
    20110609090107.3     0.09723     0.00089     ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"     3
    20110609090107.3     0.09811     0.00292     ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"     3
    20110609090107.3     0.10109     0.00134     ...Setting session time_zone to -05:00     3
    20110609090107.3     0.10241     0.00283     NLS: Language=en-us     3
    20110609090107.3     0.10528     0.00874     Application 109, Authentication: CUSTOM2, Page Template: 1427152175619667347     3
    20110609090107.4     0.11401     0.00149     ...Session ID 640319082941758 can be used     3
    20110609090107.4     0.11547     0.00178     ...Application session: 640319082941758, user=HAYDEN     3
    20110609090107.4     0.11724     0.00141     ...Determine if user "HAYDEN" workspace "2120413559142026" can develop application "109" in workspace "2120413559142026"     3
    20110609090107.4     0.11864     0.00282     ...Check for session expiration:     3
    20110609090107.4     0.12151     0.00281     Session: Fetch session header information     3
    20110609090107.4     0.12431     0.00123     ...fetch session state from database     3
    20110609090107.4     0.12552     0.00147     fetch items     3
    20110609090107.4     0.12699     0.00137     ...fetched 22 session state items     3
    20110609090107.4     0.12836     0.00221     Branch point: Before Header     3
    20110609090107.4     0.13057     0.00743     Fetch application meta data     3
    20110609090107.4     0.13804     0.00183     ...metadata, fetch computations     3
    20110609090107.4     0.13985     0.00178     ...metadata, fetch buttons     3
    20110609090107.4     0.14162     0.00088     Computation point: Before Header     3
    20110609090107.4     0.14247     0.00243     Authorization Check: "58293300185431144" User: "HAYDEN" Component: "COMPUTATION"     3
    20110609090107.4     0.14494     0.00087     Post Authorization Check     3
    20110609090107.4     0.14578     0.00062     ...Perform computation of item: F109_WARNINGS, type=STATIC_ASSIGNMENT     3
    20110609090107.4     0.14637     0.00274     ...Performing static computation     3
    20110609090107.4     0.14917     0.0009     ...Session State: Saved Item "F109_WARNINGS" New Value="<div>hello world</div>"     3
    20110609090107.4     0.15002     0.00068     Processing point: Before Header     3
    20110609090107.4     0.15068     0.00095     Authorization Check: "58293300185431144" User: "HAYDEN" Component: "PROCESS"     3
    20110609090107.4     0.15165     0.00095     Post Authorization Check     3
    20110609090107.4     0.15259     0.00406     "...Process ""find_errors"": PLSQL (BEFORE_HEADER) begin
    :f109_warnings := null;
    end;"     3
    20110609090107.4     0.15672     0.00103     ...Session State: Saved Item "F109_WARNINGS" New Value=""     3
    20110609090107.4     0.1577     0.00149     ...metadata, fetch item type settings     3
    20110609090107.4     0.15921     0.01143     ...metadata, fetch items     3
    20110609090107.4     0.17067     0.0066     Show page template header     3
    20110609090107.4     0.17726     0.00112     Computation point: After Header     3
    20110609090107.4     0.17835     0.00213     Processing point: After Header     3
    20110609090107.4     0.18047     0.00243     Authorization Check: "20690503835253927" User: "HAYDEN" Component: "tab"     3
    20110609090107.4     0.18294     0.00104     Post Authorization Check     3
    20110609090107.4     0.18393     0.00091     Authorization Check: "58293300185431144" User: "HAYDEN" Component: "tab"     3
    20110609090107.4     0.18484     0.00259     Post Authorization Check     3
    20110609090107.4     0.18745     0.00102     Region: &amp;nbsp;     3
    20110609090107.4     0.18844     0.00103     Authorization Check: "58293300185431144" User: "HAYDEN" Component: ""     3
    20110609090107.4     0.18948     0.03112     Post Authorization Check     3
    20110609090107.5     0.22067     0.00122     Region: &amp;nbsp;     3
    20110609090107.5     0.22183     0.00241     Authorization Check: "5394611084668332" User: "HAYDEN" Component: ""     3
    20110609090107.5     0.22427     0.00526     Post Authorization Check     3
    20110609090107.5     0.22952     0.00809     Region: Breadcrumb     3
    20110609090107.5     0.23763     0.00119     Computation point: Before Box Body     3
    20110609090107.5     0.23877     0.00105     Processing point: Before Box Body     3
    20110609090107.5     0.2398     0.00302     Item: P19_ID_LIST NATIVE_HIDDEN     3
    20110609090107.5     0.24285     0.00219     Item: P19_APPROVAL_ID NATIVE_HIDDEN     3
    20110609090107.5     0.24504     0.00539     Region: Edit Time     3
    20110609090107.5     0.25047     0.00467     Item: P19_CHANGED_IDS NATIVE_HIDDEN     3
    20110609090107.5     0.25514     0.00688     show report     3
    20110609090107.5     0.26205     0.00114     determine column headings     3
    20110609090107.5     0.26313     0.00324     activate sort     3
    20110609090107.5     0.26639     0.00315     parse query as: APP_SEC     3
    20110609090107.5     0.26953     0.00747     binding: ":APP_USER"="APP_USER" value="HAYDEN"     3
    20110609090107.5     0.27713     0.10094     binding: ":F109_ID_LIST"="F109_ID_LIST" value="219159198076799389604724962683469530452~219159198076801807456364191941818942804"     3
    20110609090107.6     0.37804     0.00271     print column headings      3
    20110609090107.6     0.38075     15.40215     rows loop: 15 row(s)      3
    20110609090123.0     15.78287     0.00322     pagination     3
    20110609090123.0     15.78602     0.00112     Computation point: After Box Body     3
    20110609090123.0     15.7871     0.00181     Processing point: After Box Body     3
    20110609090123.0     15.78891     0.0008     Computation point: Before Footer     3
    20110609090123.0     15.78969     0.00065     Processing point: Before Footer     3
    20110609090123.0     15.79033     0.00617     Show page tempate footer     3
    20110609090123.0     15.79657     0.00105     Computation point: After Footer     3
    20110609090123.0     15.79757     0.00082     Processing point: After Footer     3
    20110609090123.0     15.79837     0.01089     Log Activity:     3
    20110609090123.0     15.80941     0.00126     v$sesstat.statistic# = 436: execute count=0     3
    20110609090123.1     15.81056     -     End Show Page     3

    I had something like that. In my case it is a "pl/sql function retuning query" that is the source of the report region.
    Check in the database if the query is running slow when Apex is running the query, not when your are running the query. The binding may be different than what you expect.

  • Column Security - Users can't see it, but need to use it in the query WHERE Clause

    I am looking at possible solutions (if any) on column security. We need to be able to restrict users from seeing certain columns, however, they will need these columns in the WHERE clause of queries.
    I thought about creating views, however, it would be a poor database design. Is there any way that this can be done on the database level. I know about Fine Granular Access Method, however, this just excludes the column completely. Which means that they can not be used in the WHERE clause.
    Any help would be greatly appreciated.
    Philip

    I too added 2nd apple ID when I tried to get Free app from apple store just to get to NONE on the credit card needed. It said it sent confirmation email to my new apple ID email that I have to confirm. Problem is I can not get to the new apple ID email account.  On my ipad it logs into my original email account and I see no where to log into another email account.  If I go to my laptop, the new apple ID I created does not let me log into email where apple said it was sent to.  It did not send to back up email account either.
    Can I log into 2 email accounts on my ipad where it says mail at bottom?
    Can I have 2 apple ids?
    If I created a 2nd apple id to get to NONE on credit card needed, can't I log into it also on another laptop in gmail?
    (won't let me)
    If I used my original apple id I created when I got my new ipad, it will not let me get free app without credit card, there is no where it says NONE needed. I am too new to apple to start with credit cards etc until I get use to it.

  • In the below queries which gives better performance

    Hi All,
    In the below two queries which gives better performance.
    Requirement is I need to find if all the 3 score columns are null then I need to assign -ve value -9999 else some +ve value 2
    1)
    select case when count(CUST_score1)+count(CUST_score2)+count(CUST_score3)=0 then -111111'
    else 11 end
    from
    customer
    where subscriber_id=1050
    and cust_system_code='1882484'
    2)
    select case whenCUST_score1 is null and CUST_score2 is null and CUST_score3 is null then '-9999'
    else '11' end
    from
    customer
    where subscriber_id=1050
    and cust_system_code='1882484'
    Please help, because we have more data in table customer so I need to confirm which is better.
    Regards,
    Chanda

    user546757 wrote:
    Hi All,
    In the below two queries which gives better performance.
    Requirement is I need to find if all the 3 score columns are null then I need to assign -ve value -9999 else some +ve value 2
    1)
    select case when count(CUST_score1)+count(CUST_score2)+count(CUST_score3)=0 then -111111'
    else 11 end
    from
    customer
    where subscriber_id=1050
    and cust_system_code='1882484'
    2)
    select case whenCUST_score1 is null and CUST_score2 is null and CUST_score3 is null then '-9999'
    else '11' end
    from
    customer
    where subscriber_id=1050
    and cust_system_code='1882484'
    Please help, because we have more data in table customer so I need to confirm which is better.
    Regards,
    ChandaThe two statements aren't equivalent. If you know that your where condition is restricting to a single row then there is no point in doing a count as that will introduce an additional aggregate function that isn't required for a single row. If you are dealing with multiple rows from the where condition then the second query will return multiple rows whereas the first query returns 1 row, so they don't do the same thing anyway.

  • URGENT: Form Import FAILED with  Unable to generate UI form: ORA-0650

    I am importing application components from one installation of portal 3.0.9.8 to another installation. Both installed versions of POrtal are the same.
    The application name is PROFILE_APP. I have created this same app with same specifications as in source, in the target portal instance.
    To import, I am using the SQL scripts generated through portal using the "Export" feature available for each component.
    I could successfully import LOV into this app from source to target by running the above generated SQL. When i run the SQL for the form component in the target - i get the following error :
    ...Importing component: ID = 5861481106 Name = WST_USER_PROFILE_V_FRM Owner = WST_PROFILE_PORTAL30_APP Type = FOT
    *** ERROR ***
    wwa_generate_module.transfer_fot_metadata: Unable to generate UI form: ORA-06502: PL/SQL: numeric or value error
    The form worked successfully in the source instance.
    Any help is greatly appreciated.
    Thank you,
    Tanushree.

    Form CustomForm_791b1adc_97fd_4de1_a077_646a418fe59b extends form Microsoft.EnterpriseManagement.ServiceManager.ChangeManagement.Forms.ChangeRequestForm, which already has another extension (CustomForm_3e2fd77f_cfed_40f9_9def_c6735078bf2a).
    you already have a form customization that extends the change request form, and this MP is also importing a different customization to the same form. each form can only have one customization. 

  • Is it possible to generate oracle forms in pdf format

    I have to generate a form in pdf format. Is it possible.
    If yes, how to achieve this.
    Thank you very much.
    Navya.

    One round about way to get a pdf screen shot is tick 'print to file' and use a printer which is set up with a postcript driver. This gives a postscript file which can be converted to pdf using 'ghostscript and gsview' (available free from gnu via various sites).

  • Application error while generating PDF form

    Hello there,
    I am getting the message "Application error while generating PDF form" and when you hover it has additional information Message Class HREIC_APPL - Message number 258.
    I get this upon doing the following steps:
    1. Enter SAP R3, enter HREIC on the transaction code input.
    2. Enter EIC, Activity Search. Searched for an Activity, selected it and click the "PRINT" button.
    3. After clicking the PRINT button, I get the error message "Application error while generating PDF form".
    Installed this on development box, did the same configuration in test system, but still I get this error. ADS Configuration is working fine and configured fine.
    Is there anything else that is needed to be checked? like Ports, Firewalls, etc?
    Thanks a lot.

    Be sure that the RFC name is "ADS" and not anything else.
    Thanks.

Maybe you are looking for