Preference or Page Item in Page Template

Hi,
I'm trying to place dynamic header and footer text on my pages. I am trying to include a variable reference in the Body section of my page template. I can reference Static Substitution strings, but I cannot get either preferences or page items to display. How do I get data driven values into the page template? Thanks!

Bill,
Sorry for the misdirection. I made the popular error of thinking that I had knowledge which I did not, in fact, possess.
I adjusted your page so that it might work the way you intend. It turns out that it is not possible to reference preferences using &ITEM_NAME. notation, only page/application items and static substitution strings. Setting and getting named preferences must be done with the API as illustrated in the new page process:  htmldb_util.set_preference(p_preference => 'IIR_CLASS',p_value => 'TESTING99');
  :IIR_CLASS := htmldb_util.get_preference(p_preference => 'IIR_CLASS');... although items can be sourced from named preferences and those items themselves can have "User" persistence just like preferences.
Scott

Similar Messages

  • A page item on page 'SCHEDULE' at location 34,488 requires rasterization, but is too large to rasterize. Resize it smaller and try again

    I keep getting this error,
    A page item on page 'SCHEDULE' at location 34,488 requires rasterization, but is too large to rasterize. Resize it smaller and try again

    This basically means that there is an object that has its top left corner at x: 34 y: 488 which is too large to be rasterized, it could be due to any large object that is extreme wide or tall.
    Try to check page content and then resize it to verify the behavior. Please let me know how it goes.
    Thanks,
    Sanjit

  • How to fix the time to refresh page items on Page load

    Hi all,
    When my pages load, some page items hidden are shown and when page load they are hidden again. Is there any way to keep it hidden without this time to refresh?
    Thanks
    Bsalvador

    bsalvador wrote:
    fac586,
    I tryed with:
    #P32_DATA_FINAL, label[for="#P32_DATA_FINAL"] {  
      display: none;  
    And only Page item was hidden. Label is still showing...could you help me?
    Thanks
    bsalvador
    Sorry, the "#" shouldn't appear in the attribute selector. There's probably a theme CSS rule with a higher specificity on the labels, so add an !important directive to the rule:
    #P32_DATA_FINAL, label[for="P32_DATA_FINAL"] {  
      display: none !important;  
    Always state which theme and template(s) you are using in a question about visual formatting or layout. Theme HTML/CSS is not always—historically never—consistent, so we need to know this information in order to determine which selectors to use.

  • Page Item In all !!

    I want to know if there are some way to know if discoverer execute the report with the page item in <all>?
    My regards.

    Hi user604420
    Discoverer will execute the report regardless of what's in the Page items. Page items are not the same as a condition, in that, regardless of what you select for Page Items, all values will come back. Page Items only change what you see, not what's queried. A condition is the only way to limit what is selected in the query.
    Hope that helps
    Nate

  • Listing (for further action) all page items that have a certain script label

    hello from France,
    Well the question is essentially in the subject line: how to find and work on all page items of a document (or a page/spread) that have the same script label (or better: whose script label contain the same word)?
    I tried some variations around something like that, with no results:
    set list_pageitems to every page item of page i whose label is "product"
    Any clues?
    Thanks for your help
    Vincent

    I found the answer (for those who might be interested), but still have a question (for those who know).
    The solution:
    set list_pageitems to page item "product" of page i
    If you want to do it for a whose document (in may case, deleting some page items):
    delete page item "product" of document 1
    Strange syntax but it works :-)
    The remaining question:
    How to find page items whose label contains a certain string: it would be like selecting page items by tags (every word of the script label would be considered as a tag)?
    Thanks

  • Align page items (AS) (CS3)

    Scripting Gurus,
    Is there some simple AS syntax to align selected page items on a page?
    Dictionary seems to imply that, saying:
    align distribute items page item : The page items to align or distribute.
    align option left edges/top edges/right edges/bottom edges/horizontal centers/vertical centers : The type of alignment to apply.
    I attempted this:
    tell page items in selection
    set vertical alignment to top edges
    end tell
    Thanks!
    Joe

    Its kinda of crazy but here ya go, I wish the AppleScript Dictionary listed  examples ...esp. when the syntax is wacky.
    select a bunch of images, or have the object references in a list(I just use selection to make it easier):
    tell application "Adobe InDesign CS3"
        tell active document
            set myimages to selection
            align align distribute items myimages align option left edges
        end tell
    The text in the red is where you put those paramaters listed in the dictionary.
    ~Mike

  • "before header" processes and page items

    I want that a process running in "On Load before header" in page X see an item value the was submitted to it from page Y.
    How can that be done?

    The thing is the page item in page X gets it's value as a URL submission from a page X link, so the page item hasn't been evaluated yet in before header stage.

  • Page processes and page items

    ignore this message
    Edited by: suni1 on Jan 15, 2010 12:45 PM

    The thing is the page item in page X gets it's value as a URL submission from a page X link, so the page item hasn't been evaluated yet in before header stage.

  • Listing (for further action) all page items that have a certain custom label

    Hi again,
    Same question as before (see my previous post today), but now with custom labels.
    Who has already use the custom labels and how?
    I found it easy to write and read custom labels on a item basis (via a loop inside a list) but what if i want to get a list based on a custom label?
    Thanks for any help

    I found the answer (for those who might be interested), but still have a question (for those who know).
    The solution:
    set list_pageitems to page item "product" of page i
    If you want to do it for a whose document (in may case, deleting some page items):
    delete page item "product" of document 1
    Strange syntax but it works :-)
    The remaining question:
    How to find page items whose label contains a certain string: it would be like selecting page items by tags (every word of the script label would be considered as a tag)?
    Thanks

  • Edit template's items in page

    If I create an item in template and then create a page attached to this template, an edit icon near this item in the page doesn't shown.
    Is there a way to edit such template's items in the page?
    It seems to me than not.. but still a little hope ;]
    thanks for any help

    Hi Vili,
    I don't think you can do it - I faced the same problem before.
    You'd need to edit the template directly to change values for the item.
    Regards,
    Sandeep

  • Reference application item from page template

    Hi friends,
    How can refere to application item from page template (i.e. one level tab).
    set or get value from application item.
    thank you

    Alaa,
    If the item name is X put &X. in the template. Don't forget to use upper case and provide the trailing period.
    set or get value from application item.
    That is not a complete sentence, please clarify.
    Scott

  • How to trigger a page break for a template for a given condition...

    Hello Experts,
    In my MAIN window in smartforms, I have defined a template that has 10 line items. Now, what I want
    is that if my line items exceeds 10 line items, it will trigger again the same page. Below is the hierarchy
    of MAIN window:
    -MAIN WINDOW
              -TEMPLATE(HAS 10 ROWS/LINES)
                   -LOOP COMMAND
                        -PROGRAM LINE(This has a counter that is being incremented for every loop)
                        -LINE1(HOLDS 10 TEXT) - only prints if counter = 1
                        -LINE2(HOLDS 10 TEXT) - only prints if counter = 2
                        -LINE3(HOLDS 10 TEXT) - only prints if counter = 3
                        -LINE4(HOLDS 10 TEXT) - only prints if counter = 4
                        -LINE5(HOLDS 10 TEXT) - only prints if counter = 5
                        -LINE6(HOLDS 10 TEXT) - only prints if counter = 6
                        -LINE7(HOLDS 10 TEXT) - only prints if counter = 7
                        -LINE8(HOLDS 10 TEXT) - only prints if counter = 8
                        -LINE9(HOLDS 10 TEXT) - only prints if counter = 9
                        -LINE10(HOLDS 10 TEXT) - only prints if counter = 10
    What I want to achieve is that if current loop exceeds 11, then call again MAIN window to serve
    the remaining line items. I cannot use a TABLE here since there are frames/boxes that needs to be considered.
    I hope you cna help me guys. Thank you and take care!

    Hi Viraylab,
    In the main window
    Declare the variable name in the global definitions..
    After the loop.
    Create the command node
    General attribute : go to new page i.e page 1.
    Conditions : s.no = 6 .
    Create the text node for the line items to be displayed.
    Create the program lines :
    serial = serial + 1.
    if serial = 6.
    serial = 1.
    next_page = next_page + 1.
    endif.               " if serial = 6.
    Regards,
    Sravanthi

  • Error Copying pages based on a template

    I get the following error while copying pages based on a template. The template also contains a top horizontal navigation bar (portlet), a footer (portlet) and one item (portal smart text - Current Page). I'm using Portal 9iAs Rel 2 on win2000.
    Error while copying page. (WWC-44262)
    An unexpected error occurred: User-Defined Exception (WWC-44088)
    This region was not found. (WWC-44089)
    An unexpected error occurred: ORA-01403: no data found (WWC-44082)
    An unexpected error occurred: ORA-01403: no data found (WWC-44082)
    An unexpected error occurred: ORA-01403: no data found (WWC-44082)
    If I delete all the portlets and items from the template I'm able to make copies of the page.
    Has anyone else faced a similar problem? Please let me know if anyone has a solution.

    We've seen this problem on pages imported from another site. Please report this problem to Oracle Tech Support.
    Thanks,
    Portal PM

  • Trying to make new text item in Pages 5.2 using Applescript

    I am trying to upgrade(?) from Pages 3 to Pages 5 and have a script that used to make a new document with text boxes. Previous line was:
      make text box with properties {object text:receiptDD, vertical position:6.9, horizontal position:2.7, height:0.5, width:1, extra space:0}
    Have the line changed to:
                                  make new text item with properties {object text:receiptDD, position:{6.9, 2.7}, height:0.5, width:1}
    but fails with error "Pages got an error: Don't know how to create TMAScriptInfoProxy" number -2763
    Not sure where to go from here,  searched various forums but cannot find a solution, any guidance gratefully received.

    Does your Photoshop menu bar have a 3D item? If not make sure you machine meets CC requirements and thatou GPU is enabled in you Photoshop preferences performance section

  • Page item rendering location relative to report?  (APEX 2.2.0)

    Hi all,
    What controls where the page items in a region containing a report will be rendered? I have two regions that (I thought) I set up identically, but one has the items above the report and the other below.
    The only difference between them is that the one with the items above is on a non-zero page, whereas the one with the items below is on page zero.
    (I cannot post my app to a public area as an example.)
    Am I missing something?
    Thanks!
    Don

    Hi all,
    I apologize if I was vague or confusing. It's been a long Friday and it is continuing to be a long Friday = ) Louis-Guillaume, I tried changing one of the regions, and something very odd happened! So here's exactly what I do:
    I create a region in page 0, "My Page Zero Region". It is an SQL report region. I then add "Item One" and "Item Two" to that region. The items are in the same region as the report table. I put it at the "Page Template Body (3)" display point. I then get this:
    My Page Zero Region
    Item One : [             ] (this is an item.)
    Item Two : [             ] (this is an item.)
    |            |  the table |         |
    |            |            |         |
    |            |            |         |
    ---------------------------------The items are displayed above the table. I then switch the display point to "Page Template Body (2)". The region is then rendered differently.
    My Page Zero Region
    |            |  the table |         |
    |            |            |         |
    |            |            |         |
    Item One : [             ] (this is an item.)
    Item Two : [             ] (this is an item.)It seems that APEX treats the entire region differently depending on which display point it is in. Is that the correct functionality, or should I investigate further?

Maybe you are looking for