Apex substitution strings cross reference chart

Hi everybody,
i finally managed to publish the (full?) list of Apex template substitution strings, in form of cross reference chart.
Errors, omissions and comments are welcome.
See the Apex template substitutions xref chart at:
http://oraclequirks.blogspot.com/2007/07/apex-substitution-strings-cross.html
Hope it helps
Flavio

Hello Scott!
thanks for you comment, i appreciate it.
Flavio
PS: in case you are going to add or change substitution string support in future releases, it'd help a lot to have them listed in a "What's new in this release" section of the accompanying documentation.

Similar Messages

  • CP4 Report settings/SCORM2004 message cross-reference chart?

    Is there a chart or list of what SCORM 2004 message each reporting setting in Captivate4 will send to an LMS? All I know is that cmi.lesson_status is set to Pass/Fail or Complete/Incomplete depending on the Report Status setting.  What about the rest of the report settings. What LMS message do they send, and how is it affected by changes in settings?
    A nice chart would be really useful....
    P.S. I have already checked out Shameer's post on LMS reporting enhancements on the Captivate Blog.
    Thanks.

    Bump......
    Any ideas team? Thanks.

  • #BUTTON_ID# substitution string

    Just curiosity, but what is the purpose/use of the #BUTTON_ID# substitution string?
    Described on button template page as:
    Substitution String Referenced From Description
    #BUTTON_ID#          Yes         Template  Button Numeric IdentifierSearching in Help turns up nothing, and in a quick experiment it wasn't substituted on apex.oracle.com.

    Did you use a template based button?
    #BUTTON_ID# is probably used only by template based
    buttons. Yes
    As you can see in the page source this "id" attibute
    contains a big number and that is the button numeric
    identifier.
    Further experimentation reveals that #BUTTON_ID# is only substituted for buttons in Region positions, not button items.
    I suppose that having a unique ID may allow you to
    write some fancy javascript that adds visual effects
    when you press the button or disables it after the first
    key press.I'd be inclined to specify id or class via #BUTTON_ATTRIBUTES# rather than trying to work out what the "button numeric ID" is.
    For a comprehensive list of substitutions template
    you may look here:
    http://oraclequirks.blogspot.com/2007/07/apex-substitution-strings-cross.html
    Excellent - I've been looking for something like this for a while. Many thanks, Flavio!

  • Using substitution string

    I know you can refer to a substitution string by doing *&string.*
    Can you refer to it by doing *:string* also
    Howard

    Howard
    You can use the :item_name syntax as a bind variable in Sql and pl/sql within an APEX application.
    APEX substitution strings are described here http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#insertedID6
    varad

  • How to reference the Instance name using Substitution string or SQL

    All:
    We have an Application that will be replicated in multiple Apex instances and would like to display the current Oracle Apex Instance name ( Similar to the &APP_USER. on the Welcome portion of the page ) .
    Is there a substitution string for this ?
    We plan on using a Show/Hide region on the splash page titled [About], that when clicked displays an HTML region with the subsitution strings.
    If no substitution strings, can someone help with an SQL that returns the Instance name ?
    Thanks for all the help.
    Aubrey Fernandes

    Aubrey Fernandes wrote:
    I currently have 3 URLs to get to my Development, QA and Production servers & will have many more production servers with different Application Ids.
    Development = http://canqa101:7777/pls/ngcrmd01/apex
    QA = http://canqa101:7777/pls/ngcrmq01/f?p=100:1
    Production = http://cancs105:7777/pls/ngcrmp01/f?p=100:1
    What I need are the portions before the final forward slash ( canqa101:7777/pls/ngcrmd01 ) which I assumed is the Oracle Apex instance.That information is determined by the web server configuration (e.g. the DADs when using OHS) rather than through APEX itself. There are no built-in substitution strings for this. Create an application item and an On New Instance (new session) computation to set the value using the function<tt>owa_util.get_cgi_env</tt> function to get the CGI environment variables <tt> HTTP_HOST</tt> and <tt>SCRIPT_NAME</tt>. You can then reference the value in the region using substitution string syntax.

  • Report template substitution strings?  (APEX 2.2.0)

    Hi all,
    I am trying to customize a report template. I would like to know if there is a way to get the sort link that goes into the column headers. The next page and previous page links have the #LINK# substitution string. #COLUMN_HEADER# doesn't give me enough flexibility.
    Would I have to use a named column template for this? (I don't have much idea what that is. I read about it on Scott Spendolini's blog entry on "Click in a Row".)
    Cheers!

    Hello,
    >> I could using JavaScript rewrite the column header to be what I want after the page renders, but I'd rather it show up the way I want in the first place
    Can you be more specific about what is it that you want? The report engine allows you to use custom headings. Can’t that feature help you achieve what you want?
    >> Is there a list of the substitutions strings that are available to the column header?
    The substitution strings you see on the templates populated by the APEX engine with snippets of code you can’t control. You can define your own substitution strings, in the application definition page (under shared components), set them with the code you need, and use them throughout the application, including in templates. The way to use them is a bit different – instead of the “#STRING# syntax, you need to use the “&STRING.” Syntax.
    Regards,
    Arie.

  • Can substitution strings be used for table name references?

    Hi,
    I was wondering if it's possible to use substituion strings for table names in SQL queries. This would allow for me to edit all references to a table at one location. For instance, if a table name or dblink changed, I could edit the substitution string or application item to ensure all the queries reference the new table.
    For example:
    select * from &table1.
    table1 would be the substitution string for the actual table name
    I know this is possible if I used a pl/sql function returning a query, but I would much rather use a substition string in a SQL query.
    Thanks in advance.
    Brian

    i think not
    because how create the fields of * in this case
    in the other because all is dynamic, i think that you obtain only an error

  • Substitution strings in chart sql query

    Hi Guys,
    I am creating line charts and bar charts based on a query in HTML DB 1.5. I am using substitution strings in the query. Though I can use substitution strings in the line chart, I cannot do it in the bar chart. I am using almost the same sql query in both line and bar charts.
    The sql query in line chart is
    SELECT null, TO_CHAR(t1.extract_date, 'W-MON-YYYY') extractdate,
    MIN_OF_AVERAGES(AVG(&P40_METRICS.),:P40_REGION_LIST,:P40_SUBREGION_LIST,NULL,:P40_METRICS,'ind') orgid
    FROM ind t1,geography t2
    WHERE t1.country_id = t2.country_id(+)
    AND t2.region_name like
    DECODE(:P40_REGION_LIST,'ALL REGIONS','%',:P40_REGION_LIST)
    AND t2.subregion_name like
    NVL(:P40_SUBREGION_LIST,'%')
    GROUP BY TO_CHAR(extract_date, 'W-MON-YYYY')
    order by to_date(extractdate,'DD-MON-YY')
    The sql query in bar chart is
    SELECT null, TO_CHAR(t1.extract_date, 'W-MON-YYYY') extractdate,AVG(&P40_METRICS.) orgid
    FROM ind t1,geography t2
    WHERE t1.country_id = t2.country_id(+)
    AND t2.region_name like
    DECODE(:P40_REGION_LIST,'ALL REGIONS','%',:P40_REGION_LIST)
    AND t2.subregion_name like
    NVL(:P40_SUBREGION_LIST,'%')
    GROUP BY TO_CHAR(extract_date, 'W-MON-YYYY')
    order by to_date(extractdate,'DD-MON-YY')
    The min_of_averages function in the line chart query is some function I am calling. Even if I cut-paste the line chart query in the bar chart I get the error.
    The substitution string which is giving the problem is "&P40_METRICS."
    The error I am getting is
    Query cannot be parsed, please check the syntax of your query. (ORA-00909: invalid number of arguments)
    The only difference I see is that line chart query is inside a series and bar chart is not, does this make a difference??? Or is it because I am using the substitution string in choosing the column??? Please help!!!!
    Thanks,
    Swaroop

    Swaroop,
    You might be using an HTML bar chart and an SVG line chart, I can't tell, but their implementations differ. You won't be able to use a substitution string to replace a column name in the query in the situation you found, you'd have to figure out a way to construct the query string before it gets executed and I'm not sure the chart pages will let you do that.
    Scott

  • Substitution strings not working in URLs for web service references (bug?)

    We have an environment where the url for our BPEL server is read from a variable. I've created an application item and a corresponding application-level computation. I'm using the ampersand-followed-by-dot (&BPEL_SERVER.) syntax as well as the hashmark syntax (#BPEL_SERVER#) and am unable to get this working.
    Is there a way for me to debug web service reference calls other than whether a call was successful? Is this a bug?
    edit:
    Here is the error message I get when I try to use a substitution:
    ORA-20001: The webservice was unreachable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests, or a wallet needs to be configured for HTTPS requests.

    No problem - let me try to lay this out a little differently, perhaps I'm just missing something.
    problem:
    * we have separate development, test, and production servers for our database and bpel servers.
    * The hostnames for these servers are stored in a table of key/value pairs
    * This means that (by policy) the hostnames in URLs calling BPEL web services should be the value corresponding to BPEL_SERVER so that the appropriate bpel server is used to call the web service
    attempted solution:
    1) I created an application item named BPEL_SERVER
    2) I have a before-header computation that sets BPEL_SERVER to 'http://bpeldev' using a static value assignment
    3) I have a web service reference whose URL is either &BPEL_SERVER./orabpel/default/callNotification/1.0 or #BPEL_SERVER#/orabpel/default/callNotification/1.0
    4) The web service reference is called in an after-submit process.
    5) An invalid URL exception is thrown for this process.when submitting on the page containing this process
    observations:
    * for (3) - I can set the URL to http://bpeldev/orabpel/default/callNotification/1.0 and everything occurs successfully
    * for (3) - If I use http://bpeldev/&BPEL_SERVER. then when I execute (4), I see a request for the exact string http://bpeldev/&BPEL_SERVER. in bpeldev's access logs
    * for (3) - If I use http://bpeldev/#BPEL_SERVER# then when I execute (4), I see a request for the exact string http://bpeldev/#BPEL_SERVER# in bpeldev's access logs
    * for (2) I've also used a function call RETURN get_const_value('BPEL_SERVER'); - same results for (5)
    * the item value has ben verified before (5)
    * for (1) and (2) I've tried defining substitution strings in the application definition instead - same results for (5)

  • Can't find the variable used in Apex using Substitution String #

    Hi,
    Someone put in a substitution string for a user defined variable. #variable#. I can't find it. Looked through the shared components. Any advice? Thanks.

    Export your application and use a good text editor to search on that string and you will find it if it is there.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Substitution String in URL

    I would like to use Substitution String in url,
    I defined Substitution String Name => #APPSERVERNAME#
    and its value as => 100.77.33.22
    and URL link as
    http://&APPSERVERNAME.:7777/pls/apex/f?p=108:72:&SESSION.:::::
    but the like is like
    http://:7777/pls/apex/f?p=108:72:&SESSION.:::::
    has anyone an idea?
    regards

    Hello,
    In Shared Components - Definition - Substitution String: HOST - value: 100.77.33.22
    Reference it like &HOST.
    So I guess if you take out the # it should work.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

  • Subtitution of application substitution string only in uppercase?

    Dear Apex users,
    I am working on a specific template for a company. I would like to use a substitution string for the application name, so that the template need not be adapted for each application.
    It works when I create a substitution parameter APP_TITLE and I reference it in the body using &APP_TITLE. The only problem is that I entered a mixed case string and on the page I see an only uppercase string.
    Is there a way to use mixed case substitution strings?
    Greetings,
    Dik

    No, lower case is reserved for HTML expressions and the like.
    Scott

  • Cross-Reference creation

    Hello to all!
    I am new to this amazing world of Extendscript but I have been using Framemaker since version 5.5.
    I am working on a kind of cross-reference manager and it works really nice. I can list all cross-references at book or document level, select the cross-reference to be shown in the current document and so on. I am using non-structured FM.
    The problem I am facing is the creation of cross-reference itself.I know how to create a Cross-Ref Marker for the Xref, but I don´t know how to insert the Xref into the content. I tried with NewAnchoredFormattedObject function with objType, format and textLoc parameters. Also there´s the XRefSrcText property (string containg unique ID:pgf_tag:text).
    The question is: Should I use the same string (the content of XRefSrcText) as text for the Cross-Ref type Marker? Or just the pgf text that contains the Cross-Ref?
    I have found several examples using Framescript but I am unable to replicate the code using ES.
    Thanks for reading me. I will appreciate any help on this.
    Regards

    Hi again Jang:
    I have been trying to create the XREF following your suggestions:
    First I created a XREF using the FM procedure. Then I created a code to get the info from Data Browser in the ESTK.
    Then I created a XREF using my own code: FM recognizes the XREF (as you can see on the right image) but I cannot get any cross-ref on the content.
    Here is the code for the Cross-ref marker target creation:
    var doc = app.ActiveDoc;
    var flow = doc.MainFlowInDoc;
    var pgf = doc.TextSelection.beg.obj
    var tLoc, marker, markerType;
    tLoc = new TextLoc(pgf, 0);
    marker = doc.NewAnchoredObject(Constants.FO_Marker, tLoc);
    markerType = doc.GetNamedObject(Constants.FO_MarkerType, "Cross-Ref");
    marker.MarkerTypeId = markerType;
    marker.MarkerText = "10978: Heading1: PREAMBLE";
    Here is the code I am using to create the XREF:
    var doc = app.ActiveDoc;
    var flow = doc.MainFlowInDoc;
    var pgf = doc.TextSelection.beg.obj;
    var oTLoc1=new TextLoc (pgf, 0);
    var format="Page";
    var newcrossref=doc.NewAnchoredFormattedXRef(format, oTLoc1);
    newcrossref.XRefFmt.Name=format;
    newcrossref.XRefSrcText= "10978: Heading1: PREAMBLE";
    I have tried with tons of modifications but without success.
    I hope you can help me!
    Regards

  • Cross Reference an Object??

    How do I cross reference an object using Indesign CS4?
    I've got a PDF that I've dropped into a frame, which I applied an Object Style.  Now I need to create a cross references in the document, that point to the PDF (a chart).  I've got to do this with several PDF's.
    When I go to create a cross reference, I can only apply it a Paragraph Style or a Text Anchor, I don't get an Object Style to choose from.
    I could put some text in behind the chart, and arrage the chart to the front, but i'd rather create a cross reference to the Object itself.
    What do i do?

    sammy003 wrote:
    How do I cross reference an object using Indesign CS4?
    I've got a PDF that I've dropped into a frame, which I applied an Object Style.  Now I need to create a cross references in the document, that point to the PDF (a chart).  I've got to do this with several PDF's.
    When I go to create a cross reference, I can only apply it a Paragraph Style or a Text Anchor, I don't get an Object Style to choose from.
    I could put some text in behind the chart, and arrage the chart to the front, but i'd rather create a cross reference to the Object itself.
    What do i do?
    Cross-references only point to text - either a text anchor or a paragraph - not to objects.
    If your placed PDF is in an anchored frame, you can point the cross-reference to the paragraph in which the frame is anchored.
    If your placed PDF is not in an anchored frame, you can do what you suggest above, or you have these other options:
    * place the PDF into a text frame
    * create a text frame and group it with the PDF; point the cross-reference to the paragraph in the text frame, or insert a text anchor in the text and point the cross-reference to it.
    * you can paste the grouped PDF and text frame object into a text frame to make it an anchored frame.
    The idea of a cross-reference is usually to point to a caption or heading. You can't point to the text in a placed PDF because it's really a graphic. You'll probably want a caption to identify the chart. The caption is the text you cross-reference to. The caption can be in the paragraph that holds the anchor, in a text frame grouped with the graphic, in a paragraph above or below the graphic, or in an anchored frame that's positioned near the graphic.
    If your layout will not reflow, you probably don't need an anchored frame, but if the layout will reflow, you'll want to use the ability of an anchored to move with the text.
    Read about cross-references and anchored frames in Help. If your caption will be numbered, such as "Figure 3," also read about numbered lists and numbering properties of paragraph styles.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Cross reference markers are deleted for content in text insets

    Cross reference markers are deleted for content text insets. I currently have a chapter that is built from several Import by Reference files. I added an introductory paragraph with cross reference links to heading 2 titles in these text insets. Everything works and saves normally, although the cross reference markers disappear from the chapter when files are checked out a few days later. An extra Heading 2 is also added to the end of the document.
    Steps to reproduce:
    1. Create a chapter composed of several text insets.
    2. Create a list of cross references to headings in these text insets at the beginning of the chapter.
    3. Check in/check out the files from a source control product.
    What went wrong?:
    The cross reference markers are gone, resulting in broken cross references. An empty Heading 2 is also added to the end of the document following the final text inset
    What should have happened?:
    The markers should remain and the heading 2 tag should not be applied to the document.
    Product version:
    Product: FrameMaker
    Version: 7.2
    Platform information:Windows XP
    Hardware: Dell Latitude D620
    OS Version: Windows XP Professional Version 2002, Service Pack 3.
    RAM: 1GB

    Thanks for the information, Van. We did try several techniques including adding the insertion point immediately after the text inset before the normal paragraph tag, but none seemed to consistently work. I will investigate this scenario futher, though, in light of your comments.
    We have managed to determine a workaround for this issue by avoiding a string of text insets. For some reason, using multiple text insets without separating them with normal text causes most of the problems after we add the files to our source control system. The situaton is not ideal, but it does work for the time being anyway.
    Steve

Maybe you are looking for

  • Less or less than equal in the for loop condition

    Hi, What do you prefer, what is more common, which one is more easily readable, less or less than equal in the for loop condition? for (int i = 0; i < arr.lenght; i++){..} //or for (int i = 0; i <= arr.lenght - 1 ; i++){..}I know this is basic progra

  • How do I get working hyperlinks in PDF files?

    Hyperlinking procedures as laid down by Pages 09 work.  Conversion fromPages format to PDF format work - in principle.  But when one clicks on created hyperlink in PDF file, nothing happens.  So, no one outside of the working Pages community can go f

  • O.T. Picture resizer for dummies

    Hi all Anyone know of a simple program I can give to a client that resizes images on the fly? I'm getting images 3 mb from here :( Ideally a program that has an email function within. A little like Piccasa but with the function to have the image size

  • Cluster windows 2008 NODE MAJORITY

    hallo, i have a windows 2008 cluster with three nodes (A-B-C) in NODE MAJORITY (default windows). I have installed oracle 10g rel. 2 Node A is active with DB1 , node B is active with DB2, node C isi passive for node A or B. have installed failsafe an

  • Request: Bios unlock GT70 2OD MS-1763

    System And Bios Infomation Full Name: MSI GT70 2OD-829XNL CPU: i7 4700MQ GPU: GTX 780m Bios Version: E1753IMS.50K Bios Build: 10/24/2013 09:25:26 EC Version: 1763MS1 Ver 5.13 EC Build: 03/07/2014 ME FW Version: 9.0.1.1333 Marketing Name: GT70 2OD Mod