Portal Substitution Tags

I am having some troubles getting the #USER.FULLNAME# tag to work on my template. Doesn't mater what I tried the tag won't display any value. I made sure the user last name and first name were populated from looking at the WWSEC_PERSON$ table (both portal30 and portal30_sso schema). Is this a bug?
I am also interested to find out if there is a way I can create user-defined substitution tags. I sure can use the user-defined substitution tags on many instances.
Thanks

Hi,
This was a bug(replacement of fullname) which has been fixed in the 30984 patch release.
You cannot declare your own tags but you could use the already existing ones provided.See the context help for a list of tags ,portal supports.
Thanks,
Anu

Similar Messages

  • Substitution tags in portal ver.2

    Could anyone tell me if are the substituion tags (like #BANNER.GREETING.LABEL#) which were used in oracle portal version 1 (3.0.9) supported in oracle portal version 2 (9.0.2)?
    Thanx a lot.

    You can use substitution tags in Unstructured UI templates and then use the templates in pages and other components. Go to templates from
    Navigator->Providers->Shared Components->Templates

  • User interface template substitution tags problem

    Portal 9.0.2.0.3 (Upgraded from 9.0.2.2.14A)
    Hi all,
    I am designing an unstructured user interface for use with my portal reports.
    I have located a help document called 'Unstructured user interface template substitution tags' from the standard portal help pages.
    My problem is that only a few of these tags are actually being substituted for their correct values when I run my reports. For example the help document says the #PAGE.CUSTOMIZEPAGE# tag should be substituted with HTML text hyperlink to the customize page dialog. On my report this tag and the majority of others are substituted with a blank line.
    Any ideas?

    Same problem exists with the #TITLE# tag. However, SOMETIMES (I don't know how or why) the tag shows up. If I find out what the secret is, I'll let you know.
    Anyone else have any input?
    Pat Murray

  • PL/SQL for Items / Substitution Tags

    Is there any documentation listing how to retrieve the label / value / style for items (such as portal smart links) and substitution tags (used in page and content templates) using PL/SQL?
    For me, using items is good just to get something up and running, but I find I just don't have enough control over the final look and feel (all those TABLE/TR/TDs just kill me!) to produce a quality result. I'm thinking of something like the instant portal, which looks great, but AFAIK is entirely coded in custom PL/SQL.
    I've seen a few posts relating to "how do I get the XXX field", such as this one: Re: User first name, last name Information in welcome message so I guess there are some other users out there with the same problem.
    If this doco does not exist anywhere, maybe we could start a thread here (or on a wiki somewhere???) and people could add individual cases as they use them, and that way build up a quick reference for anyone to use.
    Cheers,
    Barney

    <No idea what happened to the formatting there - same post again>
    Nope - saw that.
    As I understand it, these are only available within either page templates or content layout templates. For instance, I can't even see a way to produce the simplest of welcome strings:
    Welcome #USER.FULLNAME# (#USER#)
    (and I'd really like it if #USER# returned the user id in the case it is stored in the OID, rather than converting it to upper case!)
    I can try to construct this out of items, but then I end up in a table/tr/td formatting hell.
    In this specific case, I can achieve this by constructing a content layout which displays this HTML but not the actual item content, and using it in a region with a single dummy item (the USER fields are not documented in the content layout section, but do appear to work), but then try to add the logout URL to the mix and I'm stuck again.
    Two solutions spring to mind to make this work:
    1. Improve the HTML Portlet to understand / translate these substitution tags
    2. Document how/where to get the info from. It's all on the database somewhere, and hence accessible via PL/SQL items.
    I don't hold out much hope of seeing (1) in the near future, so was going for (2).
    Cheers,
    Barney

  • HTML content layout substitution tags

    Hi,
    We have a multi-language Portal 10.1.4 and use HTML content layout substitution tags in a HTML Template. The problem is that we would like to use the ITEM.PUBLISHDATE.LABEL and the ITEM.UPDATESDATE.LABEL tags but the text rendered isn't exactly what we would like to get (f.e. in English it's 'Publish Date' and in French it's 'Date de mise à jour').
    I looked in the documentation and found that the text rendered correspond to the display name of the attribut (not 100% sure of this). But, those attributs are in the Shared Objects and we can't modify them.
    1. We would like to modify the display name of those attributs (both in French and in English) or find any other way to make it.
    2. We also want to apply an other format to the date retreived with the ITEM.PUBLISHDATE.VALUE and the ITEM.UPDATEDDATE.VALUE tags.
    Can someone help us with those issues ?
    David

    Yes, we added languages in the Translation tab of the shared object pagegroup properties.

  • Substitution tags

    All,
    The list of "unstructured user interface template substitution tags" in the 3.0.8 online help is not complete, and it contains errors. Examples:
    #PAGE.SUBPAGELINKS# is not documented.
    #BANNER.NAVIGATION# should read #BANNER.NAVIGATOR#
    #BANNER.CUSTPAGE# should read #BANNER.CUSTOMIZEPAGE#
    Is updated documentation available? If not, please provide the information that you have.
    Thanks,
    Erik Hagen

    See http://hvirring.dk/portal/substitutiontags.asp for an updated "Unstructured user interface template substitution tags" help file (/help/wvttmptg.htm)
    /Jesper

  • Unstructured user interface template substitution tags

    Does anyone know where I can find a full list of substitution tags. An example of the tags I am talking about would be #BODY#

    Click on the help link in Portal and search on:
    template substitution tags
    The link should provide you with a table of all supported #tags#.
    Thanks,
    Candace

  • #PAGE.CUSTOMIZEPAGE# substitution tag problem on template based pages

    I've created an Unstructured UI template that includes the #PAGE.CUSTOMIZEPAGE# substitution tag.
    It works fine on a normal page, but it doesn't render the 'Customize' link if the page is based on a template. I know that I am authorized to customize the page, because a Portal Smart Link on the same page allows me to do just that. Does anybody know whether there are any issues with this substitution tag on template based pages? (I've used the #PAGE.EDITPAGE# tag in the same Unstructured UI Template with no problems on either normal, or template based pages.)
    Oracle Portal Version 10.1.2.0.2.
    I started this thread on the Portal - General forum, but now realise it's more relevant here.
    Original thread: Customize Page link not rendered on template-based sub page.
    Thanks
    Matthew

    Just a guess, but it seems that the site uses server side includes (the shtml extension and there is a ssi include in your template). You will probably need a testserver running (like XAMPP) on your local system to preview this in a browser.
    Grtz

  • Substitution tags value

    Hi,
    can I get the substitution tags value used by template
    and assign this to a variable defined in a Unstructured template?
    My problem is to manage a conditioned exit action
    from a reports chain called by several Dynamic Pages
    thanks
    Giovanna

    Hi,
    You can use substitution tags only in unstructured templates. You cannot use them in dynamic pages.
    Thanks,
    Sharmila

  • UI Template Substitution tags in a procedure

    Version: 10.1.4
    Is it possible to use Substitution tags in a procedure and call the procedure with in the UI template?
    So the UI template will be:
    <ORACLE>
    BEGIN
    Schema.procedureName;
    END;
    </ORACLE>
    The procedure will be:
    PROCEDURE procedureName as
    BEGIN
    htp.p('#USER.FULLNAME#');
    END;
    This way all the logic can be built in the procedure (taking advantage of the Substitution tags).
    When I tried the above the Substitution tag is not rendered as it supposed to (display the User Full Name), but just displays it as raw HTML.
    Is it possible/viable to use Substitution tags outside UI Templates?
    Thanks.

    The specific example you are asking about could also be implemented without substitution tags. The following is from a pl/sql item I added in my footer. Hope it's of use to you:
    declare
    l_person_rec wwsec_person%rowtype;
    begin
    htp.print('<div class=PortletText1>');
    l_person_rec := wwsec_api.person_info( wwctx_api.get_user_id() );
    if (l_person_rec.first_name = 'PUBLIC') then
       htp.print(l_person_rec.first_name);
    else
       htp.print(l_person_rec.first_name || ' ' || l_person_rec.last_name);
    end if;
    begin
       htp.print('(' || wwsec_api.group_info(wwsec_api.get_defaultgroup()).name ||
    exception when others then
       null;
    end;
    htp.print('</div>');
    end;

  • Unstructured UI Template Substitution tags - PROBLEM

    Hello
    I'm trying to make a UI Template, but are having problems with the substitution tags.
    I want to make a home-link, but with my own text such as "Take me home"
    I've tried this approach:
    Take me home
    But as a result i get the standard icon for home, with the text "Home" under it
    Can someone give me a hint how to solve this?
    Regards
    Per-Jarle

    Hi,
    Looks like you are doing something wrong. Try something like this.
    <HTML dir=#DIRECTION#>
    <HEAD>
    <TITLE>#TITLE#</TITLE>
    </HEAD>
    <BODY leftMargin="0" rightMargin="0" topMargin="0" marginheight="0" marginwidth="0" class="PageBG">
    oracle
    <TABLE >
    <TR>
    <TD><IMG SRC="#IMAGE_PREFIX#pobtrans.gif" BORDER="0" WIDTH="0" HEIGHT="4"></TD>
    </TR>
    </TABLE>
    #PAGE.SUBPAGELINKS#
    #BODY#
    </BODY>
    </HTML>
    A home link will appear which will take you to oracle.
    Thanks,
    Sharmila

  • Weblogic 9.2 portal + JSF tag

    Is there a list of known issues with JSF tags when running on portal? We are facing problems with the <h:selectOneListBox> tag. When running the portal, the select box does not render correctly. Any help would be appreciated.

    hi,
    in our 8.1.x environment we have some database scripts to propagate content and portal definitions. There are quite a few issues that would suggest using the ANT tasks are a better choice. The merge functionality being one of them.
    Now, ANT tasks are not really that complex. If you setup the ant tasks properly, invest a little bit of time upfront - then things could get pretty simple in the end.
    Checkout Peter Lairds propagation field guide on wlp.bea.com, I have also a couple of postings on my [url http://blog.thej2eestruggle.com]J2EE blog describing the steps needed to get the ant tasks up and running.
    In the portal project I am involved in right now we will use the ant tasks for automated round trip propagation
    dev <- test <- staging <-> production
    - [url http://blog.thej2eestruggle.com]Anders Mathisen

  • Portal JSP Tag Library question

    Dear All,
    I use EBCC to orgnize the relationship of the jsp files with tags as follow
    <%@ taglib uri="portlet.tld" prefix="portlet" %>
    ">xxx</a>
    <a href="<portlet:createWebflowURL event="EP_E0104032.go"
    extraParams="TypeCd=<%= record.elementAt(0) %>"/>">XXX</a>
    Nothing specially, right?
    But I got error messages:
    at
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.jav
    a:575)
    at
    weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:354)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:382)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:189)
    at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:139)
    at
    weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:37
    2)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :242)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:395)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:255)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:116)
    at jsp_servlet._framework.__portlet._jspService(__portlet.java:255)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:395)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:255)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:116)
    at
    com.bea.portal.render.servlets.jsp.taglib.RenderTag.renderPortlets(RenderTag
    .java:172)
    at
    com.bea.portal.render.servlets.jsp.taglib.RenderTag.doStartTag(RenderTag.jav
    a:60)
    at
    jsp_servlet._framework._layouts._twocolumn.__template._jspService(__template
    .java:142)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:395)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:255)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:116)
    at jsp_servlet._framework.__page._jspService(__page.java:201)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:395)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:255)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:116)
    at jsp_servlet._framework.__portal._jspService(__portal.java:733)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
    l.java:215)
    at
    com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.doGet(PortalWe
    bflowServlet.java:142)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2459)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    I can not find out what's wrong.
    I will appreciate any input. Thank you.

    Hi Alan,
    I think the problem is your <%= ... %> expression mixed with a constant inside
    the double-quotes for the extraParams attribute in your <a href> tag:
    extraParams="TypeCd=<%= record.elementAt(0) %>"
    Do this instead:
    <%
    String extraParam="TypeCd=" + record.elementAt(0);
    %>
    <a href="<portlet:createWebflowURL event=EP_E0104032.go"
    extraParams="<%= extraParam %>"/>">
    XXX</a>
    Alan Liu wrote:
    Dear All,
    I use EBCC to orgnize the relationship of the jsp files with tags as follow
    <%@ taglib uri="portlet.tld" prefix="portlet" %>
    <a href="<portlet:createWebflowURL event="EP_E0104020.go"/>">xxx</a>
    <a href="<portlet:createWebflowURL event="EP_E0104032.go"
    extraParams="TypeCd=<%= record.elementAt(0) %>"/>">XXX</a>
    Nothing specially, right?
    But I got error messages:
    at
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.jav
    a:575)
    at
    weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:354)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:382)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:189)
    at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:139)
    at
    weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:37
    2)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :242)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:395)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:255)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:116)
    at jsp_servlet._framework.__portlet._jspService(__portlet.java:255)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:395)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:255)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:116)
    at
    com.bea.portal.render.servlets.jsp.taglib.RenderTag.renderPortlets(RenderTag
    .java:172)
    at
    com.bea.portal.render.servlets.jsp.taglib.RenderTag.doStartTag(RenderTag.jav
    a:60)
    at
    jsp_servlet._framework._layouts._twocolumn.__template._jspService(__template
    .java:142)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:395)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:255)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:116)
    at jsp_servlet._framework.__page._jspService(__page.java:201)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:395)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:255)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:116)
    at jsp_servlet._framework.__portal._jspService(__portal.java:733)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
    l.java:215)
    at
    com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.doGet(PortalWe
    bflowServlet.java:142)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2459)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    I can not find out what's wrong.
    I will appreciate any input. Thank you.--
    Ture Hoefner
    BEA Systems, Inc.
    4001 Discovery Drive
    Suite 340
    Boulder, CO 80303
    www.bea.com
    [att1.html]

  • Using Substitution tag

    Hi,
    I would like to pass the value of Description in the page properties to the anchor tag in the HTML template. But I am not able to pass the value using #description#.. It is only showing #description#.. but it is working fine with Display_name and name fields..Can anyone help?
    Thanks

    Did you try to use #ITEM.DESCRIPTION.VALUE# ?

  • I Need More Design Flexibility!!!

    Hi,
    Am I crazy? Are the declarative tools for putting together portal pages really as limited as they seem? Is there something I'm missing or a miracle cure? What do I need to do to align a series of images together to form a banner, without spaces in between them? This would be simple with HTML or CSS, but in Portal it's a nightmare!
    If I'm not crazy and things the tools are truly limited (and limiting), what are the alternatives? Do I need to create custom portlets to getting the layout and formatting that I want/need???
    Thanks for any and all help!!!
    DTS

    hi davd,
    you have full flexibility in portal. there is a feature called unstructured UI templates that allow you to write your custom HTML template and embedd portal tags that get rendered at runtime. this allows you to do whatever a HTML webdesigner wants to but add dynamic portal content to it. you can base a portal page on such a UI template.
    we are providing extensions to dreamweaver MX that you can use to design portal UI templates in dreamweaver and deploy them on your portal system. for more information on this check out portalcenter.oracle.com - integration solutions or directly http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDP/POINTHOME/ORACLEASPORTAL.ZIP
    for more information on which portal substitution tags are available for use in the UI templates please check out the portal help.
    you can find the unstructured UI templates in portal under navigator - providers - locally build providers - shared components - user interface templates. this will change in a future release to be directly available in the shared components of a page group.
    regards,
    christian

Maybe you are looking for

  • Is there a way to run the PCDCheckTool silently?

    We have found it very useful to periodically execute the PCDCheckTool delivered in Note 1086644 to determine whether or not we have inconsistencies in the database with PCD objects.  Our portal administrators would like to have this check performed o

  • Partially restoring data

    I want to reinstall my macbook pro. with this new install i want to restore some information from my time machine backup, but not all. Is it possible to "go back in time" from the fresh installation and collect some of the the files from the last ins

  • C2 profile slipping through profile mismatch warning

    13.0.4 this file is tagged "c2" -- it doesn't trigger a profile mismatch warning -- why my working RGB is sRGB proof:

  • Two FW800 drives refuse to mount

    First sudden Time Machine difficulty with the drives' Read Only status (which is a new issue). Now hours later the drives won't consistently mount. I've tried zapping PRAM, Permissions Repair (off the internal, and the OS X disc). Any ideas?

  • Score Calculation for Subcriteria :: Vendor Eval.

    Dear All, Can anybody explains me the calculation procedure for "On Time Delivery" Subcriteria in Vendor Evaluation..... cheers