Apex 5 comments

Hello

I know that this is probably not the best place to write this, but I hope that the Apex Team pick it up.

I entered the Apex 5 comments a few elements.

My entries have been updated by the team, but I don't get any response from them, and I can't read the full answers in the feedback report,

the report is limited to a number of characters.

Gus

Hello Gus,

I am sure, that you can read the complete answer by clicking on the link bug ID number in the report.

Can you provide an ID from sample where response is not visible to you, I will check on my side too.

Thank you

Sunil Bhatia

Tags: Database

Similar Questions

  • Limitation of the APEX: sharing pages between several APEX applications

    I was hoping if someone with a little more experience architect APEX could comment on some of the limitations that I see and I have to make good decisions, working around the problem.

    Any suggestions are welcome.

    One of the limitations I've seen, it's how APEX handles applications and pages. Each application appears as an island, it has its own set of pages, the processes of connection, templates, CSS, JS, references etc.. Regarding the CSS and Javascript, you can be defined in a central location, but still, every new developed APEX application must be configured to make use of your 'standard '.

    The more traditional web solutions showing each as stand-alone web page and any web page can call/reference any other page and pass information to session between them.

    With APEX, however this doesn't seem to be the case.

    A solution would be to have a huge demand for APEX, where all the pages are the property of this unique application.

    Unfortunately, we use of APEX and EBS R11 (& R12) together; all APEX applications are started in the menus of the EBS. I had drawn a SSO solution between the two (without using oracle SSO). However, each APEX application is unique, as small modules instead of complete applications. In other words, we tend to use APEX as an alternative for Oracle Forms - each APEX application is a standalone program.

    I always wanted to be able to apply the same connection process and look and feel in the brand new APEX app we write.

    The way I went to this subject has been meticulously creating a 'model' APEX application. Embedded in the application of this model are all our shared CSS, JS and models that apply the site appearance. It also contains our custom library of signature unique code and debugging custom logger (think log4j but for APEX).

    So whenever a developer began work on a new APEX application, they start by cloning the model and automatically inherit all the functionally and website presentation.

    My concern is if this is really the best way to do it, or if I'm missing something?

    I am also concerned move forward when I wants to establish the change in appearance across all of our web applications that I need to touch each APEX application since. I'm trying to mitigate this by ensuring that almost all the programming logic is contained in packages of PL/SQL, CSS and Javascript only referenced and external application of the APEX. But this does not always with models, or with a logic that is rooted in the actual pages of the APEX etc.

    At least APEX allows you to easily enough copy pages between applications, but it does compare not just to have a single page shared between all applications of the APEX.

    Is there a better way to go about this?

    Hi attis.

    I think you can't really compare a module with an APEX application forms. I wouldn't say to create an APEX application every time when you have created a module of forms in the past.
    A forms module is just a few pages of an application to the APEX. Then you really should have more then a few pages in an APEX application. Certainly, a huge application is also not the way to go, but I group them for example by logical areas such as HR, logistics, order...

    As Sc0tt already mentioned, you must use the 'Subscribe' mechanism of shared components to make it easier to update all your applications with the model updates. But there is more, you should also share your user name and just have in one place and use the "simple APEX based SSO" that allows all applications within a workspace can share the same session. Simply set the 'Cookie' namesake in your authentication for all your applications and when you bind an application to another and include a valid session id you should not have to log in again and you can also set the session state in that other application.

    So here's what I'd do

    (1) creating a master application that contains
    (a) your theme and other components shared that you want to share
    (b) must be also some basic navigation lists to navigate between your applications...
    (c) create a sign with the name "Redirect to connect main app" and type accounts APEX (no matter) where you define the name of 'Cookie' to 'Cbx_missmost' and the URL of invalid session to the login page of your creation 'hand connection app '. For example: f? p = 9999:101: & SESSION.

    (2) create a model application which is a copy of the claim, but where change you the "subscription" of your models, authentication scheme and components shared in the main application. This will serve as your App developers if they want to create a new application.

    (3) create your 'hand connection app' (eg. app 9999 id) by
    ) a copy of your new model application
    (b) remove the inside authentication scheme (this is just made for this main connection app)
    (c) create a new type to use. But important: set the name of 'Cookie' to 'Cbx_missmost '. This will ensure that all applications have the same session cookie.
    (d) If you use APEX 4.1.1 you will automatically be redirected to the calling application after successful login.

    (4) start to create new applications by copying your 'model' application that contains all subscriptions.

    (5) If you run this application, it automatically redirects to your main connection application if the current session is not valid. This will avoid to have the same logic of authentication in your applications.

    (6) If you need to change your templates or shared components you just do in the "master" application and click on the "publish" button to push the changes for all your applications.

    But still, try to avoid many small applications, I think that make handling just unnecessarily complicated. It is an APEX application has a few hundred pages. For example, our APEX app Builder (app 4000) has more than 1260 pages.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • APEXExport - use of expOriginalIds

    The APEXExport class provided with the distribution in the command line utilities folder has an expOriginalIds option as described in the usage below. I think that this was introduced with version 4.x.

    I'm not sure that the point of this option and why it was added. I exported an application with and without this option and the generated fXXX.sql file is identical.

    Can be one of the APEX team comment on why this was added and how to use it effectively?

    Thank you

    Usage APEXExport -db  -user  -password  -applicationid  -workspaceid -instance -expWorkspace -expMinimal -expFiles -skipExportDate -expPubReports -expSavedReports -expIRNotif -expTranslations -expTeamdevdata -expFeedback -deploymentSystem -expFeedbackSince -expOriginalIds -debug
        -db:               Database connect url in JDBC format
        -user:             Database username
        -password:         Database password
        -applicationid:    ID for application to be exported
        -workspaceid:      Workspace ID for which all applications to be exported or the workspace to be exported
        -instance:         Export all applications
        -expWorkspace:     Export workspace identified by -workspaceid or all workspaces if -workspaceid not specified
        -expMinimal:       Only export workspace definition, users, and groups
        -expFiles:         Export all workspace files identified by -workspaceid
        -skipExportDate:   Exclude export date from application export files
        -expPubReports:    Export all user saved public interactive reports
        -expSavedReports:  Export all user saved interactive reports
        -expIRNotif:       Export all interactive report notifications
        -expTranslations:  Export the translation mappings and all text from the translation repository
        -expFeedback:      Export team development feedback for all workspaces or identified by -workspaceid to development or deployment
        -expTeamdevdata:   Export team development data for all workspaces or identified by -workspaceid
        -deploymentSystem: Deployment system for exported feedback
        -expFeedbackSince: Export team development feedback since date in the format YYYYMMDD
        -expOriginalIds:   If specified, the application export will emit ids as they were when the application was imported
    

    Vikas,

    pangs you called smart, I can reveal that I've implemented the feature).

    You are right, that the IMPORT_ * columns contain relevant data. When you import an application (and copy is essentially clob + import-export), APEX still arouses a shift that he added to the component ID. We have now stored in the application and avoid export again if you use this parameter.

    There were several changes to the 5.0 format export for ease of comparison, it was a single one of them. Export files are also smaller (about 60% of export 4.2) and not have these seemingly random line breaks in long code of report and the process. Finally, we want to provide a GUI for diff and merging of applications, but it will still take time. In the meantime, these changes should simplify it for customers to change control. Note that we do not support merge or make changes to the export in general files. Export files are PL/SQL code, but the API are undocumented and too bad can happen here. The only diff can be useful, however. For example, QA can see what has changed in an application and needs special tests when they the absorption of development. Developers can use the diff for code reviews. They might also want to make a copy of an application for an experience. The diff to the original later shows what has changed and what should be merged back. It is a simple tool. How you make use of it depends on you are the development and deployment process.

    Kind regards
    Christian

  • APEX 4.2.1.00.08, team development comments option

    Hi all

    After you create the back option in our application, we would like to have 'Send Email' feature to the breast to select the button 'submit comments '.

    After studying at Googling and the APEX Library documentation, I've not found the corresponding exact solution.

    There are options to send e-mails through the procedure of apex_email from the request page some or to enter the "team development" and respond to comments from there.

    Our goal is to send your comments to the members of the development team at the time when the "Submit comments" button selected.

    If anyone can help with suggestions?

    Thank you

    Paul

    See this blog from the past showing how to accomplish what you want, I think...

    http://rimblas.com/blog/2013/08/notifications-for-your-feedback/

    Thank you

    Tony Miller
    Los Alamos, NM

  • Apex 4.0 Theme 2 and link to the comment

    Hi all

    For some reason when I put the comments in the topic 2 link not anywhere in the application.

    Am I missing something?

    I put 'Allow comments' to 'Yes' under 'Edit Application Properties.

    Concerning

    Spam

    Hi Spam,

    You also created related pages of "Feedback" with the page Wizard? It will also create the necessary navigation link so that you get a 'Comments' of your application link.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • Interactive report with alternating lines - 5 APEX

    Heyho guys.

    I got a task to set alternating line colors in my interactive report.

    IM using Oracle 11 g Database XE with APEX 5.0.0.00.31 2.

    I searched current debates and following this thread:

    https://community.Oracle.com/thread/912414?TSTART=0

    I followed the comments written there and I tried with javascript, they spoke aboud (I'm a newbie using javascript)

    I pasted the following in my page header:

    < script type = "text/javascript" >

    IT IS THE INTERLACING

    function decorateDataGrids (strClass) {}

    var tables = document.getElementsByTagName ("table");

    for (var i = tables.length; i-;)) {

    If (tables.className == strClass) {}
    var gridRows = tables [i] .getElementsByTagName ("tr");
    for (var j = gridRows.length; j-;)) {If (j %2) {gridRows [j] .className = "even" ;}}
    }
    }
    }
    < /script >

    < style >
    / * THIS REPLACES THE DEFAULT STYLES OF THE APEX * /.
    table.apexir_WORKSHEET_DATA tr.even td {}
    background-color: #F1F5FA! important;
    }

    table.apexir_WORKSHEET_DATA td {}
    background-color: #FFFFFF! important;
    border: 1px solid #B3B3A7! important;
    padding: 4px 8px! important;
    }
    < / style >

    And called in my link to my column ID text field via:

    "< img src =" "#IMAGE_PREFIX #edit.gif" alt = "" onload = "decorateDataGrids ('apexir_WORKSHEET_DATA'); ">

    If I start the page now, nothing happens.

    In the thread, we talk about bad SEO of the IR:

    "OK here's why the code does not work." When you use getElementsByTagName, you get a collection, not a single item.

    So when you make the comparison to see if the class of the table is an ApEx IR type, you need to reference the current table, not the entire collection. As follows... »

    But I don't understand how I'm doing the right reference.

    Someone at - it an idea to get this race?

    Thank you

    pleNn

    pleNn wrote:

    Heyho guys.

    I got a task to set alternating line colors in my interactive report.

    IM using Oracle 11 g Database XE with APEX 5.0.0.00.31 2.

    I searched current debates and following this thread:

    https://community.Oracle.com/thread/912414?TSTART=0

    I followed the comments written there and I tried with javascript, they spoke aboud (I'm a newbie using javascript)

    I pasted the following in my page header:


    for (var j = gridRows.length; j-;)) {If (j %2) {gridRows [j] .className = "even" ;}}
    }
    }
    }

    And called in my link to my column ID text field via:

        

    If I start the page now, nothing happens.

    In the thread, we talk about bad SEO of the IR:

    "OK here's why the code does not work." When you use getElementsByTagName, you get a collection, not a single item.

    So when you make the comparison to see if the class of the table is an ApEx IR type, you need to reference the current table, not the entire collection. As follows... »

    But I don't understand how I'm doing the right reference.

    Someone at - it an idea to get this race?

    It's all totally obsolete with respect to the 5.0 APEX where interactive reports have been completely redesigned and rebuilt.

    To complete the full version number of APEX, always indicate what theme and browser (s) / version (s) you use when asking questions of shape/layout visual layout.

    To go from rank (Zebra) when you use the universal theme distribution in interactive reports, see Re: interactive report - no line scratched?

  • Inline in Apex 5 dialogue

    Dear Experts,


    My requirement is when I open a home page after the login screen, line dialog box should appear in the page load.please tell me how I can make in 5 Apex.

    I put my request in https://Apex.Oracle.com

    WORKSPACE: MYSPACE77

    USERNAME: COMMENTS

    PASSWORD: 123456

    APPLICATION: 14803

    Any help much appreciated.


    Kind regards

    Colette

    Colette wrote:

    My requirement is when I open a home page after the login screen, line dialog box should appear in the page load.please tell me how I can make in 5 Apex.

    There is an app for that. Install the packed Dialogue of the sample app and look at page 2.

    See the home page in your application for a demonstration to display a dialog box when the page is loaded.

  • html2canvas on 5 Apex?

    Hello!

    I try to use html2canvas, cause I would like my user, could print some parts of the screen, add a few comments on some textarea, making appointments on the print area to save in PDF format on their device. Does anyone have a tutorial or something like? Thank you.

    If anyone knows, will help. I'm trying to recreate an existing function "BI tool: Qlik feel." The user a screenshot of graphic design, do their annotation, they can drawn on it, like an arrow, or something like it and save it.

    I'm working a few months on the Apex, a huge here in the Brazil HR system. We use Oracle Forms, but Apex is our future, and we follow the ' we will destroy it together "with Oracle Apex Power! Sorry my English.

    Good news. This plug-in is released today

    https://Apex.World/ords/f?p=100:710:P710_PLG_ID: of .DANIELH .APEXSCREENCAPTURE & cs = 1LqswT8tvtBei9B41qsD-x3RoCxI

    Check the demo and works very well!

    Kind regards

    Hari

  • Bug with APEX_PAGE. GET_URL (APEX 5.0.2)

    I tried to use APEX_PAGE. GET_URL to generate URL links in my applications of APEX (APEX 5.0.2 on DB 12.1.0.2.0). According to the API documentation and package specifications, the parameters of the request and the Page is VARCHAR2 rather than NUMBER/INTEGER. I was hoping that this provided the opportunity to pass to the alias assigned to one or two values, however it does not seem to be the case. The comments in the specification actually State, it is the destination.

    -- PARAMETERS
    -- * p_application        application id or alias. defaults to the current application.
    -- * p_page               page id or alias. defaults to the current page.
    -- ...
    

    When you pass a numeric value, it works fine.

    SQL> select APEX_PAGE.GET_URL (p_application => 1556, p_page => 12055) as url_val from dual;
    
    URL_VAL
    --------------------------------------------------------------------------------
    f?p=1556:12055:::NO:::
    
    

    However, attempting to pass a real VARCHAR translated by ORA-06502 error of conversion.

    SQL> select APEX_PAGE.GET_URL (p_application => 'TEST', p_page => 12055) as url_val from dual;
    select APEX_PAGE.GET_URL (p_application => 'TEST', p_page => 12055) as url_val from dual
           *
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at "APEX_050000.WWV_FLOW_PAGE_API", line 124
    ORA-06512: at line 1
    
    

    Unfortunately, the package for APEX_050000.WWV_FLOW_PAGE_API body is wrapped.

    Hi d3bruts1d,

    Thank you for reporting this issue. I just fixed it in 5.1.

    Kind regards
    Christian

  • APEXExport - comments request not exported

    APEX 5.0.2

    We used the old Java HTMLDBExport class supplied with version 3 or 4 for several years and he always included developer comments that we enter the export file in the report generator.

    This happened in very practical when you of the differences between the versions in our SCM tool.

    With the utilities/APEXExport at APEX 5.0, I see that it does not export the comments. I don't see all the lines in the wwv_flow_api.create_app_comments export file

    Am I missing something? Why this has been subscribed?

    Vikas,

    We will add it to the list.

    Joel

  • Data Guard and auditor of the Apex

    Hi all

    I seem to be unable to understand the configuration of parameters for protective Apex listener when connecting to a database.

    We have a lot of servers of databases (without data guard) and we use the command line Wizard to generate the configuration file. It's straigthforeward and
    easy. We enter the server, port, and Service_name and it works.

    But for a guard database, there are two servers and I seem to be unable to set it in the right way. After doing some research I came across the parameter apex.db.customURL which should solve the problem.

    I removed the references to the server, port, and Service_name and put the key in.

    The result were errors of connection due to some incorrect port settings.

    SEVERE: The pool named: apex is not properly configured, error: IO error: format invalid number for the port number

    oracle.dbtools.common.jdbc.ConnectionPoolException: the pool named: apex is not properly configured, error: IO error: format invalid number for the port number

    at oracle.dbtools.common.jdbc.ConnectionPoolException.badConfiguration(ConnectionPoolException.java:65)

    What Miss me?

    Thank you
    Michael

    (Here's the rest of our configuration :)

    <? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >

    < ! DOCTYPE SYSTEM property "http://java.sun.com/dtd/properties.dtd" > ""

    Properties of <>

    < comment > saved on Mon Oct 19 18:28:41 CEST 2015 < / comment >

    < key "debug.printDebugToScreen entry" = > false < / entry >

    < key "security.disableDefaultExclusionList entry" = > false < / entry >

    < key = "db.password entry" > @055EA3CC68C35F70CF34A203A8EE1A55D411997069F6AE9053B3D1F0B951D84E0E < / entry >

    < key = "enter cache.maxEntries" > 500 < / entry >

    < key = "enter error.maxEntries" > 50 < / entry >

    < key = "enter security.maxEntries" > 2000 < / entry >

    < key = "cache.directory entry" > / tmp/apex/cache < / entry >

    < enter key = "jdbc. DriverType"> thin < / entry >

    < key = "enter log.maxEntries" > 50 < / entry >

    < enter key = "jdbc. MaxConnectionReuseCount"> 1000 < / entry >

    < key "log.logging entry" = > false < / entry >

    < enter key = "jdbc. InitialLimit' > 3 < / entry >

    < enter key = "jdbc. MaxLimit' 10 > < / entry >

    < key = "enter cache.monitorInterval" 60 > < / entry >

    < key = "enter cache.expiration" > 7 < / entry >

    < key = "enter jdbc.statementTimeout" > 900 < / entry >

    < enter key = "jdbc. MaxStatementsLimit' 10 > < / entry >

    < key = "misc.defaultPage entry" > apex < / entry >

    < key = "misc.compress" / entry >

    < enter key = "jdbc. MinLimit"> 1 < / entry >

    < key = "cache.type entry" > lru < / entry >

    < key "cache.caching entry" = > false < / entry >

    < key "error.keepErrorMessages entry" = > true < / entry >

    < key = "cache.procedureNameList" / entry >

    < key = "cache.duration entry" > days < / entry >

    < enter key = "jdbc. InactivityTimeout"1800 > < / entry >

    < key "debug.debugger entry" = > false < / entry >

    < key = "enter db.customURL" > JDBC: thin: @(DESCRIPTION = (ADDRESS_LIST = (ADRESSE = (COMMUNAUTÉ = tcp.world) (PROTOCOL = TCP) (host = DB-ENDUR) (Port = 1520)) (ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL=TCP) (Host = DB-ENDURK) (PORT = 1521)) (LOAD_BALANCE = off)(FAILOVER=on)) (CONNECT_DATA = (SERVICE_NAME = ENDUR_PROD.) VERBUND.CO. «"" AT))) < / entry >»»»

    < / properties >



    Hi Michael Weinberger,

    Michael Weinberger wrote:

    I seem to be unable to understand the configuration of parameters for protective Apex listener when connecting to a database.

    We have a lot of servers of databases (without data guard) and we use the command line Wizard to generate the configuration file. It's straigthforeward and
    easy. We enter the server, port, and Service_name and it works.

    But for a guard database, there are two servers and I seem to be unable to set it in the right way. After doing some research I came across the parameter apex.db.customURL which should solve the problem.

    I removed the references to the server, port, and Service_name and put the key in.

    Keep the references the server name, port and service. No need to delete.

    The result were errors of connection due to some incorrect port settings.

    SEVERE: The pool named: apex is not properly configured, error: IO error: format invalid number for the port number

    oracle.dbtools.common.jdbc.ConnectionPoolException: the pool named: apex is not properly configured, error: IO error: format invalid number for the port number

    at oracle.dbtools.common.jdbc.ConnectionPoolException.badConfiguration(ConnectionPoolException.java:65)

    What Miss me?

    You must create two entries in the configuration file "defaults.xml" for your ADR (formerly APEX Listener).

    One for db.connectionType and, secondly, for db.customURL, for example:

    customurl
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=
    (ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(HOST=DB-ENDUR)(Port = 1520))
    (ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(HOST=DB-ENDURK)(PORT = 1521))
    (LOAD_BALANCE=off)(FAILOVER=on))(CONNECT_DATA=(SERVICE_NAME=ENDUR_PROD.VERBUND.CO.AT)))
    

    Reference: http://docs.oracle.com/cd/E56351_01/doc.30/e56293/config_file.htm#AELIG7204

    NOTE: After you change the configuration file, don't forget to restart independent ADR / Java EE application server support if ADR is deployed on one.

    Also check if your URL for a JDBC connection is working properly and if there are any questions, you can turn on debugging for ADR:

    Reference:

    Directed by Tony, you should post the ADR related questions to the appropriate forum. Reference: ADR, SODA & JSON in the database

    You can also move this thread on the forum of the ADR.

    Kind regards

    Kiran

  • APEX mapping 5 (and extensions in general)

    Hello

    I am completely confused with APEX 5 graphics. APEX itself has 2 types of graphics - HTML and Flash ones, but the bundled sample applications came with the graphics plugin. If I open the components shared = > Plugins, I see there in 'All LINK' a link to http://apex.oracle.com/plugins , but if I open the link, I can't find a word here on these new cards (and other plugins as well). Are these plugins (I mean all the plugins used in packaged applications) officially supported by Oracle, they are here to stay with us and what type of cards are we supposed to use in new projects?

    In addition, Oracle Application Express management representation statement mentions of new graphics engine. This new mapping engine is compatible with these graphics plugin, is it really the same as graphics current plugin or what?

    Please, any info on APEX 5 plugins would be much appreciated.

    Kind regards

    Pavel

    Hello

    as did Oracle Open World and Oracle JET (http:/// www.oraclejet.org/) was finally announced, we are now able to provide more information about our new engine for creating charts in 5.1.

    As some of you already guessed it, we plan to use the components of the deep venous thrombosis (data visualization) of Oracle JET for our new charting engine. Take a look at Oracle JET - visualizations of data about how they look and what is possible. These maps provide many configuration options and we think they have a same set as AnyChart featured, but provide much better accessibility and delicate design. In addition DVT contains some types of graphics (for example, Polar and funnel) we have not supported by APEX but we intend to incorporate into the APEX 5.1.

    It is not our intention to expose all these options as declarative attributes in the Page Designer, as he would be to trace the way most developers of complicated. But experienced developers will be able to specify a function JavaScript for each region of chart customize settings. It is during initialization and loading the data and allows you to manipulate the JavaScript object that is used to initialized the graphic widget. See the documentation of the API at http://www.oracle.com/webfolder/technetwork/jet/jsdocs/oj.ojChart.html for all of the possible settings supported by maps of deep venous thrombosis.

    We believe that this will provide a customization even better one of the XML attribute custom our AnyChart maps, because developers can stay declarative for most and just add the necessary advanced options with some simple JavaScript assignments.

    We also plan to improve the wizard to upgrade existing application to migrate existing chart AnyChart regions to the new type of chart area. Of course, it is not possible for charts with Custom XML. They will be treated the same as when migrating between AnyChart 3 and 5. Any statement settings are migrated and the custom XML will be put in the text of the comment.

    I hope that this provides more information about our future direction for the new graphics engine in APEX 5.1. #SafeHarbor: with all that said, our plans could change before APEX 5.1 is released.

    Concerning

    Patrick

  • apex_json apex 5 question

    I have a region where I produce some json like this: in the header I < div class = "json" >

    DECLARE

    C1 SYS_REFCURSOR;

    BEGIN

    OPEN C1 TO SELECT CODE, NAME OF ORGANISATIONELEMENT;

    apex_json.initialize_clob_output;

    apex_json.open_object;

    apex_json. Write (C1);

    apex_json.close_object;

    HTP.p (apex_json.get_clob_output);

    apex_json.free_output;

    END;

    $("div.json").html)

    It gives me:

    {

    [

    {

    'CODE': 'CLASS '.

    , 'NAME': 'class '.

    }

    ,{

    'CODE': 'DIV '.

    , 'NAME': 'Division '.

    }

    ,{

    'CODE': 'DIR '.

    , 'NAME': "Direction".

    }

    ,{

    'CODE': "DEPT".

    , 'NAME': 'Department '.

    }

    ,{

    'CODE': 'WARD '.

    , 'NAME': 'Ward '.

    }

    ,{

    'CODE': 'BLINK '.

    , 'NAME': 'clinic '.

    }

    ,{

    'CODE': 'NURS.

    , 'NAME': 'nursing care '.

    }

    ]

    }

    However, var j = $.parseJSON ($("div.json").html ()) fails to parse with "unexpected token [' ]"

    edhrx wrote:

    I have a region where I produce some json like this: in the header, I

    DECLARE

    C1 SYS_REFCURSOR;

    BEGIN

    OPEN C1 TO SELECT CODE, NAME OF ORGANISATIONELEMENT;

    apex_json.initialize_clob_output;

    apex_json.open_object;

    apex_json. Write (C1);

    apex_json.close_object;

    HTP.p (apex_json.get_clob_output);

    apex_json.free_output;

    END;

    $("div.json").html)

    It gives me:

    {

    [

    {

    'CODE': 'CLASS '.

    , 'NAME': 'class '.

    }

    ,{

    'CODE': 'DIV '.

    , 'NAME': 'Division '.

    }

    ,{

    'CODE': 'DIR '.

    , 'NAME': "Direction".

    }

    ,{

    'CODE': "DEPT".

    , 'NAME': 'Department '.

    }

    ,{

    'CODE': 'WARD '.

    , 'NAME': 'Ward '.

    }

    ,{

    'CODE': 'BLINK '.

    , 'NAME': 'clinic '.

    }

    ,{

    'CODE': 'NURS.

    , 'NAME': 'nursing care '.

    }

    ]

    }

    However, var j = $.parseJSON ($("div.json").html ()) fails to parse with "unexpected token [']"

    Hi edhrx,

    I view your code of jSon object and its object shows what ever you encounter is not well formatted json object:

    Please, I've corrected your code as below:

    {

    'objectName': [

    {

    'CODE': 'CLASS ',.

    'NAME': 'class '.

    },

    {

    'CODE': 'DIV ',.

    'NAME': 'Division '.

    },

    {

    'CODE': "DIR,"

    'NAME': "Direction".

    },

    {

    'CODE': "DEPT"

    'NAME': 'Department '.

    },

    {

    'CODE': 'WARD ',.

    'NAME': 'Ward '.

    },

    {

    "CODE':"BLINK. "

    'NAME': 'clinic '.

    },

    {

    'CODE': 'NURS.

    'NAME': 'nursing care '.

    }

    ]

    }

    So each jSon object should have a name that I have highlighted in bold as 'objectName' after you first fathoms curly opened.

    {

    'objectName': [

    {

    (2) an alternative to create a json apex objectives use following code:

    DECLARE

    C1 SYS_REFCURSOR;

    BEGIN

    OPEN C1 TO SELECT EMPNO, ENAME, JOB - EMP;

    apex_json.initialize_clob_output;

    apex_json. Write (C1);

    HTP.p (apex_json.get_clob_output);

    apex_json.free_output;

    END;

    Changes in your code please lines "BOLD" comment as below:

    DECLARE

    C1 SYS_REFCURSOR;

    BEGIN

    OPEN C1 TO SELECT CODE, NAME OF ORGANISATIONELEMENT;

    apex_json.initialize_clob_output;

    -apex_json.open_object;

    apex_json. Write (C1);

    -apex_json.close_object;

    HTP.p (apex_json.get_clob_output);

    apex_json.free_output;

    END;

    Please check the two json object is json online editor: JSON Editor Online - view, edit and format JSON online

    and check your json object to also get to know aswer.

    You don't no need here to add there a code additional two line which "BOLD".

    Concerning

    Raj Beauvois

  • Turn off the switch in the Apex

    Hi all

    I have a scenario where I have to do more activity at the click of a button:

    1 remove the X data and insert data from Y to X

    2 remove the data of Y

    3. now need to disable the button

    4 activate a close button (which is say-abled on Page load)

    But when I create these and try that, the button becomes disable it the auto Page loading, I can't change the button to target type of URL I need dynamic action to complete.

    No matter what pointer or suggestions will be help full...!

    NS150883 wrote:

    Hi Kiran & Fac586,

    Please see the details for my Apex below

    Workspace - SUDHIRNUNE

    User - comments

    Password - 12345

    App: DUPLICATES

    Measures to ensure the question:

    1 run the application

    2. go in the Page of the EMP

    3. click on the button "import in bulk" (import bulk will lead us to a load of data Wizard)

    4. provide the necessary data

    5. click on "next".

    6. click on "load data".

    7. the screen displays the question-

    Question: Isn't the "Load Data" button on the Final screen see the

    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
    7698 BLAKE MANAGER 7839 January 5, 1981 2850 30
    7782 CLARK MANAGER 7839 06 sep-1981 2450 10
    7566 JONES MANAGER 7839 February 4, 1981 2975 20

    So far, I've identified (and tried to fix) a certain number of problems on page 6:

    • trigger event to the load data in EMP dynamic action has been set to the closed dialog box. Changed click on the Load Data button.
    • Was the real display actions and masking in dynamic action to load data in EMP indeed the fire on loading the Page option set to Yes... It is set to No.
    • The button Load Data Action was incorrectly set to redirect to the Page of this Application. This was changed to defined by the dynamic Action.
    • The real action Run of PL/SQL Code in the load data in EMP dynamic action fails with a ORA-02291: integrity constraint (NSAPEX. SYS_C0034889821) violated - key parent not found exception because there is no DEPTNO value in the loaded data. You must resolve this problem in your data model or data.

    Also corrected the error on loading the page Deleting of Temp dynamic action on page 3 caused by referencing the nonexistent table EMP_TMP instead of EMP_TEMP.

  • APEX 5.0 Interactive report (nopadding, how to set the line height)?

    APEX 5.0.

    Theme: 26. Productivity applications

    Interactive report region

    Where and how can I global set Dimensions height of the line and policies, etc., lines in interactive report?
    I use standard interactive report.

    Thank you

    user555867 wrote:

    Please help me in detail.

    The best way to get detailed help is to create an example on apex.oracle.com and share credentials of developer comments in the workspace here.

    I have:

    1 created a (= external CSS style sheet) file with the name 'ir_css_padding.css' local on PC (C:\tmp).

    2 added "Shared components"-> 'Static Application files'-> 'Download the file statistics Appl.': 'c:\tmp\ir_css_padding.css '.

    3. under "attributes of User Interface:

    (General properties)

    The value 'Statistics file prefix': ' #APP_IMAGES #ir_css_padding.css.

    'Media Type' value: text/css

    Why have you changed these settings? They are not relevant to the addition of static CSS files in the repository database. Read the help on line for these properties:

    Static file prefix

    Determines the virtual path of the Web server uses to point to static files when you use the #APP_IMAGES substitution string #.

    Do not specify what to do refers to files that are stored with your application definition in the database.

    For performance reasons, you can also store your application files on your Web server. Use a valid URL to refer to them.

    Media type

    Enter the Internet media type. An Internet media type is identifier into two parts for the formats of files on the Internet. A media type is composed of at least two parts: a type and a subtype and one or more optional parameters. This type of media used in the HTTP Content-Type header when the page is rendered.

    If both the values of page-level and the level of the application for the media Type are NULL, text/html is used.

    Two of these parameters must be null in your current environment.

    (The User Interface definition)

    "CSS File URL' value: 'text/css/ir_css_padding.css '.

    This parameter must use the static text of APP_IMAGES substitution string:

    &APP_IMAGES.ir_css_padding.css

    After that, I can't jerome in application. (See the only CSS text in the browser)

    --> WHAT IS THE PROBLEM?

    APEX is serving pages using the type of text/css media according to the incorrect media Type parameter described above. Remove and the app will return to normal.

    4. WHERE and HOW VALUE / reference the CSS file?

    I need this change for all interactive reports in my application, self think I can change my model that I use: 'interactive report Region '.

    Interactive report region isn't just a region container designed for use with interactive reports. It does not control the appearance of the interactive reports somehow. Not there at - it a report model for interactive reports. Their appearance can be changed using CSS.

Maybe you are looking for