HTMLDB 1.6 Wizard?

Hi,
I am aware the current HTMLDB version on htmldb.oracle.com is a Release Candidate version. I was just wondering where I can find the wizard under application builder?
Of course I can make my forms, etc, however the wizards are very convenient.
Regards,
PAtrick

Thanks for great support of a fanstastic product.
In 1.5 I was able to run through a wizard that is similar to the 1.6 "create application based on existing table" wizard, but provided the additional functionality of build the application based on multiple tables.
Further, the 1.5 wizard prebuilt a "Home" page for navigation and then created a tab for each table's associated form and report. This was very powerful functionality because it allowed HTML DB users to build in seconds a full app to report on and insert data, as well as do the same with metadata stored in related tables. The first time I ran this wizard in 1.5 on three tables I had to sit still in awe for awhile.
The 1.6 create application wizard seems to be limited to one table. This seems like a big loss of functionality. The pages can still be built manually in 1.6 if one creates the pages, regions, buttons, items, processes, branches, tabs, menus, and navbars one's self, but doing so does not provide the same sense of awe as the 1.5 wizard did, epecially when dealing with general input/report needs that do not require customizations.
I have read the new docs, both pdfs and online help. I can't find the missing wizard functionality in 1.6. Am I really just lost in the navigation changes?
Thank you,
Michael Roessler

Similar Messages

  • 2nd Level Detail

    I created a fully functional Master-Detail report by using the HTMLDB Master-Detail Wizard and converting the Detail Form to a Report Format.
    Is it possible to drill down to a second level of detail from the first level of detail?
    With no success, I tried manually creating a second level detail report with link from first level detail, but GUI prevents creation of certain objects, like Prev and Next Buttons with No Region (GUI demands selection of region) for pagination.
    Any guidance or links to known examples would be appreciated.
    Thanks

    There is no wizard to help you out here, so with some experimentation, it is possible to go to a second level of detail. I got best results when the PK of first level detail table was the same name as the FK in the second level of detail table.
    Created the report manually, and it is lacking PREV/NEXT controls in the row counter report footer. Still have not yet figured out how to invoke the NEXT/PREV with row counter in the report. Curently the NEXT/PREV are buttons in the region but not with the report counter object.

  • Duplicate  a record

    Hi
    IF HTMLDB has a wizard that can create a button to duplicate a record
    Example;
    the manager need to give a same task to five different employee, and he rather to duplicate the record five times and just change the username for the five employee
    do I need to create a procedure to do this
    any ideas??
    Thanks
    MM

    Yeah, I wish there was an "official" method.
    My method below does not involve creating a row and displaying it afterwards.
    it seems to work.
    Create a form on table with report.
    The following changes occur in the form page, 5.
    create a hidden item, p5_is_duplicating
    default value N
    create a button, duplicate_record
    redirect to the same form page, 5.
    we want the duplicate_record button to be visible
    when p5_id is not null,
    and p5_is_duplicating has 'N'
    tried a few conditions, but the following seems to work.
    if :P5_ID is null then
    return false;
    end if;
    if :P5_IS_DUPLICATING = 'Y' then
    return false;
    end if;
    return true;
    put the same condition on the DELETE and APPLY CHANGES button.
    these button of course are part of the create form wizard.
    These three buttons should be visible or invisible at the same time.
    still the duplicate_record button:
    URL redirect
    target: 5
    set these items: P5_ID,P5_HOSTNAME,P5_SERIAL_NUMBER,P5_IS_DUPLICATING
    with these values: &P5_ID.,,,Y
    in other words, set P5_ID to the old value, and
    p5_is_duplicating to Y.
    in my app, I need the new record to have different values
    in the hostname and serial_number columns,
    so I set these to blank values, and the user is expected to
    fill in these.
    (The user can of course change other columns before saving data.)
    change the condition on the CREATE button
    :P5_ID is null or :P5_IS_DUPLICATING = 'Y'
    originally, the CREATE button appears when the P5_ID is null.
    Now I also want this button to appear when
    p5_is_duplicating has 'Y'.
    When the user presses the CREATE button,
    we are inserting a brand new row with values
    the user typed from scratch,
    or with values carried from the original row,
    including the P5_ID, with possible changes.
    my table does not allow duplicate values in the ID column,
    so I add an INSERT trigger to set ID to a new value
    regardless.
    create or replace trigger computers_trg
    before insert on computers_t for each row
    begin
    select myseq.nextval into :new.id from dual;
    end;
    when the user goes off page 5, I need p5_is_duplicating
    to be cleared. One way is to add "5" to the "Clear cache" field
    in the unconditional branch and the CANCEL button.
    again, the branch and CANCEL are part of the create form wizard.

  • HTMLDB v1.6 bug spreadsheet import wizard

    Hi HTMLDB Team,
    A major HTMLDB 1.6.1 bug found as follows:
    The problem found when importing data thru Spreadsheet wizard of Data workshop.
    Say, i have a table where with other fields the two more field added as created_by and created_date.A trigger is created on that table to keep track of user and time
    so before insert of any row that two field created_by and created_date will be updated.But if i have created_by field with 10 varchar but the actual user name came as 20 varchar from a spredsheet csv input. unfortunately while updating other column from csv the trigger first got disabled and then update other column but actually in ideal condition it must throw error mentioning that the field length must be large than the present one.So finally the other fields updated while trigger is not fired.
    So HTMLDB team must notice the runtime error throw by the spreadsheet data import wizard.
    Any further issue how to get rid of that kind of runtime?
    Hope in future release that bug can be fixed.....
    Cheers,
    Eman

    Just tried on htmldb.oracle.com (1.6.1) and it doesn't work.
    I created application 45782 in GLENMORRIS workspace, with a very simple calendar which allows clicking on an item and it links to the same page and displays the selected value.
    Exported this app and imported under new application id 22563. The new application no longer has the link in the calendar.
    Searched the bug database in metalink and couldn't find anything.
    Any ideas on this?
    It looks like I may have to edit our production application as the link has gone missing between the export from test and the import into prod.

  • HTMLDB 1.6 Master Detail Wizard???

    Hi People,
    Is there any wizard to create a master/detail application in HTMLDB 1.6???
    Thanks

    "403937"
    You can create master detail forms in 1.5, but you'll have to do it manually. Here is viewlets that shows one approach:
    http://www.oracle.com/technology/products/database/htmldb/viewlets/master_detail_short_viewlet_swf.html
    Sergio

  • Add a new column to an "Insert Form" created by HTMLDB Wizard throws Error

    Hi,
    My table design has changed and I had to add 2 new columns.
    The corresponding Insert Form/Report/Update Forms created by the HTMLDB should now reflect the new columns that have been added.
    In report and update forms I did not have a problem but in the Insert form, under Edit Page Process I tried to change the sql and I get the below error
    "Encountered the symbol "end-of-file" when expecting one of the following: begin case declare end exception exit for goto if loop mod null pragma raise return select update while with "
    My Edit Page Process SQL is as below-(Last two columns are the NEW columns i.e CDPL and CDPLCA)
    insert into "L2ENTRIES"
    ("AUTONUML2E",
    "ROLLNO",
    "AWARDCODE",
    "ROLLCLASSCODE",
    "SURNAME",
    "FORENAME",
    "SEX",
    "DOB",
    "PPSNO",
    "M1",
    "M2",
    "M3",
    "M4",
    "M5",
    "M6",
    "M7",
    "M8",
    "M9",
    "M10",
    "M11",
    "M12",
    "M13",
    "M14",
    "M15",
    "M16",
    "FEES",
    "CNULLS",
    "CDUPPPS",
    "CROLL",
    "CAWARDS",
    "CMODULES",
    "CHECKCHAR",
    "CHECKNO",
    "VALIDPPS",
    "VALIDPPSUK",
    "PPSNOPAD",
    "CDPL",
    "CDPLCA")
    values (
    :P3_AUTONUML2E,
    :P3_ROLLNO,
    :P3_AWARDCODE,
    :P3_ROLLCLASSCODE,
    :P3_SURNAME,
    :P3_FORENAME,
    :P3_SEX,
    :P3_DOB,
    :P3_PPSNO,
    :P3_M1,
    :P3_M2,
    :P3_M3,
    :P3_M4,
    :P3_M5,
    :P3_M6,
    :P3_M7,
    :P3_M8,
    :P3_M9,
    :P3_M10,
    :P3_M11,
    :P3_M12,
    :P3_M13,
    :P3_M14,
    :P3_M15,
    :P3_M16,
    :P3_FEES,
    :P3_CNULLS,
    :P3_CDUPPPS,
    :P3_CROLL,
    :P3_CAWARDS,
    :P3_CMODULES,
    :P3_CHECKCHAR,
    :P3_CHECKNO,
    :P3_VALIDPPS,
    :P3_VALIDPPSUK,
    :P3_PPSNOPAD,
    :P3_CDPL,
    :P3_CDPLCA)
    It will be great if some one can assist me in this matter.
    Thanks.

    Resolved this by a simple ";" at the end of the insert sql.
    I did not think a ";" will be necessary because when you edit the page process a ";" is not visible.

  • Questions on Master-Detail HTMLDB HOW-TO

    Hi all
    I have created a 3 page application based on the master detail how-to given at http://www.oracle.com/technology/products/database/htmldb/howtos/index.html
    Instead of DEPT and EMP tables I have PERSON and PERSON_ADDR tables. The PK of PERSON is the person_id and the PK of PERSON_ADDR is the person_id and addr_start_dt. Person_id column in PERSON_ADDR is obviously the FK to the master table PERSON(person_id).
    At first I had problems trying to create the pages themselves because the wizard always hides the person_id column on all the forms(and I don't want that,even though it is a sequence number I still want people to see it) , it being the PK, then somehow I managed it to display the person_id by replacing the EDIT link with the person_id itself. Now if a person already has an address and I click on EDIT then it copies the person_id values and others to the next page and all looks good but when I try to create a new address it does it ?? (It should take across the person_id as well)
    My PERSON report is on page 1, when I click edit against a person it takes me to page 2 where I can see+change all the person details plus I can see the person_addr details. When I click edit against a person address it takes me to page 3 and I can edit all the address details nicely copied to the new page but when I click CREATE on the page 2, then all the fields appear as NULL on page 3( all the fields but the person_id should be null here). How can I fix this ?
    Also, for my person address I would like to validate the address dates , there should be no overlapping start and end dates for a person's address. How to do this ? I think I will need to create a function to which I pass the person id and the new start and end dates and this function returns error message,if any, or null. I had a play around with validation and I think I need to use "function returning error text", what should I put in the "validate expression 1" box then...just something like
    begin
    my_function(param_1,param_2)
    end;
    If yes, then what variables would store the new start date and new end date of an address.
    Lastly, for every table do I have to user a sequence number or a trigger to define a primary key, what if the primary key is just a character code and I want the users to add it ?
    Thanks a lot in advance !!

    thanks Marc.
    Yes you are right, I used the 1.5 viewlet. I will try the master-detail wizard now.
    With the primary key problems, for things to work nicely in HTMLDB, do you suggest each and every tables should have a sequence number generated primary key ? We have some tables for various statuses like ACTIVE,CLOSED where these codes themselves are the primary keys, so you suggest making these codes unique keys but still have a sequence number PK ? Also when I want the users to enter the primary key themselves I will let them enter new ones but not update existing ones, so data entegrity is maintained.
    I was able to work out how to create validations using "functions returning error text" but my problem is I need to be able to compare what the user has just updated/entered with the data that already exists in the table. I have a table called person_Address having columns like person_id, start_dt,end_dt and various other fields. The primary key is person_id and start_dt and I need to put a validation which avoids any overlapping addresses. Overlap as in there can be only 1 active address for a given start and end date range. Does HTMLDB has something like :new.start_dt the way we can write database triggers ? Please suggest a way to do this.
    Lastly, how does HTMLDB handles error messages raised by table triggers. Can they be shown along with the item on the page as we can with the other HTMLDB validations ? I have many tables with all sorts of triggers and if any validation fails I generally do...raise_application_error(-20001,get_my_message(234));
    get_my_message function returns the message text for message number 234 . Will this message be displayed somewhere or not ? Do I have to duplicate my validations , once in the triggers and then in HTMLDB as well ?

  • HTTP 404 File not Found running a page created with the wizard

    Hi all,
    I created a page "tabular form" with the wizard to delete and update records in a table.
    All pages of the application are ok. Only this page, when refresh after click on the "delete" or "submit" button send the message "HTTP 404 - File not found".
    OS - Windows XP
    DB - 10.1.0.4
    HTMLDB 2.0
    any idea?
    thanks in advance.

    Hi Scott,
    this is the error.log
    [Fri Oct 06 11:39:41 2006] [error] [client 10.20.101.243] [ecid: 1160127581:10.20.101.243:3860:2904:21,0] mod_plsql: /pls/htmldb/wwv_flow.accept HTTP-404
    wwv_flow.accept: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: F51,F52,F53,F54,F55,F56,F57,F58,F59
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
    This is my first application with htmldb and i don't understand where is the error because i don't added parameter after the wizard creation. I just created the page and run. If this page start the first time when is called from another page, why after refresh fail?
    thanks, Fabio

  • How to keep transaction control in a wizard of more than one page

    How do I control a transaction across multiple pages with multiple row DML?
    I have a complicated business process. I want to build a wizard in my application. For example, to apply for a loan from a bank. A sequence of pages to take the user through a series of steps in the process, click Next and Previous to navigate the pages, click Cancel to undo, click Ok on the final page to commit work.
    I know there is a wizard widget in HTMLDB to generate pages 1 .. n in a wizard. But ...
    My question is this? How do I control the transaction. How do I stop HTMLDB commiting the steps as I go along. Somehow I want HTMLDB to remember all the information. I want to save everyting or nothing at the end of the process.
    I know this works if each page is a form with items. You can build a summary page. But what if a step requires multiple rows.
    For example
    Step 1 : A report to select Department to a form to Create/Update department
    Step 2 : A report to Form to Create/Update/Delete all Employees for that department.
    Step 3 : A report to Form to Create/Update/Delete some other thing for that department.
    What if
    I update department Sales, press Next, delete employee Rod, create employee Jane and Freddy, press Next. I have a change of heart to decide not to hire Jane and Freddy but keep Rod on to give him a second chance so I press Cancel on Step 3. HTMLDB has already saved the changes to the employees. How do I rollback to the original state of the world.
    1 ) f_g memory structures? No. I know I can get at a data structure if I use a multiple row update tabular form. Using the htmldb_application.f_g0n index by tables in the database. But I do not think it is possible on page x to get at the arrays for both the current page and the previous page? I dont want to use a tabular form in any case.
    2 ) Database Memory Structures ( in package x create type t is table of t%rowtype; ). No.
    3 ) Global temporary table ( create global temporary table t .. on commit delete rows )? No.
    2 + 3 is not an option because HTMLDB seems to me to use a connection pool. The session in the browser is constant. The session to the database USERENV('SESSIONID') may change every time you click something or refresh the page. In the web model every time you request an action you connect to the database with a new session.
    3) My solution. Have a copy of all the relevant tables. Do dml on the copy using the htmldb session as a unique identifier. Then to move the data from the copy tables to the real tables at the end of the process. Hope I catch all the cancel events to delete data from the copy tables. Just in case run a batch job run in the night to clean out the copy tables assuming no one is using the process at the time.
    My solution is ugly ! There must be a better way ?

    Ahhh, sorry for the confusion. What you need are "Collections". If you click the "Review Demonstration Applications" link then install the "Collections Showcase", this should give you a good working sample.
    Collections are comprised of an HTMLDB_COLLECTIONS package and an associated table. Use the package for creating a collection and adding members (rows) and use the table to query what's in your collection.
    Essentially, here's what you need to do. Let's assume your multi-row form is on page one and you have a confirmation page on page 2:
    - Create a process that fires on submit of page one that uses create_or_truncate to create your collection.
    - In the same process, loop over your collection items and add them (as members) to the collection.
    - Make sure your multi-row form queries from the collections view. This way if you go to page 2, then back to page 1, you will see your rows. When you go to page 2 again, you can just over-write the existing collection. There's another option, but I'll list that later.
    - Create a process on page 2 to loop over the collection view and insert the rows into a table. Make this conditional based on the button you press, such as "Save".
    - Extra credit: Either the collections package or the htmlb_utilities package as an md5 function. You can call this when querying the data out of the collections table, then call it again as you are looping over the data on submit. Basically, you are checksumming the row on the way out, then again when the page is submitted. If the 2 are equal, the data is unchanged. If they are not equal, the data has changed. Based on your needs, you can use this technique to insert / update records. I have an app that uses this technique because I have a before update trigger on the table that I only want to fire if the user actually updates a particular row.
    Hope this helps,
    Tyler

  • Master Detail Wizard: Cannot Redirect Detail Form to Detail Form 2

    Dear all,
    I created a Master Detail Report Forms using wizard where Master Report has a link to its Detail1 form, which has a link to its Detail2. However, the page redirection didn't work from Detail1 to Detail2 whereas Master to Detail1 worked.
    I checked the region button in Detail 1 that did the redirection, I didn't find anything wrong (I think).
    Suppose Detail1 is page 210 and Detail2 is page 220, The following is my configuration:
    - Under "Action When Button Clicked" tab:
    1. Action is set to "Redirect to Page in this Application"
    2. Page is set to 220
    3. Request is left blank
    4. Clear Cache is set to 220
    5. Set These Items is set to
    P220_TICKET_ID6. With These Values is set to
    &P210_TICKET_ID.7 Database action is set to
    - No Database Action -Is there any other place that I should check that might effect the redirection? Please advice.
    I'm using Apex 4.0.2
    Best regards,
    Val

    The answer to this problem appears to be that there is a bug in HTMLDB 2.0 (at least thats what I'm thinking) in that it is not handling dates correctly when passing them to the detail form. Once I modified the date column in the detail form, and formatted it with TO_DATE, it all worked fine. I would think the wizzard would do this. Oh well...
    Robert

  • WRAP in HTMLDB

    We can hide htmldb metadata by chose "Run Application Only" at Crete Application From Application Export File Wizard.
    But another guys can uncover this effort by export this application and create back from them.
    How to hide this metadata like in wrap command for stored procedure ?
    I need this functionality desperately.
    Thanks for responding.
    Regards,
    guntur

    Guntur,
    Now you have defined the problem you are trying to address: you do not want clients to be able to alter your HTMLD DB application. So create some scripts that they would have to run when they called in for support. These scripts would compute checksums and counts on various parts of the application "metatdata". When they call for support, ask them to run those scripts that you have already included in your deliverable. Have the client tell you the results from those scripts on each support call. If the results they give you indicate that they have tampered with the coveted "source code", hang up.
    Scott

  • Primary key in new form wizard

    I tried to create a form with report using the New Form Wizards. But it seems always hidden the primary key and if I make changes to the generated form or report, I normally end up with broken pages. I found the forms in the example application are against tables with sequence backed primary key. But all our tables are not use that approach. Does anyone know any work around?
    Another unrelated question about LOV? It seems the wizard require two different column to be used. If I want a list based on one column (like show all the possible value of one column), how can I do that?

    <zq>
    I tried to create a form with report using the New Form Wizards. But it seems always hidden the primary key and if I make changes to the generated form or report, I normally end up with broken pages. I found the forms in the example application are against tables with sequence backed primary key. But all our tables are not use that approach. Does anyone know any work around?
    </zq>
    <raj>
    i just created a "Form with Report" and a "Form on a Table or View" using the wizards on htmldb.oracle.com which i accessed a few different ways, and they seemed to consistently expose the primary key of my table in the form. if you're referring to your primary key column in your report being rendered as an edit icon, you can change that from the report column attributes screen for your primary key column. just use the popup LOV for the "Link Text" field in the "Column Link" region of that screen to select the primary key value from your query rather than the html image tag that's there by default. also, if you'd like to, let us know what tweaks you're making to your generated forms/reports that result in errors. we should be able to help you with those, too.
    i think the last part of your question above asks about using the wizards against tables that don't have sequence-backed primary keys. if so, i just did that on htmldb.oracle.com w/o issues. i might not be understanding your issue correctly, but it seems like you shouldn't have problems doing this. if so, though, please provide much more detail. we did have some issues with this stuff (and with the primary key column not being exposed as you mentioned above) in some earlier versions of html db. is it possible that you're not running of the most current version: 1.4.2.00.21 ?
    </raj>
    <zq>
    Another unrelated question about LOV? It seems the wizard require two different column to be used. If I want a list based on one column (like show all the possible value of one column), how can I do that?
    </zq>
    <raj>
    html db likes you to define your LOV queries using both a value to be displayed and a value to be returned to be submitted. if you'd like these values to be the same, simply select the same value twice from your table (being sure to alias the columns, which is always a good habit). so if you want to show and return all values of ename from emp, you could define your LOV query to be something like...
    select ename my_display_val, ename my_return_val from emp order by 1
    ...and that'd do it.
    </raj>
    hope this helps,
    raj

  • Using the Import Test Data Wizard

    Using Oracle HTMLDB 1.6.0.00.87
    Whenever we try to use the import test data wizard, even using a simple text file such as: "Forname","Surname"
    Joe,Bloggs
    the file does not import correctly. We are trying to import to a new table and uploading a txt file with the above content. What we get in the set table properties is something like: Column Names : rom_wwv_flow_file_objects
    Data Type:VARCHAR2
    Format:
    Column Length: 30
    Upload: Yes
    Row 1: Where n
    Any ideas? We tried the same test at the UK Oracle user group conference with success. Is there a set up problem on our server?
    Cheers
    Ty

    Problem solved.
    Ensure the correct character is set when importing.

  • How do i create TABs page dynamically using htmldb

    Hi,
    I want to create tab page using htmldb app. Using wizard it does not allow me to create tab through sql query. Is there any other option to do this?
    Please Help.
    Regards
    Vishal

    You might try to create a bunch of Tabs (static) and set shown condition to a variable controlled dynamically. Sort of semi-dynamical Tab, which I actually use but don't know it fit your need or not.
    DC

  • XSS in htmldb Reports

    I put together a simple report and a form using the wizard.
    http://htmldb.oracle.com/pls/otn/f?p=42110:3:1507372630223102303::NO:::
    Then I got this really evil idea and entered <script>alert('aa')</script> in the text field and saved. When I hit create, it took me back to the report - I saw the alert box. Not good.
    I have added more regions to look at various report display modes. Looks like the only safe mode in a report is "Display as text - does not save state". Why isn't it the default? The default is standard report column.
    I wonder how one can use the other report field formats without risk of XSS when data displayed is data captured in a form in the application.

    Sriram - Please read the section on XSS in the Users Guide. The display type for report columns is something developers should carefully choose based on the vulnerability of the data. I agree that we should make "Display as text (escape special characters, does not save state)" the default and perhaps you'll see that in a future release. It is not the only safe type for reports, however, and not appropriate if the data contains tags that you want the browser to interpret or when the data has already been escaped, e.g., on input. The remaining nine display types are safe.
    Scott

Maybe you are looking for