Workspace Manager and tabular forms

Does anyone know whether it is possible to use Workspace Manager with tabular forms using APEX's multi row processes?
I tried creating a process that runs before the multi-row processes that uses gotoWorkspace() to switch to a different workspace and another process afterwards that switches back to the LIVE workspace. However, the changes go into the LIVE workspace rather than the desired workspace.
Rodney

Turns out my application did indeed need to be debugged. I had an explicit condition written to limit the process to certain buttons, but I also managed to add an unintended constraint that the process only run when the Add button was used. The result was that the process ran, creating a workspace, when one added a row, but didn't switch back to that workspace when one saved the new row.
Sorry for the false alarm.
At least I can confirm for anyone considering this option that APEX does work with Workspace Manager as long as you can enable the versioning on the tables through another means.
Rodney

Similar Messages

  • Source tables for forms and tabular forms must have a primary key.

    Why does HTML DB 2.0 return the message
    "Source tables for forms and tabular forms must have a primary key."
    when trying to generate a "Report and Form" page based on a view defined like "create view <applicationschema>.a as select * from <sourceschema>.b" ?
    It should be possible for HTML DB to "see" that the table "<sourceschema>.b" already has a primary key.
    bw - Christian

    Christian,
    In the create application wizard, when creating form or tabular form pages, you can only use tables with primary keys, and not views, because that wizard is automatically deriving the primary key from the table definition. If you want to build forms on views or tables without a primary key, you need to use one of the create form wizards while working on an existing application. Those wizards allow you to pick your own column as a primary key column.
    Regards,
    Marc

  • OLAP Analytic Workspace Manager and Worksheet

    Hi,
    I have installed a datawarehouse and OLAP 10gR2 on a WinXP but in the Start menu.
    - Oracle_home, in Integrated Management Tools, I do not haveOLAP Analytic
    Workspace Manager and Worksheet.
    What is the problem ? What more should I install ?
    Many thanks for your help.

    Hi,
    What more should I install ?Did you do the OLAP catalog (dbms_olap)?
    http://www.oracle.com/technology/products/bi/samples/samples_readme.html
    Check the install docs for full instructions, and don't forget to pay your $20,000.00 license fee first:
    http://oraclestore.oracle.com/OA_HTML/ibeCCtpSctDspRte.jsp?section=11222
    http://searchoracle.techtarget.com/tip/0,289483,sid41_gci1024826,00.html?topic=299433
    Another option is Excel-DB, an easier (and less expensive) way to Oracle-enable spreadsheets:
    http://www.excel-db.net/menu_overview.htm

  • Workspace Manager and APEX

    I was experimenting with using workspace manager (via DBMS_WM) to version a set of tables. Does everything I want, easily and quickly.
    However, when I update versioned objects in APEX, and then look at the HIST table, the user name is APEXPUBLIC_USER.
    I understand why this is, but does anyone know of any means of overriding the user saved in the _HIST table, using the APEX user instead.
    I had a look at the IOT on the BASE object, but didnt see where it inserts into HIST.
    Any help greatly appreciated.
    Thanks, Rob

    Hi Robert,
    some time ago I created a german how to document on Workspace Manager and APEX - you'll find it here.
    http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/wm/index.html
    Be careful - in the following text a "workspace" is not an APEX workspace but a DBMS_WM workspace.
    The "_HIST table" is not a table but a view. When version-enabling a table Workspace Manager renames the table, adds columns
    for the versioning information and creates some views. The most important view is the view which "replaces" the original table. The
    "_HIST" view is another view.
    Workspace manager also creates an INSTEAD OF trigger which "catches" the DML done on the view (which now has the name
    of the original object). That DML is being enriched with User and timestamp information and then placed into the original table
    (which now has another name).
    The user information is there because Workspace manager allows to grant privileges on "workspaces" to other users. So you ...
    * first version-enable a table
    * create a new workspace (CHANGES_1)
    * do some DML
    * grant access on your workspace to the other user say: HUGO
    Now you and HUGO can access the workspace CHANGES_1 and review your DML. All other users can only see the
    table status before your changes. So as long as you don't access the version enabled object from different database
    schemas (i.e. different parsing schemas) and you don't use the DBMS_WM.GRANT.... procedures you don't have to care
    about the APEX_PUBLIC_USER information in the HIST view.  You can live with the APEXPUBLIC_USER information.
    Does that help ...?
    Best regards
    -Carsten

  • Dynamic actions and tabular forms

    I'm trying to attach a dynamic action to a tabular form item, and it's not working the way I'm expecting it to. Since you can't attach dynamic actions to parts of a tabular form in the "normal" way that you can for page items, I'm using JQuery selectors to pick the parts to link to. For links (such as opening a pop-up window with more information about a row), this is working fine. But I'm really struggling to attach to a simple checkbox.
    On my tabular form, I've got a simple checkbox. I've tried putting text in the Element Attributes, Element Option Attributes, CSS Class, CSS Style, and HTML Expression fields, but none of them appear to be making it through to the source code of the generated page. Which means, I think, that I'm limited to using a jQuery Selector along the lines of "input[name=f07]", but creating a dynamic action on click or on change with that selector doesn't seem to ever fire.
    What am I missing?
    -David

    Ok, this is interesting. When I tried to mock this up on apex.oracle.com, I was able to make it work (though I had to change the selector to "input[name=f07_NOSUBMIT]", which means I'm going to have to walk the DOM to get the actual value...but I'm pretty sure I can handle that). After a bit of scratching my head, I eventually found that my pop-up dynamic action was somehow or other blocking the checkbox dynamic action from firing. Changing the sequence so that the checkbox DA happens first allows them both to fire.
    Here's the javascript from the pop-up DA (it's based on this post by Havard Kristiansen):
    /* prevent default behavior on click */
    var trgt = this.triggeringElement.href;
    var e = this.browserEvent;
    e.preventDefault();
    /* Trigger JQuery UI dialog */
    var horizontalPadding = 30;
    var verticalPadding = 30;
    $('<iframe id="modalDialog" src="' + trgt + '" />').dialog({
         title: "Item Details",
         autoOpen: true,
         width: 570,
         height: 400,
         modal: true,
         close: function(event, ui) {$(this).remove();},
         overlay: {
              opacity: 0.5,
              background: "black"}
    }).width(570 - horizontalPadding).height(400 - verticalPadding);
    return false;At this point, the checkbox DA's action is simply an alert box. Like I said, I'm not sure what's going on, but I'm at least able to move forward...
    -David

  • Can we have Manual Form and Tabular form in the same page..

    Hi,
    Is it possible to create a form manually with Save/Apply Change button and another Tabular form using wizard on the same page such that -
    if we click the save button on the manulaly created form , it should save the data present in manual form as well as Tabular form...
    Edited by: Apex_Noob on Mar 21, 2009 5:58 AM

    Hi Dan,
    My table structure is :
    Process
    process_id ( number primary key )
    process_owner ( number which represent the user who is responsible for the process)
    category_id ( number )
    focus_area ( number )
    frequency ( number )
    process_description ( varchar2 )
    Process Region
    process_id ( number )
    region_id ( number )
    Process_website
    id (number primary key)
    process_id ( number)
    web_address ( varcahr2 )
    Above is the struct of part of my DB.
    At present my manual form does the following :-
    When users click on SAVE button , it run PAGE PROCESS , ADD_PROCESS
    In ADD_PROCESS ,
    I have following logic to insert into process table
    Select seq.next_val into temp_variable from dual; - This is the process_id
    insert into process values ( temp_variable , :p2_process_owner , :p2_cateogory , .... )
    to insert into region i used the following logic ( Region is displyed as check box :p2_region north=1 , south=2 ,east = 3 and west = 4)
    l_vc_arr2 := APEX_UTIL.STRING_TO_TABLE(:P2_REGION);
        FOR z IN 1..l_vc_arr2.count LOOP
           INSERT INTO "REGION" VALUES
           ( temp_variable ,
             l_vc_arr2(z));
        END LOOP;
    END;Now as I told, I want to have three text field where user will enter web_address and it should be added to process_website table
    Thanks a ton for all your help
    Regards,
    Shijesh
    Edited by: Apex_Noob on Mar 21, 2009 10:07 AM

  • Workspace Manager and HTML DB

    Hi Folks,
    I was wondering if an HTML DB application can take advantage of
    Workspace Manager features, I mean, work with versions inside the database.
    The idea is, validate the user login and redirect it to an specific workspace ("version") of the database. Thus, I can control the data inserted by each application user, validated it and then promote it to the live database.
    TIA,
    Luis Paolini

    Hi,
    Yes you should be able to do this. The versioning of the table will be transparent to html db. When a table is versioned, the original table is renamed, and a view is created in its place with the original name. Any sql statements running against the original table, will also be able to be run against this new view.
    The creation, merging, refreshing, etc of workspaces would need be handled in the same way as any other pl/sql statement being executed by html db.
    You would also be able to create a logon trigger, which based on the user logging in, would be able to place the user in an appropriate workspace.
    Regards,
    Ben

  • Oracle11gR2 Workspace Manager and table consistency after merge

    Hi folks,
         I'm working with Oracle Workspace Manager in order to get data inserted and validated into workpaces before they become available to the LIVE workspace.
         Doing some tests I found a problem about data consistency after I merge the data from a child workspace to the parent workspace.
         To be able to explain and reproduce the problem I create a simple test case:
    --Create table TB_LINK
    create table TB_LINK
      CD_LINK NUMBER not null,
      DS_LINK VARCHAR2(30)
    --Create primary key
    alter table TB_LINK add primary key (CD_LINK);
    --Create table TB_GUD
    create table TB_GUD
      CD_GUD  NUMBER not null,
      DS_GUD  VARCHAR2(30),
      CD_LINK NUMBER
    -- Create primary key
    alter table TB_GUD add primary key (CD_GUD);
    -- Create foreign key 
    alter table TB_GUD
      add constraint FK_TB_LINK foreign key (CD_LINK)
      references TB_LINK (CD_LINK);
    -- Create sequences
    create sequence SEQ_TB_GUD
    minvalue 1
    maxvalue 9999999999999999999999999999
    start with 1
    increment by 1
    nocache;
    create sequence SEQ_TB_LINK
    minvalue 1
    maxvalue 9999999999999999999999999999
    start with 1
    increment by 1
    nocache; 
    --Create Triggers
    create or replace trigger "INS_TB_GUD" before insert on TB_GUD for each row
    Begin
    select SEQ_TB_GUD.nextval into :new.CD_GUD from dual;
    end;
    create or replace trigger "INS_TB_LINK" before insert on TB_LINK for each row
    Begin
    select SEQ_TB_LINK.nextval into :new.CD_LINK from dual;
    end;
    --Enable version TB_LINK and TB_GUD
    EXECUTE DBMS_WM.EnableVersioning('TB_GUD','VIEW_WO_OVERWRITE',FALSE,FALSE,'UNLIMITED');
    EXECUTE DBMS_WM.EnableVersioning('TB_LINK','VIEW_WO_OVERWRITE',FALSE,FALSE,'UNLIMITED');
    --Create a workspace
    EXECUTE DBMS_WM.CreateWorkspace ('TEST_WKS');
    --Goto workspace TEST_WKS
    EXECUTE dbms_wm.gotoworkspace('TEST_WKS');
    --Insert data into TB_LINK and TB_GUD
    INSERT INTO TB_LINK(DS_LINK) VALUES ('DS1');
    INSERT INTO TB_LINK(DS_LINK) VALUES ('DS2');
    INSERT INTO TB_LINK(DS_LINK) VALUES ('DS3');
    INSERT INTO TB_LINK(DS_LINK) VALUES ('DS4');
    COMMIT;
    INSERT INTO TB_GUD(DS_GUD,CD_LINK) VALUES ('GUD1',1);
    INSERT INTO TB_GUD(DS_GUD,CD_LINK) VALUES ('GUD2',2);
    INSERT INTO TB_GUD(DS_GUD,CD_LINK) VALUES ('GUD3',3);
    INSERT INTO TB_GUD(DS_GUD,CD_LINK) VALUES ('GUD4',4);
    COMMIT;
    --Checking keys
    select * from tb_link;
       CD_LINK      DS_LINK
             1           DS1
             2           DS2
             3           DS3
             4           DS4
    select * from tb_gud;
       CD_GUD      DS_GUD     CD_LINK
             1           GUD1              1
             2           GUD2              2
             3           GUD3              3
             4           GUD4              4
    --Merge Workspace
    EXECUTE DBMS_WM.MergeWorkspace ('TEST_WKS');
    --Checking keys
    EXECUTE dbms_wm.gotoworkspace('LIVE');
    select * from tb_link;
       CD_LINK      DS_LINK
             5           DS4
             6           DS3
             7           DS1
             8           DS2
    We can see that the CD_LINK got new values after merge and that was not expected.
    select * from tb_gud;
       CD_GUD      DS_GUD                  CD_LINK
             6           GUD3                       3
             7           GUD1                       1
             8           GUD2                       2
             5           GUD4                       4
    We can see that the CD_GUD got new values after merge and that was not expected.
    Now, the values for the CD_LINK column does not have corresponding records at the TB_LINK table, as the foreign key does not exist anymore.
    Could you please help me understand what is going on?
    Thanks,
    Luis

    Hi Luis,
    The reason for the difference is that the trigger is being run during the MergeWorkspace operation.  The inserts into the child workspace(TEST_WKS) translates into an insert into the LIVE workspace during merge as the rows do not yet exist.  As a result, the trigger is fired and the sequence is evaluated.  Ideally, we should not allow the PK to be modified by a sequence in this case.
    You have 2 options:
    (1) Check for :new.CD_GUD being null prior to using the sequence.  Any dml coming from a merge/refresh operation will have a non-null value.
    (2) Turn off the trigger during dbms_wm procedures.  This can be done using dbms_wm.SetTriggerEvents.  I would assume you would only want this trigger being run for DML events.
    Let me know if you have any questions.
    Regards,
    Ben

  • ANN: New Technical Paper - Software Configuration Manager and Oracle Forms

    Check out the new technical paper
    "Oracle9i SCM and Oracle9i Forms Integration" at:
    http://otn.oracle.com/products/repository/htdocs/9iscmforms.html
    This paper shows you how to use Oracle9i SCM to manage team development and version control of Oracle Forms projects.
    You can also diff and merge FMBs.
    More info on Oracle9i SCM - part of Oracle9i Developer Suite at: http://otn.oracle.com/products/repository/content.html

    We got the configuration upload to work today and it did show up rather fast on Metalink 3. What we ended up having to do, was to install the software twice on the server once in the c:\sba80\gtwysrvr and once in the c:\sba80\siebsrvr directory.
    If you are behind a proxy remember to use the -p parameter when calling setupCCR.
    Axel

  • Workspace manager and Streams

    I wanted to know if workspace manager support streams.
    If it supports, can Advanced replication and workspace manager co-exist in a database?
    We currently have advanced replication between 2 database with workspace manager installed. The tables are version enabled and replicated. We are adding a new database that is going to use Streams for data movement instead of advanced replication. I would like to know if they can co-exist?
    Thanks.

    Hi,
    There are a number of different modes in collecting data when using Streams. If the LCR records are being created using the redo log, then you would need to specify the LT table when adding support.  Otherwise, if a custom application was creating its own LCRs (for example, via triggers) it would not have to use the LT table, but could create the records based on the column values in the trigger.
    Also, I should note that it would not really be feasible to replicate the versioned tables completely using streams on top of Workspace Manager. The types of operations that I was referring to that could be performed would be moving data into a non-versioned table. For example, creating a rule so that only specified rows or a particular workspace are streamed into a table at a different database. The metadata would also need to be removed from the record, which would only be useful in a versioned environment. Aside, from these types of activities, advanced replication would need to be used.
    Regards,
    Ben

  • Difference between Analytic workspace manager and AWB

    Hi could anyone tell me the difference between AWM and AWB , . I finished designing my cube using AWB and i was planing to use OBIEE to browse and view my cube for reporting etc but it turns out that OWB cubes arent diretly compatible with OBIEE workspace we have to use AWM to make it compatible or something.. So why use OWB in the first place ???

    Hi Jan,
    The difference is that one uses a memory mapped file and one uses direct nio memory (as part of the memory allocated by the JVM process) to store the data. Both allow storing cache data off heap making it possible to store more data with a single cache node (JVM) without long GC pauses.
    If you are using a 32 bit JVM, the JVM process will be limited to a total of ~3GB on Windows and 4GB on Linux/Solaris. This includes heap and off heap memory allocation.
    Regarding the size limitations for the nio-file manager Please see the following doc for more information.
    With the release of 3.5 there is now the idea of a Partitioned backing map which helps create larger (up to 8GB of capacity) for nio storage. Please refer to the following doc.
    Both can be used to query data but it should be noted that the indexes will be stored in heap.
    hth,
    -Dave

  • Last pass password manager and auto form filler have disappeared from my tool bar. How do I get them back or do I have to start all over again.

    I am using Windows Vista. Both LastPass and the auto form filler have disappeared from my toolbar. Is there a way to retrieve this information or do I need to start again?

    Do those extensions still show as installed in Tools > Add-ons > Extensions?
    If not then it is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the files extensions.* (e.g. extensions.sqlite, extensions.ini, extensions.cache) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to check if there is a compatibility update available.
    You can also check for problems with the localstore.rdf file if toolbar buttons are missing.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • For the same table in the same page, how to use 2 different forms (simple and tabular)?

    Hello! How I can be on the same page with the same table insert and update operations using 2 different forms (single form and tabular form)
    I have little knowledge of Apex, but I know PLSQL
    Thanks
    Ginger
    Ecuador

    Thank you Gramps.  It took some time, but I've got it working now.  I had to re-do all the user authentication actions from scratch for one of the databases, but it's finally behaving itself now.  I appreciate you pointing me in the right direction.

  • Oracle Text and Workspace Manager

    Has anybody incoroporated Workspace Manager and Oracle text together. How is the Oracle Text index handled? Can users in different workspaces submit documents, have them indexed and be the only ones to see those documents?

    Hi,
    I do not have much experience with Oracle text, and am unsure exactly how it works. As such, I would suggest to file a TAR requesting this information.
    Regards,
    Ben

  • ORDS v3 and APEX tabular form issue

    Hi,
    We encountered strange issue after installing ORDS v3 EA to test, thought I would report this. I'm not sure if its a bug but it seems to be reproducible in our instance.
    Steps:
    1) Install ORDS v3 with Glassfish deployment.
    2) Go to APEX builder -> Page with report (classic or interactive) -> Edit Attributes -> Change data in column attempt to save throws out "ORA-01403: no data found"
    or
    3) Create APEX app -> Build page with DML form and Tabular form -> Edit tabular form attempt to save throws out same error.
    Application error logs shows:
    ORA-20987: APEX - Unable to change column attributes. - ORA-01403: no data found
    WWV_FLOW_SECURITY
    FINAL_EXCEPTION_HANDLER
    Also, I was unable to get RESTFul services working with APEX no matter how I configured ORDS v3. I don't encounter these issues when reverting back to version 1.x , 2.x
    APEX Version: 4.2.6.00.03
    Oracle DB: 11.2.0.3.0
    Glassfish : open source edition 4.1
    Regards,
    -Senthil

    I too am getting ORA-01403 both when trying to save in the builder and when just hitting submit on the tabular form when using standalone EA3. Happens when pointing at 4.1 or 4.2.6. The v2 listeners works fine when pointing to the same applications/pages.
    I asked oracle support whether it is a known EA3 issue but was told to add my observations to the forum.
    cheers
    ~t

Maybe you are looking for

  • CAN I PASS A TABLE NAME AS A VARIABLE IN THE FROM CLAUSE?

    For some reason, I am trying to use a variable name containing the actual table name in the from clause and it won't allow me. I keep getting the error saying I need to declare the variable I'm using eventhough I've used it in another statement that

  • Issue in maintaining Long Text in Message Class

    Hi For Note implementation 1413492, I have to maintain long text, when I click on Long Text , I get a pop-up Create Modification , with 2 options for Template Type (1) Original Text (2) Template (With Headers) Can anyone let me know how to proceed fu

  • Vendor Currency Change

    Hi,   I have create the vendor Currency as USD and enter the GRN. And the GRN quantity has been  issued to production. Now part of quantity is avaiable in stock. Now i need to change the Vendor Currecnty to INR. Please let me know how can do this cha

  • Regarding plant creation

    hai, when we create a plant as copy as option thyen it stores in the entries suppose whenever we create the plant by using new entries option it has not stored in the table entries what is main differance between these two options? regards ramu.

  • L355-S7902 and other vista machine same problem after updates

    I swear I have had it with MS.  After loading the recent 13 updates my vista installation on the Toshiba and my desktop are now bringing up a Windows Installer message attempting to install something ??? after the first site is clicked.  Research say