Authorization LOV Apex 4.2

I have 3 database and Apex environment DEV, UAT, and SIT (all should be the same using Import Export)
But UAT is not allowing users access to a page item due to an authorisation issue.
The Authorisation LOV on the page in DEV and SIT has a list of Groups that can be selected from that I have created e.g. SSC_MANAGER,SSC_ADMIN but at the very end of the LOV is a number 65978970187  what!!
I have not created this  65978970187 User Group so where has it come from? How can query the underlying users and groups in the database to compare across my 3 databases to see why the page works in DEV and SIT but not in UAT this is the only difference this rouge User Group in the Authoirization LOV.
Thanks

Hi Jan,
thanks for letting us know. We have filed bug# 14577795 and are looking into this issue.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Similar Messages

  • Resetting a Form with Cascading LOVs (Apex 4)

    A standard reset button cannot reset cascading LOVs properly. Let's assume we have a parent LOV and a child LOV. When one changes the selection in the child LOV, reset can undo this. But when he changes the selection in the parent LOV, reset will undo only the parent LOV but not the child LOV. The child LOV remains unchanged (however the selection is lost) and therefore shows a list that does not correspond to the entry now shown in the parent LOV.
    Has anybody found a solution for this, a reset action that can reset cascading LOVs completely and properly?
    Regards
    Roland

    Roland,
    i didn't try this myself but maybe you succeed with triggering the onchange-event of your parent-select-list (this should cause the child select-list to be refreshed).
    Or you could try if a form region has a apex "refresh" event (i know that refresh works on reports).
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Enter Text in Dropdown LOV APEX 3.2

    I have several list of values that are used on the oracle forms we have created. Those work great etc. They are all data driven from oracle tables.
    Users would like to have the ability to add to these tables if they are entering data on a form that uses one of these list of values. They do not want to leave the form they are on and go to another form to enter data for the list of values.
    I did not see any option to allow a user to type in new data to a dropdown. I realize this takes some effort and I would have to add some code to my form for this to work.
    Unless I am mistaken this does not seem to be a viable option in Apex 3.2.
    Let me ask a couple of questions.
    1. would it be possible for me to just add link that says something like "My item is not listed"
    They click on that and it brings up a pop up box with a little form to add the data to the table for the dropdown LOV.
    After that is updated it then dynamically updates the dropdown list on the main form.
    I am .net and VB.net guy only been using apex for 6 months here, so pretty new to it.
    2. DO that same as option one, except instead of a link, I would have a selection in the LOV
    that says My item not listed. Then if they choose that option it will bring up the pop up box with the form...
    3. If non of these things are available in 3.2 are they available in apex 4.0?
    4. If they are in 4.0 how easy is it to upgrade to 4.0 from 3.2 We have this on an Unix Box right now.
    5. any better ideas??
    Thanks

    I got it to bring up a pop up window, but It brings up the login page instead of the page I want it to go to.
    It's not keeping my current session, and instead creats a new one.
    I tried the script you provided like this
    <script>
    function modalWin() {
    if (window.showModalDialog) {
    window.showModalDialog("f?p=&APP_ID.:104&PAGE_ID.:4100&SESSION.:POP:NO:::","name","dialogWidth:600px;dialogHeight:400px");
    else {
    window.open("f?p=&APP_ID.:104&PAGE_ID.:4100&SESSION.:POP:NO:::","name","height=400,width=600,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes");
    </script>
    I also tried removing the session variable from this all together and I still got the login page. How can I maintain the session?

  • Cascading LOVs (APEX 4.1) problem, using in report does not set values

    Hi,
    i am using APEX 4.1.0.00.32 and i have a simple report as
    SQL:*
    SELECT * from region
    WHERE region like '%'||P3_REGION||'%'
    and country like '%'||P3_COUNTRY||'%'
    and city like '%'||P3_CITY||'%'
    Items:*
    P3_REGION:
    select distinct region as d, region as r from region
    Display Null value: YES
    Null display value: - select -
    Null return value: +0+
    P3_COUNTRY:
    select distinct country as d, country as r from region where region = :P3_REGION
    Display Null value: YES
    Null display value: - select -
    Null return value: +0+
    Cascading LOV Parent Item(s): P3_REGION
    P3_CITY:
    +select distinct city as d, city as r from region where country = :P3_COUNTRY
    Display Null value: YES
    Null display value: - select -
    Null return value: +0+
    Cascading LOV Parent Item(s): P3_COUNTRY
    The LOVs work fine and the correct values are displayed if cascading through them
    So in the last step i want to filter the report with the values that were selected in the lovs. And this i get not working.
    I tried to add a button with SUBMIT of the page. After choosing values in all LOVs and clicking the SUBMIT button the page submits, alle LOVs are cleared (with value - select -) and the report shows all rows.
    I tried to change the button to "redirect to Page 3" and setting the values P3_REGION, P3_COUNTRY, P3_CITY to &P3_REGION., &P3_COUNTRY., &P3_CITY. but without success.
    I tried to use the setting "Page Action when Value Changed" to "Submit" and/or "Redirect and set value" for all Item LOVs and/or only the last item LOV, but then the cascade of the LOVs does not work properly and the report does not change too.
    I am confused as i don´t know what i can do until now. I think this should be an easy requirement to limit/filter the report with values in the LOVs.
    Furthermore it should be possible to choose only the region LOV and then limit the report with that region (without choosing country and city)
    Thanks in advance!

    Hi Dan,
    thank you for your answer. I have the solution now from Kleber_M, this works.
    Dan McGhan wrote:
    1. Use bind variables in my query. It would look something like:
    SELECT *
    FROM region
    WHERE region LIKE '%'|| :P3_REGION ||'%'
    AND country LIKE '%'|| :P3_COUNTRY ||'%'
    AND city LIKE '%'|| :P3_CITY ||'%'
    This was only a mistake when writing the post, i forgot the colon. I use bind variables of course.
    2. Make sure you have a comma separated list of item names that the report depends on beneath the SQL Query where it says Page Items to Submit. This will make sure that the value of those items on the page are bound into session state prior to the query executing.I tried this, too, but without success...
    3. Use Dynamic Actions to perform the refresh action when any of the three items changes. This would be both more performant and a better experience for the end user than a full page refresh.How can i do this. This sounds good, because when refreshing the page often some items oder actions are done that i don´t want to.
    Regards,
    Matze

  • Authorization in apex

    Hi guys,
    Still having problems with apex during my study...
    I have created a table authorizations according the spec of the assignment
    with
    ID number,
    username varchar2 (35),
    application_id number,
    component_id varchar2(30),
    component_type varchar2(1),
    authorization varchar2(1)
    A component type can be P of page r of region b of button and I of item
    A component id is the name of the region, button or item or the id of a page.
    Authorization could be Y or N....
    In my table I have created a row withn the following items.
    1, 'username', 112, 'TS1'. 'B', 'N'
    I have chosen TS1 because i want a button on the tabset to be hidden.
    How can I create this query so i can read the component type and component ID?
    :APP_USER is for the user
    I don't know those two components to return to the query and I couldn't find it on the net.
    Thanks for helping me guys

    Try this:
    SELECT 1
    FROM   authorizations
    WHERE  username = :APP_USER
           AND component_id = 'TS1'
           AND component_type = 'B'
           AND authorization = 'Y'  Jeff

  • APEX,PDF's, BI Publisher and SQL Query returning SQL code..

    I don't know if I should be posting this in this Forum or the BI Publisher forum, so I am posting in BOTH forums..
    I love APEX, let me say that first.. And appreciate the support offered here by the group, but am running int a confusing issue when BI Publisher tries to build a report from the above type APEX report..
    Here is my dilemma:
    I have a number of reports that are part of a Oracle package. They return an SQL Query back to a reports region on a page. I am having to deal with the column names returned are col01, col02..
    The issue I have is, when building the Application Level query to download the XML sample from in building RTF layouts in Word, you can not use this code, you MUST use a standard SQL Select.
    I have taken the sql from the function returning sql, and copied into the application query, supplying the required data values for bind variables being used in the query.
    An XML file is produced, and I use this to build the RTF format file that I load back into APEX and try to use it for the PDF rendering of the report. I can view the output as a PDF in the Word add on, but when I try using it with the report, it is returning an empty PDF file.
    Can anyone tell me what error log files on the bi publisher side I can look at to see what error is happening?
    Thank you,
    Tony Miller
    UTMB/EHN
    Title adjusted to allow people to know what I am talking about...
    Message was edited by:
    Tony Miller

    Tony,
    You can find the log as follows:
    - go to http://[yourserver]:[yourport]/em
    - logon to OC4J EM: oc4jadmin/[yourpassword]
    - click on "logs" at the bottom of the page
    - in the hgrid/tree, expand OC4J->home->Application
    xmlpserver
    - click on view log icon
    You can also observe what's going on in BI Publisher
    by going to the command prompt from where you started
    it.
    Or, as a third option, you can locate the file on
    your file system, depending on your setup, the path
    would be something similar to this:
    \oracle\product\10.2.0\bip\j2ee\home\application-deplo
    yments\xmlpserver\application.log
    With that said though, I don't expect you'll find
    much in there that would help with your particular
    problem. I suspect you either get no rows in your XML
    at runtime, due to some session state issues, or your
    XML structure does in fact not match your RTF
    template.
    I'm not quite following your problem description,
    i.e. when did you do what and are you associating
    your report layout with a report query or report
    region. So just some general notes, your query needs
    to be parseable at design-time, when exporting the
    XML, so that you get the XML file with the proper
    column names derived from your query. If you want to
    use your RTF template with a standard report region,
    you must export the XML file first using the advanced
    XML structure option. And of course the column names
    in your report query need to match the column names
    in your report region.
    Perhaps this helps you further diagnose what's going
    on, if you have additional information that could
    help, let me know. And if you could stage this on
    apex.oracle.com, I'd be happy to take a look.
    Regards,
    MarcMarc,
    Thanks for looking at this issue. Below find my remarks to your questions..
    Re: your query needs
    to be parseable at design-time, when exporting the
    XML, so that you get the XML file with the proper
    column names derived from your query.At the start of this process, the query code was a function in a package. The function was returning an SQL select statement, for a report region on a page. I took the select statement, built an application query to build a sample of the xml for BI Publisher desktop (Add-on for Word). The code was producing the usual Col01, Col02.. since at design time that is were the column names.
    When I then took the xml from this and built the rtf for loading into my APEX application.
    When testing the Application Query with this RTF report layout, I am getting PDF's. When using it with the report region sending an xml feed to BI Publisher I am getting nothing back.
    I have since taken the sql code and moved it back into the report region, and set the region to have a type of straight SQL Query. I have even tried to hard-code the parameters I was getting from the page to limit data returned.
    Is it possible to see the xml being produced by the APEX page?
    Re: Stage this on apex.oracle.com.. I would love to, but we would have HIPPA issues if I posted the data on a public website.
    Can I send you the RTF file and the xml file that the application query is creating to see if there something weird about them?
    Thank you,
    Tony Miller
    UTMB/EHN

  • APEX, BI Publisher and SQL Query (PL/SQL Function returning SQL Query)..

    I don't know if I should be posting this in this Forum or the BI Publisher forum, so I am posting in BOTH forums..
    I love APEX, let me say that first.. And appreciate the support offered here by the group, but am running int a confusing issue when BI Publisher tries to build a report from the above type APEX report..
    Here is my dilemma:
    I have a number of reports that are part of a Oracle package. They return an SQL Query back to a reports region on a page. I am having to deal with the column names returned are col01, col02..
    The issue I have is, when building the Application Level query to download the XML sample from in building RTF layouts in Word, you can not use this code, you MUST use a standard SQL Select.
    I have taken the sql from the function returning sql, and copied into the application query, supplying the required data values for bind variables being used in the query.
    An XML file is produced, and I use this to build the RTF format file that I load back into APEX and try to use it for the PDF rendering of the report. I can view the output as a PDF in the Word add on, but when I try using it with the report, it is returning an empty PDF file.
    Can anyone tell me what error log files on the bi publisher side I can look at to see what error is happening?
    Thank you,
    Tony Miller
    UTMB/EHN
    Title changed, maybe SOMEONE has an idea on this??
    Message was edited by:
    Tony Miller

    Hi,
    1/ first check you are passing the bind variables and
    appropriate values in the call to your report - if
    the query returns no data then you get an empty page
    So if your query takes :P10_USERNAME variable then
    pass it to the report in the URL
    f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=YOUR_REP_QUERY_N
    AME:::P10_USERNAME:MYUSER
    2/ try to use the Default layout first to check your
    report query really returns the data when called
    3/ if you defined a header in your rtf template check
    there is no & (ampersand) - if using & in the header
    and preview the template from word it displays data
    OK, but if you use this template in the report query
    it fails to render the data (bug in Apex-> Bi
    Publisher integration maybe?)
    4/ If using the table in the rtf template check its
    width does not overflow the page margins - there is a
    problem with pdf export
    5/ check
    /oc4j/j2ee/home/application-deployments/xmlpserver/app
    lication.log forthe information on BI Publisher runs
    RadoIssue was in the APEX page having issues.. I recoded a new page and am able to generate BI Publisher based PDF files..
    Thank you,
    Tony Miller
    UTMB/EHN

  • Using Page Text Item in an Authorization Scheme

    Hello,
    I will be having a text item is every page say, Px_RESP_ID (hidden and its value set in an earlier page), and want to use its value in an authorization scheme to verify if the user has an access to the page.
    I'm using the following SQL in the authorization scheme -
    Apex Version: Apex 3.2
    Scheme Type: Exists SQL Query
    SQL:
    SELECT 1
    FROM zs_users zu
    , zs_responsibilities zr
    , zs_user_resp_groups zur
    WHERE
    zu.user_name = :APP_USER
    AND zr.resp_id = '&P'||:APP_PAGE_ID||'_RESP_ID.'
    AND zu.user_id = zur.user_id
    AND zr.resp_id = zur.resp_id
    For some reason this approach is not working. Any ideas to help me move forward will be greatly appreciated.
    Regards,
    Seshu

    AFAIK an application item, or maybe a page 0 item, is the only way to do this (as those items effectively exist across all pages of an application). Unfortunately since authorization schemes are application-level, you can't really effectively reference page items at runtime since you aren't necessarily on that page.
    The other option is an ugly one. Instead of creating one auth scheme (e.g.: "user_has_whatever_authority"), create one for every page (e.g.: "user_has_whatever_authority_1", "user_has_whatever_authority_2", etc.) and attach each auth scheme to each page by matching up the number in the name with the page. But this is a maintenance nightmare and terrible style IMHO, but it'll work. Your colleagues will hate you for it when you're gone though.

  • APEX vs PHP

    Hello everyone,
    I'm about to start an online catalog for schools where teachers upload grades and parents can login-in and see them.It's not very complicated, just a form and a few reports(looking for a nice user-friendly interface).
    My friend (and co-worker on this) it's PhP fan, and he knows nothing about Apex(as i don't know much about PhP), so after we lined up all the ideas and ended up chosing a platform.This is our problem!
    I love APEX (and i'm pretty good at it) and this would be my favorite. The problem is that he keeps saying that Apex is poor and that lots of top Alexa's sites are Php(Facebook,Wikipedia,etc).
    It would be nice if you APEX guru's could give my some arguments to suggest that APEX pawns PhP + MySql.I'm sure that i can make this project in APEX but I really can't find any convincing arguments in front of PhP.
    I don't think that pricing is a problem since we won't expect more then 200 visitors at once and 10g XE could make it i hope :).
    Kind Regards,
    Bogdan Ursea

    I've been using APEX for 10 years and I've worked in PHP as well. I've never worked with any PHP frameworks, so it was just pure PHP and MySQL. At the end of the day, PHP is just scripting, like Perl, .Net, Ruby. It's a bunch of code. APEX uses declarative objects like regions, reports, items, validations. You'd have to hand code soooooooo much in PHP that's already built into APEX like every aspect of Interactive Reports, or validations. I'd say you could build an app in APEX that would take you 10 times as long to build in PHP. Have you ever built an app using nothing but the PL/SQL web toolkit (htp.p...)? If so, that's about what it's like in PHP.
    What are PHP's strengths? Well it works with any database, one app can go against multiple databases, there are more php / MySQL hosting companies than APEX hosting companies. To be fair, it's a pretty easy language to learn and the code is pretty readable. But again, it's just a bunch of code.
    You're not building facebook or wikipedia. For that matter, neither are 99% of the developers in the world. Don't look to their architecture for inspiration. They have to make tradeoffs to support the insane number of concurrent users and data. They do things like using NoSQL databases (MongoDB, etc) that are massively distributed clusters. Even though PHP is plenty scalable for 99% of the web apps out there, facebook needed more speed so they wrote a compiler for it. Their challenges are much different than yours. Your primary challenge is going to be ease of use productivity, which is where APEX shines.
    I hope you've considered the security implications of the app you're building. Are you planning on encrypting the data? What type of authentication are you going to do? Make sure you are using session state protection so I can't just change the primary key in the URL and see someone elses grades.
    Tyler Muth
    http://tylermuth.wordpress.com
    "Applied Oracle Security: Developing Secure Database and Middleware Environments": http://sn.im/aos.book

  • Use lov in a portal form

    Hi all,
    I insert a lov field in my form(my lov have null value). When I query data in this form, I want show all record, so I select null value from lov and exec query but no record is display. Can you show me the way to query all record in form have lov field. Thank so muach!
    Trung

    Yes indeed. Please see the links below.
    >> LOV">ApEX Solutions ->>> LOVMaster-Slave LOV<a/>
    {thread:id=1020789}
    {message:id=1371958}
    Regards,
    Phiri>> LOV">ApEX Solutions ->>> LOV<a/>
    {thread:id=1020789}
    {message:id=1371958}
    Regards,
    Phiri

  • What is wrong with this dynamic LOV query?

    I am trying to create a dynamic LOV which contains calendar week numbers, given a bind var containing the year. If the year given is this year I want the LOV to contain all weeks up to but not including this week, if the year given is in the past I want the LOV to contain all weeks in that year.
    Here is my query;
    select display_value, week_num from
    (select decode(
    :P31_YEAR,
    to_char(sysdate, 'YYYY'), to_number(to_char(sysdate, 'IW')),
    1+to_number(to_char(to_date('31/12/' || :P31_YEAR, 'DD/MM/YYYY'), 'IW'))
    ) max_weeks,
    level week_num,
    'Week ' || level display_value
    from dual
    connect by level < 54
    ) where week_num < max_weeks
    When I try to create the dynamic LOV Apex tells me the query is invalid. It runs in TOAD and as far as I can see follows the LOV query rules.

    Try this:
    select display_value d, week_num r from
    (select decode(
    nvl(:P13_YEAR,'2007'),
    to_char(sysdate, 'YYYY'), to_number(to_char(sysdate, 'IW')),
    1+to_number(to_char(to_date('31/12/' || nvl(:P13_YEAR,'2007'), 'DD/MM/YYYY'), 'IW'))
    ) max_weeks,
    level week_num,
    'Week ' || level display_value
    from dual
    connect by level < 54
    ) where week_num < max_weeks
    Scott

  • Enhancement request: Bulk edit features

    As much as I love Apex and think it is the greatest thing since sliced bread (what's so great about sliced bread anyway!), after one gains a certain amount of proficiency with using the tool, one realizes that there are many areas where the Builder application simply gets in your way. You know exactly what you want to do, you know how to do it, but the Apex Builder doesn't support a "do this 20 times" feature!
    For instance
    1. Deleting multiple pages - This came up on another thread recently. The Builder makes you click 2 buttons (Delete and Confirm) to delete a page and then takes you to page 0 (or the previous page or something) and then you need to go back to the next page and repeat the process.
    There should be a "delete multiple pages" feature in the Builder
    2. Creating a list - I have a bunch of links/URLs that I would like to create a list from. The Builder interface (tabular form) has us add each list entry at a time.
    I would prefer that it has a honking big textarea where I could dump all the links at once and it creates all the list entries at once. I could always go and tweak individual entries if I like.
    Same thing for adding to other Shared components like LOVs, breadcrumbs, tabs, etc. I am not saying a textarea-based interface would work for everything, but anything has to be better than doing it one by one.
    3. Access to the Report Column Attributes page - This is too painful to access.
    Click on Edit page, click on Report, click on the column you want. 3 clicks!
    Instead, there should be a Quick Edit link next to each report column when the page is run that pops up the same page.
    4. Attaching a authorization scheme (or condition or build option or any applicable thing really) to a bunch of components at once.
    The Builder should have a nifty search page where we could search/filter (by name, component type, page#, etc) for the components we want and then allow us to apply a an "action" (i.e. auth. scheme) to all the selected components at once. Doing this one by one is error-prone, time-consuming and just plain boring!
    That's all that comes to mind at this time, I am sure others will have more.
    Thanks

    Mike: Thanks for responding.
    1. You misunderstand what I wrote about report columns. Marc Sewtz understood what I meant at Re: Enhancement request: Quick edit links for column attributes
    is very easy to bulk change (on the back end); the hard part is devising the proper screens for bulk change (font end)
    2. Absolutely, agree 100%. Which is why it might make sense for Oracle to expose metadata manipulation APIs (apex_metadata package similar to dbms_metadata!) so that power users can effect changes to the application metadata without going through the Builder at all!
    We talked about this at Bulk edit items
    Many of the application reports allow for bulk change operations
    Right, but realistically speaking, you can never anticipate and build screens for all the things we would like to do. Which is why a command-line API would be invaluable.
    Just recently, I needed to change a bunch of HTML regions' templates in a application from Report Region to Hide/Show template. I couldn't find an application report/bulk edit page that let me do this, it was quite painful to do in the Builder.
    Another case in point: I used the "Form on SQL Query" wizard to quickly create a form page with a bunch of fields. But unfortunately, unlike the "Form on Table wizard", this wizard is not smart enough to create page items with a display-as depending on the datatype of the columns in the query. It creates all the form items as Text Fields. :-( There is no bulk-edit page (that I could find) that lets me change the display-as property for multiple items.
    If you or others have UI sugestions
    3. As you may know, whenever I think of something that the Apex product could benefit from (an enhancement request IMHO), I post a thread on the forum with a subject line that clearly indicates as such.
    To summarize, here they are:
    Re: Enhancement request: Validation attached to process
    Enhancement request: Buttons in report regions
    Re: Enhancement request: Branch report
    Re: Enhancement request (for Help text)
    Re: Report with Tabs - Enhancement Request?
    Enhancement request - Frequently used manifests
    Enhancement Request: Create linked buttons
    Enhancement request: Bulk copy of items
    Enhancement request: Named anchors for items
    Re: Enhancement Request - Named Branches
    Enhancement request: Assign build option to a page group
    Enhancement request: Checkbox item - Default all checked
    Enhancement request: Include application-level events
    Re: Command line API
    Is that enough? :-)
    Thanks

  • How much my client had to pay in terms of licences ? If I sell an applicati

    How much my client had to pay in terms of licences ? If I sell an application made by myself to them?
    I love apex!

    If it works on Oracle Express Edition, the license charge from Oracle is $0
    If it is something larger than Oracle Express Edition, check out the prices on http://store.oracle.com for the maximum, non-discounted, list price. Remember that very few pay list price.

  • Disconnected / Distributed Architecture

    I'm working with a customer that wants to implement a disconnected / distributed architecture. They have groups of inspectors that travel around the world, including 3rd world countries with no possibility of cellular data access. They have a pool of about 70 laptops that they use. Each person in the group of inspectors will have their own laptop and use it to do an on site evaluation. Currently they then export these as files and the existing software brings these files together in a report. The problem is it doesn't really work and the company that built it went out of business.
    Whenever I hear someone wanting to do disconnected mobile I strongly advise against it then run the other way. It's a very challenging problem to sync either the data or the app, let alone both. Someone else proposed APEX, and as much as I love APEX it just doesn't feel like the right technology. If skill-set weren't an issue, I'd probably build it in Adobe Air with a local SQL-Lite database that syncs up to the Oracle "mother-ship". At least Air has the concept of automatically updating the application whenever it connects built into it's core architecture.
    I have a few thoughts on syncing such as:
    - Roll your own data sync with PL/SQL over DB links. Should be less than 20 tables.
    - Advanced Replication
    - GoldenGate (if price is not an issue). Could possible sync the APEX_ tables to sync up the app too
    - Write a VB app that checks for application updates when they are connected, then downloads the APEX app and installs it
    So, my questions are:
    - Has anyone here done something similar in APEX? If so, can you discuss the details including data and application updates?
    - Has anyone done something similar with another technology stack?
    Tyler Muth
    http://tylermuth.wordpress.com
    "Applied Oracle Security: Developing Secure Database and Middleware Environments": http://sn.im/aos.book

    Hi Tyler,
    I share your first thougts - run the other way. ;)
    I haven't done something like that with APEX, but I guess using DB-Links is one option, but not the ideal one. Treating an application like data is possible, though the deployment could get a little tricky, if you want this to happen automaticly.
    - Of course, you could store the application archive as BLOB or even CLOB column in a table along with other meta data (e.g. build number, timestamp, etc.).
    - You could build an application that acts as update manager that stores information (build numbers, timestamps etc.) for locally installed applications and data, and looks up possible updates - for both data and applications.
    - I would try to do the data transfer with web services rather than using data base links. APEX-integration is getting better with every new version and it sounds more handy to me, especially error handling etc.
    Leaves you with the point how to deploy your application. Since the archive itself is SQL, you could download it using a select statement and simply execute them. There exists a nice API, but I don't know if you can use it within APEX easily. As for images and other items: Since you probably use a scenario with EPG as HTTP-Server for APEX, it should not be too hard to retrieve BLOB-data and load it into XDB.
    It get's a lot easier, if the inspectors would do the deployment part. Since this is not too complicated in APEX, it might be just the update manager that offers them the appropriate downloads.
    I'd be intrested to know how you actually realized this architecture, if you ever get it running before it get's you to run. ;)
    -Udo

  • Revisit:  collection with cacading lov...impacting field w/authorization.

    I have a page with a collection EFFORT_C. The collection has an apex_item.select_list_from_LOV_xl called GEARS (c028). When this lov is changed, an application item TAB_GEAR_CODE is set. This works.
    Now, I want the field LMA_CODE (apex item c029) (lobster mgmt area) to only appear when TAB_GEAR_CODE is equal to one of several values, I therefore created an authorization for LMA_CODE. In turning on the auth, the application_item TAB_GEAR_CODE is no longer set.
    Is there a way to hide/show c029 dependent on c028?
    Is it possible to use CASE after the onchange....and if so, could someone help with the syntax. I am uncertain how to set it up so that it works properly.
    SELECT apex_item.hidden (18, seq_id) checkbox,
    apex_item.select_list_from_lov_xl
    (28,
    c028,
    'GEARS',
    'style="width:150px;background-color:#FBEC5D; "'
    || 'onchange="f_set_casc_gear(this,f29_'
    || LPAD (seq_id, 4, '0')
    || ')"',
    'YES',
    '0',
    '- Select Gear -',
    'f28_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO'
    ) gear_code,
    apex_item.select_list_from_lov (29,
    c029,
    'LMA_DE',
    'style="width:150px"',
    'YES',
    '0',
    '- Select LMA -',
    'f29_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO') lma_code,
    FROM apex_collections
    WHERE collection_name = 'EFFORT_C'
    my attempt to use CASE failed to work...
    SELECT apex_item.hidden (18, seq_id) checkbox,
    apex_item.select_list_from_lov_xl
    (28,
    c028,
    'GEARS',
    'style="width:150px;background-color:#FBEC5D; "'
    'onchange="'
    || CASE
    WHEN :p300_authorization2 = 1
    THEN 'f_set_casc_gear(this,f29_'
    || LPAD (seq_id, 4, '0')
    || ');'
    ELSE NULL
    END
    || ')"',
    'YES',
    '0',
    '- Select Gear -',
    'f28_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO'
    ) gear_code,
    apex_item.select_list_from_lov (29,
    c029,
    'LMA_DE',
    'style="width:150px"',
    'YES',
    '0',
    '- Select LMA -',
    'f29_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO') lma_code,

    Karen,
    First of all, if you use authentication you will either show or hide the column in your report
    for good. Second, what sense does it make to hide or show a column dependant on one
    row in a table. Your requirement is doable I just don't see what the reason could be. Is there
    an example accessible?
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for