Showing database or form items in a HTML page

Hi,
I have the Home page which has the usual static text. I was looking for the option of showing some data on that page like
1. last data load date which will have to be selected from the database. Do we just create a dynamic action on the HTML page? Going to try this now. But just wondering if there is a proper way to do this?
Just to be a little more specific. I have static text in <Table> tags in a plain HTML page. So within the <TABLE> tags which is in the text source, Can I call bind values or PL/SQL procedures?. Was looking for some ideas on this.
2. Insert the audit field with the SSO username. Any idea which variable stores the username which maybe can be passed to the trigger to update before an insert/update.
Thanks,
Sun
Edited by: sun1977 on May 22, 2012 4:53 AM

sun1977 wrote:
Hi,
I have the Home page which has the usual static text. I was looking for the option of showing some data on that page like
1. last data load date which will have to be selected from the database. Do we just create a dynamic action on the HTML page? Going to try this now. But just wondering if there is a proper way to do this?
Just to be a little more specific. I have static text in <Table> tags in a plain HTML page. So within the <TABLE> tags which is in the text source, Can I call bind values or PL/SQL procedures?. Was looking for some ideas on this.There are several options. One is to create hidden page or application items set using queries in item source, computations or processes. These can be referenced in HTML region source (and other places) using the static text exact substitution notation:
&P1_ITEM.Another is to replace the HTML region with a report region using a custom report template. If there are a number of related values to display this is likely to perform better as only one query is involved.
Unless these values respond dynamically to changes on the page there is no call to use Dynamic Actions.
2. Insert the audit field with the SSO username. Any idea which variable stores the username which maybe can be passed to the trigger to update before an insert/update.Use the built-in <tt>APP_USER</tt> substitution string. For this purpose normally in a database trigger including a fall-back value to cope if the table is modified outside of your APEX app:
:new.modified_by := nvl(v('app_user'), user);

Similar Messages

  • Show image as form item

    Hi All
    I created a form item that I want to display as image. When I click at this image, I want to open a popup window. I can't show the image. I have set to display as image but it doesn't work. The form is based on wizard using automatic fetch and so on. Someone could help me?
    Tks
    Ricardo

    refer following link
    Grassroots Oracle: Modifying your APEX login page
    Pars.

  • Tablular Form Items clear when error page is displayed! Please help.

    Hi All,
    I have a page with various form items (2 of which are date pickers) along with a manual tabular form in it.
    When ever I submit the page and it throws any validation error (pl/sql function returning error), all other form fields retain their value, except the fields in the tabular form.
    The values get cleared only when user has clicked on the date picker icon. When user has not clicked on the date pickers, the tabular form retains its value.
    Can anyone please tell me what is going on here? And how do I resolve the issue?
    Thanks & Regards,
    Sumana

    Hi All,
    More information on the issue.
    The issue occurs only in IE. In FireFox, the tabular form elements retain their value.
    I have build the tabular form as a report using sql query. Sample query is:
    SELECT 1 Route_Order
    , apex_item.text(35
    ,25
    ,100
    ,' onBlur="javascript:getLovVal(''f02_'||lpad(1,4,'0')||''',''f35_'||lpad(1,4,'0')||''',''ROUTEE'');" '
    ,'f35_'||lpad(1,4,'0')
    ,NULL
    || '<img src="#IMAGE_PREFIX#htmldb/icons/small_find.gif"> ' Routee_Name
    , NULL Routee_Name_Hidden
    , NULL Project
    , NULL Task
    , NULL Award
    , NULL Percent
    , NULL Notify_Me
    FROM DUAL
    I then edited column attributes of Project, Task etc to text field/select list. It was originally Standard Report Column.
    Thanks,
    Sumana

  • Cannot get form items with this.resolveNode() in a form rendered as HTML

    I refer to the thread http://forums.adobe.com/thread/906775?tstart=270 with a similary problem with a form which rendered as HTML page.
    I have built a dynamic form with Designer. The form contains a group with three radio buttons. Each radio button is assigned to a subform container. The first radio button is preselected and the assigned subform is visible. A click to a radio button makes the assigned subform visible and hides the others.
    In the PDF preview in works fine.
    But when I render the form as HTML page and click into a radio button, I get a "javascript error: 'this.resolveNode('formName') is null or not an Object...". The cause of this error message is known. The script cannot find the subform container named "formName" because it is a DIV-container named like "formName_init_[0]" in the HTML page.
    My questions are: What should I do to refer the correct container names?
    Is it possible to create such dynamic forms with Designer and render them as HTML form pages?
    Thanks to all for an answer.
    Greets from Flash Doc

    Never mind, found a way...

  • Manual menu shows two active menu items on one page

    Hi--I'm having an issue where a manually-created menu shows two active menu items on the same page (as if two pages were active at the same time).
    You can see the issue on my test site here:
    http://teknationnewsite.businesscatalyst.com/telecommunications-services.html
    On the left hand menu, even though only the Telecommunications Services page is active, the menu shows an active state for the menu item below it also. How can I fix this? The states look like they are created correctly in the states panel.
    Thanks,
    Jennifer

    Okay, never mind. I am an idiot. It was a linking issue. I can't figure out how to delete this thread, however, so just please ignore.

  • Embedding form into html page

    I have embedded my adobe form into my website html page using the correct pixel width but it previews larger and is blowing out my webpage size - any thoughts?

    Hi,
    Please provide the link to your webpage or send it to [email protected]
    What browser are you using to view your webpage? are you viewing your webpage via mobile devices or laptop/desktop?
    Thanks,
    Lucia

  • Create HTML page inside form 6i

    Hi ,
    I would like to know if it's possible to create an HTML page inside form 6i ,, where this html page will include a time using html code, and a refresh button will be in the form whenever I press the refresh button the html page inside the form will be updated ..
    how can i do that ?
    Thanks in advance … :)

    Yes its possible . If you are running forms in client server , use host built in to open the html page. This html page can be created
    dynamically using text io.
    If you are running on web use webutil client host and text io.
    Best Regards
    Rajesh Alex

  • I can't get today's date to show on my html pages with Javascript codes.

    I use javascript 1.2 codes to show up today's date on my HTML pages but it did not execute.
    Here is my code:
    <script language="Javascript">
    <!--
    document.write(displayDate());
    // -->
    </script>
    Please help! If you know how to get it to execute.
    Thank you.

    I don not know what displayDate() means
    But I am display current date and time with the code...
    <script language="Javascript">
    <!--
         document.write((new Date).toLocaleString());
    // -->
    </script>

  • Iframe in bc app html page rendering empty

    I have created a very basic bc app, which works on my partner site (where it was developed), but does not work on the client site I copied it to and authorized it (thanks to Mihai).
    The app is simple a menu item with an html page that includes an iframe. The iframe is supposed to contain an html page from my partner portal.
    In my partner site, the iframe renders correctly.
    In my client site the iframe renders empty.
    Is there some special way to add iframes to an html page in a bc app, that load content from other websites?
    Thanks,
    Adrian
    EASE

    Hi Liam,
    (NOTE: To keep our content private, the URLS in the following are not actual ones but follow same structure as real ones).
    /_System/apps/EASE-app-id/_config/menu.json (on the client site) looks like this:
        "menu-first-EASE-app-id": {
            "weight": 100000,
                "title": "EASE Help",
                        "icon": "/_System/apps/EASE-app-id/admin/icon.png",
                    "attr": {
                        "href": "/Admin/AppLoader.aspx?client_id=EASE-app-id"
    The iframe in /_System/apps/EASE-app-id/index.html (on the client site) looks like this:
    <iframe width="750px" height="1400px" src="http://www.my_partner_site.com/EASE-app-id/html-page-name"></iframe>
    On our partner site, I have an html page (http://www.my_partner_site.com/EASE-app-id/html-page-name) which contains an faq module, containing various helpful stuff for the client.
    The idea is that as we add more clients we will be able to easily install this app  on all their admin menus and have the content of the faq in one place, so that updates to the faq on the partner site are visible on all client sites immediately.
    Perhaps I've gone about this completely the wrong way?
    It was working before BC made the recent changes to the menu.json requirements. Then I had to rebuild using an authorized app, but this is as far as I've got.
    Any help much appreciated.
    Adrian
    EASE

  • Beginners question - making sense of form, item, pane & variable (with relation to where data is stored in the SQL database)

    Hi Everyone,
    I am new to writing reports (SQL code) for SAP, however I am aware that inside SAP Business One it is necessary to enable System Information (from the View menu) in order to see which tables (and related table attributes / column names) are related to various aspects of the various SAP 'modules' (e.g.: A/R Invoice).
    Using an A/R Invoice as an example I can see at the row (or line) level that an item with the description of 'Opening Balance Transfer' is contained in the table INV1, within the attribute (or column) called Dscription.
    However not every 'on screen object' shows a table / attribute. For example in the same A/R Invoice if I hover my mouse over the Balance Due field all I see is Form related information.
    My question is 'How do I make sense of the Form, Item, Pane, Variable information?', with relation to where data is stored within the SQL database?
    Links to online tutorials explaining how this feature of SAP Business One will be much appreciated, along with any personal advice regarding working with this information.
    Any (and all) help will be greatly appreciated.
    Kind Regards,
    David

    Hi David,
    1.Here I am explaining use of each field except pane
    a. Form ---> Used in additional authorization creator
    b. Item, column--->Useful in creating Formatted search queries (FMS)
    c. Variable --> Some of the field values based on another values. ie. indirect values.
    d. INV1---Table name
    2. How to get variable?
    As per your second attachment, to get balance due ,you need doc total field from OINV table. For example,
    SELECT T0.[DocNum], T0.[DocTotal] FROM OINV T0 WHERE T0.[DocNum] = 612004797
    Thanks & Regards,
    Nagarajan

  • Disable the Textfield while editing the HTML form item

    How to disable a texfield while editing the HTML form item ? It should be enabled while creating the new form entry / record.
    Yogesh

    Yogesh,
    If you 'disable' an item and submits (UPDATE) the page, then disabled item value won't get submitted. So the disabled item value will get updated with NULL or you will get any validation failures messages, if you have any.
    Better option would be, make the item read-only during Update. For the text item for which you want disable, edit that item,goto 'Read-only Conditions', here set the condition so that user can't edit it during UPDATE. Here you can use same conditions as of your 'UPDATE' button 'display conditions'
    Regards,
    Hari

  • Insert picture in a blob column and show in oracle forms

    hi ,
    please help me with this
    I am trying to insert a picture into a blob column of a table and show that in oracle forms , but not able to do it .
    I am using version 10g for both database and forms .
    Please tell me how to insert a picture in a blob column that is stored in my 'c:\test' folder
    and also how to show that in forms .

    To populate the Image Item you have to use the Webutil Client_Read_Image_File() built-in.
    here
    http://www.oracle.com/webapps/online-help/forms/10g/state?navSetId=_&navId=3&vtTopicFile=f1_help/builtn_r/readimag.html&vtTopicId=
    To add an Image Item to your block based on the table that contains the BLOB column, then give this Image Item the BLOB column name.
    So that, all you have to do is to execute query on that block.

  • Need to send form item inline of an email

    Hi,
    I need to send an email with a form item that would send REQUEST and submit a note to a database table text column.
    an email with an HTML form w/ submit button..
    Is there a link to a HOW TO ?
    Thank you, Bill

    Hi, Thank you for the link but I already send email in my app....
    I guess the real question is:
    when sending an email from with in the app, how do you build the syntax to have a button with in the email to take the receiver of the email into the app...
    or in the email have a comment textarea and a button
    When the email user clicks the button it sends the textarea to the app and updates it.
    how do you make it so if the request comes from the email you don't need to logon?
    As I typed this I kinda am getting ideas... just to build a form within the email but it is the ? form action line I need to know how HTML_DB needs the syntax to be...
    Clear as mud?
    Thanks Bill

  • Oracle forms 9i returns html page , not GUI

    Hello there,
    I just installed Oracle 10g(9.0.4) DS and coneecting to a database on another PC.I haven't changed any default configuration after installing.
    When i run an Oracle forms 9i , it returns an html page with HTML tags in it , i am expecting the GUI when i run it. Is it something with formsweb.config ?
    Any help is appreciated.
    Thanks.

    Try setting FORMS90_HIDE_OBR_PARAMS to false in the Windows registry. This is needed because of the way the new feature of hiding the userid and password in the URL is implemented prior to 10.1.2. In 10.1.2 there should not be a problem. But in the meantime, the workaround is to set FORMS90_HIDE_OBR_PARAMS to false.
    This parameter does not exist in the registry by default. To add it:
    From the Windows Start menu, choose Run, type regedit, and click OK.
    Expand the registry nodes HKEY_LOCAL_MACHINE > SOFTWARE > ORACLE.
    Make a backup copy of this key by right-clicking it and selecting Export from the context menu.
    Select one of the HOME nodes beneath the ORACLE node (the one for Developer Suite). Ensure that you have opened the correct node by verifying that the key FORMS90_PATH exists in that node.
    From the Registry Editor menu, select Edit > New > String Value. Type in the name FORMS90_HIDE_OBR_PARAMS.
    Double-click FORMS90_HIDE_OBR_PARAMS and in the Value data field enter false, then click OK.
    Close the registry editor.
    Now when you run a form from Forms Builder, it should show parameters in the URL, but it should run fine.

  • Retrieving image from database in form 6i

    hello all
    i'm working on form 6i...
    i have uploded images into the database of customers in my application using READ_IMAGE_FILE.. IT IS FINE...
    But when i am trying retrieves records into the form.... i'm getting all the data except image... Image field is showing empty..
    How can i get image from database to form
    can u plz help me.....
    thanks

    What data type you used for storing image in database. If it is long raw, then you can place an image item within your data block on form and associate it with the column name. This should populate the image by itself.
    Below para is from Forms Help.
    Image items can be populated in the following ways:
    +1. a fetch from a LONG RAW database column+
    An image item in a data block is populated automatically when the end user or the application executes a query in the block.  When a fetched image is modified or replaced, Form Builder marks that record as Changed, and the next commit operation saves the new image to the corresponding LONG RAW column in the database.
    Note:  You cannot write a SELECT statement to select a LONG RAW value INTO an image item.
    +2. executing the READ_IMAGE_FILE built-in to read an image from the file system+
    +(To dynamically write an image from an image item out to a file, use the built-in procedure WRITE_IMAGE_FILE.)+

Maybe you are looking for

  • Iphone 4s both the 3g and wifi appear to be connected yet do not work! Help please?

    I've had my iphone 4s for a while, and although I updated to the latest iOS 6.1.3 (I believe?) I've not had any problems with it. However, two days ago I lost the ability to connect to my wifi at home (strangely I can still connect to the wifi at my

  • Messages getting stuck in Delivering status in AE

    Hi all, Recently we are coming across messages that go into Delivering status. These messages mostly belong to File Sender/Receiver Adapter but not confined to them. Here is the audit log of one such message: 2011-03-21 10:01:55 Success Write to file

  • OBI EE 10 1.3.3.O

    I am re installing OBI EE. And when it was installed first we forget the PWD for "OC4Jadmin". Now it is not allwoing to reset. We tried Upgrading directly its not working also. Is there any work around? Please help

  • No ocijdbc8 in shared library path

    I'm working on HP UX 11. Trying to get Configurator 11i to work. My path variables look OK. Why are my "libcz.so" and "libczjni.so" files named "libcz.sl" and "libczjni.sl"? Is there a post-installation step I missed?

  • AcrobatX Pro.Error 1310 on update.

    AcrobatX Pro.Error 1310 on update. Set selective startup via sys config.Uninstalled & installed. Keeps asking if I have access to file. Please help? Ms. k