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.

Similar Messages

  • Bug report:on application import: page template substitution strings double

    apex version: 4.2.0.00.27
    We encounter an issue when we import an application export. In all the page templates we see that the standard substitution strings in the HEADER and FOOTER area have been added for a second time.
    EXPORTED CODE:
    wwv_flow_api.create_template (
    p_id => 32176400365879390 + wwv_flow_api.g_id_offset
    ,p_flow_id => wwv_flow.g_flow_id
    ,p_theme_id => 20
    ,p_name => '_vo_One Level Tabs_Simple'
    ,p_is_popup => false
    ,p_header_template => '<html lang="&BROWSER_LANGUAGE." xmlns:htmldb="http://htmldb.oracle.com">'||unistr('\000a')||
    '<head>'||unistr('\000a')||
    '<title>#TITLE#</title>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_common2.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker-ext.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_show_hide_region.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_desktop_all.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_legacy.js"></script>'||unistr('\000a')||
    '<link rel="stylesheet" href="#IMAGE_PREFIX#app/pbh/css/pbh.css" type="text/css" />'||unistr('\000a')||
    '<!--[if IE]><link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_20/ie.css" type="text/css" /><![endif]-->'||unistr('\000a')||
    '#APEX_CSS#'||unistr('\000a')||
    '#TEMPLATE_CSS#'||unistr('\000a')||
    '#THEME_CSS#'||unistr('\000a')||
    '#PAGE_CSS#'||unistr('\000a')||
    '#TEMPLATE_JAVASCRIPT#'||unistr('\000a')||
    '#APPLICATION_JAVASCRIPT#'||unistr('\000a')||
    '#PAGE_JAVASCRIPT#'||unistr('\000a')||
    '#HEAD#'||unistr('\000a')||
    '</head>'||unistr('\000a')||
    '<body #ONLOAD#>#FORM_OPEN#'
    ,p_box =>
    '<div id="t20Tabs">#TAB_CELLS##NAVIGATION_BAR#</div>'||unistr('\000a')||
    '<table border="0" cellpadding="0" cellspacing="0" summary="" id="t20PageBody" width="100%">'||unistr('\000a')||
    '<td width="100%" valign="top" id="t20ContentBody">'||unistr('\000a')||
    '<div id="t20BreadCrumbsLeft">#REGION_POSITION_01#</div>'||unistr('\000a')||
    '<div id="t20Messages">#GLOBAL_NOTIFICATION##SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##REGION_POSITION_02#</div>'||unistr('\000a')||
    '<div id="t20ContentMiddle">#BOX_BODY##R'||
    'EGION_POSITION_03##REGION_POSITION_04##REGION_POSITION_05##REGION_POSITION_06#</div>'||unistr('\000a')||
    '</td>'||unistr('\000a')||
    '</tr>'||unistr('\000a')||
    '</table>'
    ,p_footer_template =>
    '<div class="smallfont">PBH Versie: #APP_VERSION#</div>'||unistr('\000a')||
    '#FORM_CLOSE# '||unistr('\000a')||
    '#DEVELOPER_TOOLBAR#'||unistr('\000a')||
    '#GENERATED_CSS#'||unistr('\000a')||
    '#GENERATED_JAVASCRIPT#'||unistr('\000a')||
    '</body>'||unistr('\000a')||
    '</html>'
    ,p_success_message => '<table summary="" border="0" cellpadding="0" cellspacing="0" id="t20Notification">'||unistr('\000a')||
    '<tr><td class="L"></td><td width="100%">#SUCCESS_MESSAGE#</td><td class="R"></td></tr>'||unistr('\000a')||
    '</table>'
    ,p_current_tab => '#TAB_LABEL#'
    ,p_non_current_tab => '#TAB_LABEL#'
    ,p_notification_message => '<table summary="" border="0" cellpadding="0" cellspacing="0" id="t20Notification">'||unistr('\000a')||
    '<tr><td class="L"></td><td width="100%">#MESSAGE#</td><td class="R"></td></tr>'||unistr('\000a')||
    '</table>'
    ,p_navigation_bar => '#BAR_BODY#'
    ,p_navbar_entry => '#TEXT#'
    ,p_region_table_cattributes => ' summary="" cellpadding="0" border="0" cellspacing="5" align="left"'
    ,p_breadcrumb_def_reg_pos => 'REGION_POSITION_01'
    ,p_theme_class_id => 1
    ,p_grid_type => 'TABLE'
    ,p_grid_always_use_max_columns => false
    ,p_grid_has_column_span => true
    ,p_grid_emit_empty_leading_cols => true
    ,p_grid_emit_empty_trail_cols => false
    ,p_has_edit_links => true
    ,p_translate_this_template => 'N'
    ,p_template_comment => ''
    RESULT IN APEX for the HEADER
    <html lang="&BROWSER_LANGUAGE." xmlns:htmldb="http://htmldb.oracle.com">
    <head>
    <title>#TITLE#</title>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_common2.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker-ext.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_show_hide_region.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_desktop_all.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_legacy.js"></script>
    <link rel="stylesheet" href="#IMAGE_PREFIX#app/pbh/css/pbh.css" type="text/css" />
    <!--[if IE]><link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_20/ie.css" type="text/css" /><![endif]-->
    #APEX_CSS#
    #TEMPLATE_CSS#
    #THEME_CSS#
    #PAGE_CSS#
    #TEMPLATE_JAVASCRIPT#
    #APPLICATION_JAVASCRIPT#
    #PAGE_JAVASCRIPT#
    *#APEXCSS#*_
    *#TEMPLATECSS#*_
    *#THEMECSS#*_
    *#PAGECSS#*_
    *#APEXJAVASCRIPT#*_
    *#TEMPLATEJAVASCRIPT#*_
    *#APPLICATIONJAVASCRIPT#*_
    #HEAD#
    </head>
    <body #ONLOAD#>#FORM_OPEN#
    The added substitution strings are bold + underlined.
    Is there a parameter (application, export, template, instance level) that we can set to prevent this ?
    Edited by: Karel C on 12-feb-2013 5:32
    Edited by: Karel C on 12-feb-2013 5:32

    Hi Patrick,
    The version info is: wwv_flow_api.set_version(p_version_yyyy_mm_dd=>'2009.01.12');
    This should be wwv_flow_api.set_version(p_version_yyyy_mm_dd=>'2012.01.01');
    ... but this error is due to a manual modification of the export file.
    We parameterise some values, so that the we can use the old-school DEFINE variables in our deploy process via SQL/plus.
    One of the developers made a copy-paste error when doing that ...
    So there is no bug !
    Thanks for the tip !!
    Kind regards,
    Karel

  • How to reference template substitution string in PL/SQL condition

    hi -- I need to conditionally display an item based on the value of #TITLE#. I'm currently trying a pl/sql expression function body returning boolean
    DECLARE
    page_type VARCHAR2(1000);
    BEGIN
    page_type := lower(substr(:TITLE,instr(:TITLE,'Query')));
    if (page_type = 'query') then
    return TRUE;
    else
    return FALSE;
    end if;
    END;
    There are no errors, but the condition is not being met when it should be.
    I tried setting some app items to the value of #TITLE# and I'm obviously not referencing it correctly; they're all null:
    :TEST_VALUE := &TITLE.;
    :TEST_VALUE2 := :TITLE;
    :TEST_VALUE3 := V('TITLE');
    Help?
    Thanks,
    Carol

    Hi,
    You can use javascript on page HTML header
    <script>
    function getDocTitle(pItem){
      $x_Value(pItem, document.title);
    </script>And page body
    onload=" getDocTitle('Px_YOUR_ITEM');"Br, Jari

  • 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.

  • Link in my customized Report Template doesn't work – Apex 3.1

    I created a report template based on columns of my report
    My query report is:
    SELECT MEM_NAS ID, MEM_NOM NAME, MEM_DATE_NAIS BIRTH
    FROM ACMT_MEMBRE;
    My customized report template have this Row Template definition:
    <tr onclick="redirect('f?p=&APP_ID.:6:&SESSION.:::6:P6_NAS:#ID#');">
    <td #ALIGNMENT# class="t16data_edit">#NAME#</td>
    <td #ALIGNMENT# class="t16data_edit">#BIRTH#</td>
    </tr>
    This would redirect to the page 6 when user click anywhere on a row but it doesn’t work.
    I have this error message:
    CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');">
    I realized that problem is caused by #ID# because if I hardcode this ID, it works.
    How can my report template get the “ID” from my query report ?
    Apex version: 3.1
    Edited by: mario_romero77 on Jun 8, 2012 10:06 AM

    mario_romero77 wrote:
    I created a report template based on columns of my reportAlways post code wrapped in <tt>\...\</tt> tags to prevent the forum software mangling it.
    My query report is:
    SELECT MEM_NAS ID, MEM_NOM  NAME, MEM_DATE_NAIS  BIRTH
    FROM ACMT_MEMBRE; My customized report template have this Row Template definition:
    &lt;tr onclick="redirect('f?p=&APP_ID.:6:&SESSION.:::6:P6_NAS:#ID#');"&gt;
    <td #ALIGNMENT# class="t16data_edit">#NAME#</td>
    <td #ALIGNMENT# class="t16data_edit">#BIRTH#</td>
    </tr>
    Is the report template definitely of type Named Column (row template) (defined on App Builder page 4000:4654) and not Generic Columns (column template) (defined on page 400:258)?
    Note that the <tt>#ALIGNMENT#</tt> substitution string is not supported in named column templates. Set column alignment explicitly using HTML attributes in the template, or use CSS.
    This would redirect to the page 6 when user click anywhere on a row but it doesn’t work.
    I have this error message:
    CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');"> CHECK$01');">
    {code}Where do you see this? It looks like there's a mismatch between the report columns returned by the query and those referenced in the report template. Or the data contains unsafe HTML characters that aren't being escaped.
    Yes, my report query has a column called ID and it's set as Hidden. This could be the problem. In a report based on a named column template any columns referenced in the template must be +shown+ in the report, even if (as in this case) the column value is not visible to the user: the positioning of the <tt>#ID#</tt> column placeholder in the <tt>onclick</tt> attribute rather than in a table cell is what makes it "hidden". *The Show checkbox for the ID column must be checked.*
    From the gobbledygook being generated it looks like there could be a row selector checkbox column in this report as well? Named column row templates must include substitution placeholders for every shown column. It's also advisable to keep the columns in the same order in the SQL, report column attributes and row template.
    Something like
    {code}
    &lt;tr onclick="redirect('f?p=&APP_ID.:6:&SESSION.:::6:P6_NAS:#ID#');"&gt;
    <td class="t16data_edit">#CHECK$01#</td>
    <td class="t16data_edit">#NAME#</td>
    <td class="t16data_edit">#BIRTH#</td>
    </tr>
    {code}
    I realized that problem is caused by #ID# because if I hardcode this ID, it works.
    How can my report template get the “ID” from my query report ?If the above doesn't help then the easiest way to troubleshoot this would be for you to upload the app to apex.oracle.com and post guest developer credentials for the workspace so we can see the whole thing: template, SQL, and report attributes. Otherwise we're likely to and up with a lot of tedious to and fro here posting bits of code and attribute values.

  • Substitution string used in custom Report column name does not display in PDF version of report

    I am using Apex 4.2.6.00.03, Apex Listener 2 via Glassfish4 and have set up all my applications and reports on this system.  We previously used Oracle 10.2, with Apache with a custom fopping document.
    My issue is that I have a report that has custom column headings using a substitution string to pull in the begin or end date for the report.  When the report is run and displayed, the column headings appropriately display the date.  However, when I try to set up the Print to PDF option, the column headings are not displaying correctly.
    Is it possible to use a substitution string in the column heading?  I am able to use the substitution string in the Page Header and Page Footer and those display correctly.
    In the Report Attributes setup I have set the "Strip HTML" to Yes and I have four columns that are using the &"ITEM NAME". string.  See below for actual display:
    The report column headings in APEX displays correctly (bold is the substitution detail): 
    Fund    Account Description          Balance 07/01/2014     Budget/Goal FY 14-15     YTD Actual 02/28/2015         Ending Balance 02/28/2015
    In the Print Attributes setup, when I get to the Report Columns section, the Heading column displays the headings as set up in the Report Attributes custom and I am not able to edit these names.  See below:
    In the version of the report that is Printed to PDF I get the following for display:
    Fund           Account Description           Balance %26amp;P347_BEGIN_DATE.     Budget/Goal %26amp;P347_FY.     YTD Actual %26amp;P347_END_DATE.     Ending Balance %26amp;P347_END_DATE.
    Any assistance would be greatly appreciated.
    Thanks,
    Pat

    First, the misspelled word is a test object and not data.
    Second, all data display correctly.
    Third, text object is displaying the old misspelled word.
    Fourth, I have eliminated the possibility that problems in of my pdf export routine cause this issue by exporting directly from Crystal Reports Viewer. I print the report to the crystal report viewer. The report looks good. The text object is spelled correctly. Then I click the Crystal Reports viewer's export button in the left upper corner and I export to both EXCEL and PDF. The excel export looks good. The pdf export is misspelled. All the export occurs internally in Crystal reports.
    Fifth, I found outthat all users who have this problem have the ADOBE PDF writer installed. I am just suspicious that ADOBE writer is interferring with Crystal export
    Sixth, I cannot recreate this problem on any of our development and test machines. It only happens on end-user laptops.
    Seventh, I changed the name of the report that had this problem and created a new version and installed on end-user laptop. The behaviour still persists. User saved the report as both RPT and PDF. RPT export looks good. PDF version has the spelling problem. Data on both reports is up-to-date and good. I copied the same RPT export to my PC and exported it to PDF, the pdf looks good. That is why I think something on the end-users laptops is causing the export to use some cached template.
    One more thing I did was to change the report name in VB.NET project, recreated a new package and installed on end-user's laptop. The same exact problem is still there.
    I have worked with Crystal Reports more than 15 years and I have never such a weird behaviour before. I know this sounds very weird. We are all baffled by what is happening.

  • Substitution String in Row Template order dependant

    Hi Folks,
    This questions is related to an earlier Complex Detail Report Layout: Can it be done? about building a complex row template (thanks for your help, Vikas!).<br><br>
    Having built the row template (Named Columns) and tested it in a separate application, I have been preparing to incorporate it into the target application. (Here's a screen shot of the work in progress.) I decided to see if I could use column aliases with the substitution strings and so added an alias to the query for the report.<br><br>
    Strange values appeared (like a "Y" for a Project Name) and initially I thought the aliases wouldn't work, so I backed the change out. However, it was now quite apparent that the substitution strings were not taking their values from the column names, as I expected. I was able to put the values in the correct place by modifying the order of the columns selected in the query.<br><br>
    Am I misunderstanding? Shouldn't the order of the columns in the select statement be irrelevant when named columns are used? <br><br>
    Since the order in the query is NOT the order displayed in the template, and I have nearly 30 fields, (many of which are dates, and I couldn't possible guess which is which if the substitution doesn't work properly), it seems important to understand how to ensure the proper values appear in the report.<br><br>
    Many thanks for your help,<br><br>
    Petie

    I take it back. This is whacked. Please take a look at the picture (http://tinypic.com/view/?pic=nygyu0)
    OK, I had a select statement:
    select ps.project_name, ps.project_manager,  ps.gts_dependant, ps.gxp_relevant from project_status ps, eprs_program p
    where
    ps.program_id = p.id and
    p.program_number = :P6_PROGRAM_NUMBERThis populated the fields #PROJECT_NAME#, #PROJECT_MANAGER#, etc. properly.
    I even switched the order around and put the ps.project_manager ahead of the ps.project_name and template still worked.
    I restored the order and checked again. All is good.
    I changed the query and added an alias like so:
    select ps.project_name as "PROJ_NAME", ps.project_manager,  ps.gts_dependant, ps.gxp_relevant from ...The report showed the substitution string "#PROJECT_NAME#" (as expected, because the column was now aliased.) So this is good.
    I went to the row template definition and changed the substitution string #PROJECT_NAME# to #PROJ_NAME# to match the query -- and the substitution strings broke again!
    The report template now behaves as described earlier; being position dependant. Now I suspect that this is a bug, and not something caused by my mucking around.
    I would greatly appreciate your thoughts on the matter and potential workaround. At this point, I will likely delete the region and try creating a new region. I would hate to loose the whole page, the top part was a lot of effort. <sigh>
    Thanks,
    Petie

  • Variable or Substitution String in Interactive Report Filter

    Background: I have an application that has a number of customized Interactive Reports where the Filter on the reports is set to a custom company name. When I install the application, I do not want to go through the reports and change the filter for the new company's name. The filters I need to change are all set by LOVs.
    Question: Is there a way that I can do one of the following:
    - associate a Filter with a Variable or Substitution String such that I can set that variable or string on login and then the user always sees the correct Filter displayed in the Interactive Report?
    - or is there a code method to update a sql apex table behind the scenes to reset the Filter to the new value. So that I could run that after installation as part of a customization / set-up time?
    System Info: 4.1.0.00.32
    Thanks,
    Stephen
    I used the IR_FILTER function, and while it allowed for a new filter to be set. It did not save the filter after logout or for other users accessing the Primary report. I could not find a SAVE Interactive Report function. So, my question still stands on looking for a method to set and save Filters programatically.
    Edited by: slsmith on Apr 19, 2012 8:07 PM

    Hi,
    I don't have access to an Apex 3 environment to check this, but I think that the Apex 4 Interactive Reports save the filters slightly differently and an attempt to mimic that functionality using IR conditions would fail.
    The only alternative I can think of right now is to have an additional column that returns 0 or 1 - eg:
    SELECT FIELD1,
    FIELD2,
    FIELD3,
    CASE WHEN (FIELD1 IS NULL OR FIELD2 IS NULL OR FIELD3 IS NULL) THEN 1 ELSE 0 END INCLUDE_NULLS
    FROM YOURTABLEand then apply a filter to INCLUDE_NULLS = 1
    Andy

  • Custom List Template - Adding a substitution string

    Hi all,
    I have created a List template by copying an existing list template.
    I want to have a substitution string so that I can assign a different identification to the list itself each time I use the list template.
    <ul id="#SOME_SUBSTITUTION_STRING#">
    <li></li>
    <li></li>
    </ul>The #A01# - #A10# seems to be applied only on list items. I cannot find a way to have such a substitution string that can be applied to the unordered list tag.
    Would anyone know of a way to do that? I'm using Apex 3.1
    Thanks,
    Raihaan

    The reason I want to be able to specify the id of the unordered list is that I have a javascript function using the id to build the rest of the list dynamically.
    But if that's not possible, I will have to hardcode the "id" in the template and have a different template everytime I want to implement a list having the same characteristics.
    Thanks,
    Raihaan

  • How to Create a Page LOV Template and a Region LOV Report Template in APEX

    Hi All,
    Thanks in advance ..
    I am new to APEX , Currently working in APEX 3.2
    Can any one please guide me How to Create a Page LOV Template and a Region LOV Report Template in APEX
    So that I can create dynamic Multi column LOV in APEX
    Cheers
    Sachin

    Sachin,
    I think you are en-quiring about 'Custom pop-up page'. See this link. You will get all required info there.
    Regards,
    Hari

  • Substitution string not working in interactive report

    Hi all,
    I am using a substitution string in the no data found message of the interactive report. But instead of the actual message, &my_message. is displayed when there is no data found. I noticed that this problem is also occuring when a substitution string is used in the column headers of the interactive report. In the non-interactive report it is working as it should. Am I doing something wrong or is it a bug?
    Hope anybody can help me. Also when you have a workaround for my problem.
    Many thanks in advance!
    Jacob
    Message was edited by:
    Jacob_B

    Jacob,
    Thanks for reporting that, it does appear to be a bug. I've logged it and we'll look at including a fix in a future release.
    Thanks,
    Marco

  • Inconsistent substitution string expansion in email templates - SCSM 2012 R2

    Coming to the conclusion that email templates should not be stored in a custom MP ?
    I'm seeing odd begaviour where only some fields are expanded when the email is created. See below example where ID in the subject line has not been expanded but it has been expanded in the body of the email. If I store the custom template in "Service
    Manager Incident Management Configuration Library" then it works as expected.
    In the following notification, Subject has not been expanded yet when ID is used in a subsequent field in the email body it is expanded (Fault No.)
    Also Affected User Firstname has not been expanded.
    Subject: Your call has been closed.  ID: $Context/Property[Type='WorkItem!System.WorkItem']/Id$
    Fault No: IR223
    Fault Description: Testing Open, resolve & close notifications
    Dear $Context/Path[Relationship='WorkItem!System.WorkItemAffectedUser' SeedRole='Source' TypeConstraint='System!System.Domain.User']/Property[Type='System!System.Domain.User']/FirstName$,
    Please be advised that this call has now been marked as closed.
    Ian Moran

    it should be noted that those substitution strings are contingent on the MP that stores the notification template. for example, 'System!System.Domain.User' is only valid if the
    MP Reference "System" points to an MP that contains the element System.WorkItemAffectedUser, and that element is a relationship class definition.
    to break it down:
    $Context/Path[Relationship='WorkItem!System.WorkItemAffectedUser' SeedRole='Source' TypeConstraint='System!System.Domain.User']/Property[Type='System!System.Domain.User']/FirstName$
    $ starts and ends a variable.
    Context is one of the keywords that control the behavior of the variable, but in this case, you can read it as the target of the notification template.
    Path[] means we are going down the projections path \
    Relationship modifies path by specifying which relationship to follow in the brackets with the Relationship element.
    SeedRole modifies path by setting which side of the relationship the starting objects is on, in this case, the "context" is the source of the relationship.
    TypeConstraint filters path based on what's on the other side of the relationship, in this case, it must be a user.
    Property[] means we're reading data from a property of this user, as opposed to pathing again
    Type modifies property by controling which class to get the property set from
    the last entry is the property name to get data from, i.e. the
    FirstName property.
    Consider http://technet.microsoft.com/en-us/library/ff719642.aspx and
    http://msdn.microsoft.com/en-us/library/ee533748.aspx, thou Context is new for service manager and is largely undocumented, I suspect it was added to address related classes, as (also speculation)
    Target may refer only to the target entity without its relationships.

  • Conditional column display in report using column substitution string

    Hi everone,
    I was wondering if it's possible to display a column conditionally, based on a values in another column of the same report.
    Can you use the column substitution strings or does the condition strictly require SQL, PL/SQL
    or page item values?
    kind regards,
    Cleo

    I dont think we can add a condition to display the column in a report based on the other column of the same report,
    Just add a (CASE WHEN <your condition satisfies> THEN column ELSE null END) in your report source for the column you want to display conditionally.
    --Mahesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • 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
    -------------------------------------------------------------------

  • #REGION_STATIC_ID# does not work in report template for PPR

    I was hoping to use the new substitution string #REGION_STATIC_ID# for a PPR report, because when we do Export/Import of the app the Region ID changes and we have to manually change the Pager Header Javascript to get the PPR to work. A real pain.
    So I changed the Region template to use #REGION_STATIC_ID# and set the Static id in the region definition - this worked fine. Next, I modified the Report template for PPR to use #REGION_STATIC_ID#, but at runtime this resolves to a blank! I assumed it would pick up the static ID for the region it was in. Is this a bug or am I just not understanding the way it is supposed to work?
    Regards,
    Steve

    Hello,
    #REGION_STATIC_ID# is available in some places in the report template. But the PPR javascript uses the APEX engine created ID get into the fast track report engine so it's not going to work that way.
    But you can still do what you want to do what you want to do. Use the #REGION_STATIC_ID# in your region say something like this #REGION_STATIC_ID#_body the use the javascript to get that element and then use that element
    along with getElementsByClass(searchClass,node,tag)
    http://apex.oracle.com/pls/otn/f?p=38704:2:::NO::P2_ID1:22
    to grab the report table and then it's ID which you can then feed into your javascript. It will only be 2-3 more lines of javascript.
    Carl

Maybe you are looking for

  • Business Partner Migration

    Hello Group:       I continue with LSMW+IDOC for Business Partner Migration in SAP Banking.       I am using the Idoc Message BUPA_INBOUND_MAIN_SAVE_M.       I get the error:            “Specify at least one number for the business partner”.       Bu

  • ITunes failing to recognize location of m4a files?

    My iTunes currently has an exclamation mark next to all the songs in m4a format in my library, even though these files have not moved at all and it has dealt with those files for years. Is there some way to get iTunes to recognize all those files whe

  • Create batch input, does not include all records

    Have anyone experienced, when doing Create Batch Input from the LSMW menu it does not include all rows. For example I have a .txt file with 3000 records that I specify in "Specify Files" "Read Data"  reads 3000 records. "Convert Data" Converts 3000 r

  • Copy contract pricing from sales contracts in billing

    Hi I Have a requirement to Copy contract pricing agreements from sales contracts during resource related billing creation. At the time of resource related billing is performed, the agreed contract rate should be taken into account when pricing is per

  • SLD (CIM_ERR_ALREADY_EXISTS : INSTANCE ALREADY EXISTS )

    Hi All, While creating SLD at Step 6 Select one or more Software product and then software component that are installed in this system I have selected below items Installed product                    Installed Component SAP Web AS 7.00 ;