Making a page title in workset dynamic

Good Day All;
I am using portal wizard to create a workset with 4 pages. I need one of these pages title to be dynamic specificaly displays "current year".
What I want in the page name filed where to add the text, could I add some code to reflect the dynamic date?
Regards

Good Day All;
I am using portal wizard to create a workset with 4 pages. I need one of these pages title to be dynamic specificaly displays "current year".
What I want in the page name filed where to add the text, could I add some code to reflect the dynamic date?
Regards

Similar Messages

  • Dynamically show/hide pages in a workset for special users at runtime

    Hi all,
    I want to create a workset that contains pages for different countries. The portal users should only be able to see the countries where they do business. I also would like masterdata from R/3 to drive the display of content on the portal.
    - Is there a way how I could dynamically show/hide certain pages of the workset for the specific users?
    - Would this showing/hiding of pages affect the workset for all users or only the instance for the specific user?
    - Would there be a difference when I want to dynamically show/hide iviews in a page instead of showing/hiding pages in a workset?
    Thanks a lot in advance.

    Hi Timo,
    Check out the article located at:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/portal_content/filtering role and workset content.htm
    It talks to exactly what you're trying to do.  I'd imagine you could extend this simplistic example to have the service pull the users country from his/her master record in R/3 and set their filtering expression accordingly.
    Hope this helps,
    Marty

  • Dynamic Page title

    Hi
    I have a requirment like, page title should dynamically changed.
    If clicked from "edit" button on "page2", then page1 should have title 'modify information'
    and if clicked from "add" button on page2 then page1 should have title 'add information'.
    How it can be done?
    Thanks in advance

    Hi,
    This might help
    Customize page title
    Regards,
    Jari

  • Can I dynamically display Page title over a static header image?

    Is there a way to Dynamically Display Page Title Text Over my static site Header Image? here is a link so you can see what I am talking about. http://www.bridgestoprosperity.org/See-Our-Work/afghanistan/afghanistan.htm where Afghanistan would be the text to be replaced automatically on each page.  Please note, currently, I must create individual headers, insert the page title in photoshop, etc. I am hoping to figure out a way for all this to happen dynamically perhaps by calling the text from the page title info.
    Thank you,
    Allan

    Hi, Allan,
    I realize my suggestion is off your point, and you probably have already thought of some of this, hence your question... But, rather than going the dynamic route, Why not create a Header Image without a title on it and use it as a div background image? Replace this
    <img src="/See-Our-Work/afghanistan/Images/header/afghanistan-header.jpg" name="topnavbar_r1_c1" width="779" height="114" border="0" alt="bridges to prosperity: afghanistan">
    with the styled div, for instance:
    <div id="header"><h2>Afghanistan</h2><h3>Bridges to Prosperity: USA</h3><div>
    At this point, you can use a more generic image for the background, one that does not have "Afghanistan" embedded in it, and you may style the #header thus:
    #header {
         width: 779px;
         height: 114px;
         border: 0;
         background-image: url(/See-Our-Work/Images/header/header.jpg;)/* for instance */ 
    and the header Headline styles thus:
    #header h2, #header h3 {
         color: white;
         text-align: right;
         font-family: Arial, Helvetica, sans-serif;
    Then you can place your html (<h2>, <h3> etc.) in the same div, only on the "surface".
    Using the tags <h2> and <h3> will maintain their usefulness to Search Engines; as hiding them in images does not.
    If you still wished to vary the header image, depending on the contents of the page, you can actually control all of this from the CSS file, if you add an id attribute to the <body> of each page.
    For instance, for your example page, if you did this:
    <body id="afghanistan">
    You could then do this in your CSS file:
    #header {
         width: 779px;
         height: 114px;
         border: 0;
    body#afghanistan #header {
         background-image: url(/See-Our-Work/afghanistan/Images/header/afghanistan-header.jpg);
    You could then proceed to have a different background image for each page. (Not your original intention, but now possible).
    <body id="pakistan"> would use a CSS style declaration like:
    body#pakistan #header {
         background-image: url(...pakistan-header.jpg...etc.);
    I am not aware of being able to pass content (other than background images) using CSS, so I would go into each page and put the Headline in html.
    But if you were using multiple background images in the header div (one image for afghanistan, another for pakistan, in my example), you can use the same <body id="afghanistan"> for ALL pages about Afghanistan, and thus have the continuity of the same image for all. Likewise, you could id all pages about Pakistan <body id="pakistan">.
    I hope this gives you some ideas...
    Z

  • Dynamic Page Title from Spry Dataset

    Is it possible to create the title tag content dynamically
    from the dataset? I tried placing the title tag after the creation
    of the dataset and put this in, but it doesn't seem to work:
    <title>Open Orders for
    {dsCustomer::custname}</title>
    Simon

    That isnt really a correct way to set a header
    U should make a little javascript that does;
    document.title="your title here";

  • Set page title dynamically

    Hi,
    I am trying to set page title programmatically.
    I am calling following in prerender method but it is not working
    this.getHead1().setTitle("This is new title");Any idea, what can I do achieve the same?
    Thanks.

    hi
    this can be done by goinig to design view ,, then make sure that no component of the page ( if there exixt ) is not selected
    then go to properties palette ,, and choose the smale button opposit TITLE and make data bidning with any object u want

  • How do you make the title bar display different text than the page title?

    I'm looking for a way for the title bar display of my web page to be different than the text in the actual nav bar created by iWeb. For instance, I'd like the nav bar to just say Home for my main page, but in the title bar in the browser say "blah blah blah."
    I know there has to be a way to do this. iWeb has actually done it on one page already, but I can't figure out how. I think it picked up the title bar text from the first text box in the page. For instance, the page name in the navigation bar is "blahs for today" but the browser title bar when you open that page says "blah blah," which happens to be the first line of text on the page. The page title in iWeb.app, though, is "blahs for today." But if I look at the source code it lists title as "blah blah."
    I'm guessing I might be able to work around by making an invisible text box with the text that I want in the title bar as the very first thing on the page, and hope iWeb makes that the title bar text. I'd rather have a more correct way of doing it.
    Is there a way of doing this in the source code without having to change a lot of stuff?
    Thanks for any help.

    Richard Kirkman1 wrote:
    I think it picked up the title bar text from the first text box in the page. (...) I'm guessing I might be able to work around by making an invisible text box with the text that I want in the title bar...
    Richard ~ The key is the default Title box that iWeb creates for every new page — it's that which you need to edit, not another text box you've created. And to make the text in that Title box invisible, see here.

  • TEMPLATE AND PAGE TITLE MX2004

    I have started to use a template for a web site for the first
    time - all is going well except that I am unable to change the page
    title for individual pages which have the template applied.
    I believe I have made the title an editable region in the
    template but when I add a title in a page the text reverts to
    "Untitled Document." When I attempt to modify the page title in
    page properties I get the error message "All of this page's
    properties are locled by a template, so you can't edit them."
    My question must be, how do I make the page title
    editable?

    You probably created your template like this -
    FILE | Save As..., then you saved it in the Templates folder
    with a *.dwt
    extension.
    The correct way is like this -
    FILE | Save As Template..., and let DW do the heavy lifting
    for you.
    You can fix your situation by making the head region of your
    template look
    like the head region of the new template (use copy/paste).
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Hawker123" <[email protected]> wrote in
    message
    news:[email protected]...
    > Interesting - and thank you for your suggestion. I have
    compared the
    > code,
    > which in my (faulty?) template begins thus:
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    > "
    http://www.w3.org/TR/html4/loose.dtd">
    > <html>
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    > <title></title>
    > <script language="JavaScript"
    type="text/JavaScript">
    > <!--
    > function MM_reloadPage(init) { //reloads the window if
    Nav4 resized
    > if (init==true) with (navigator) {if
    >
    ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    > document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
    > onresize=MM_reloadPage; }}
    > else if (innerWidth!=document.MM_pgW ||
    innerHeight!=document.MM_pgH)
    > location.reload();
    > }
    > MM_reloadPage(true);
    > //-->
    > </script>
    > <style type="text/css">
    > <!--
    > @import url("../css/stuartNews.css");
    > body {
    > background-color: #CCCCCC;
    > }
    > -->
    > </style></head>
    >
    > <body>
    >
    > The code in the empty template is as follows:
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    > "
    http://www.w3.org/TR/html4/loose.dtd">
    > <html>
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    > <!-- TemplateBeginEditable name="doctitle" -->
    > <title>Untitled Document</title>
    > <!-- TemplateEndEditable --><!--
    TemplateBeginEditable name="head" --><!--
    > TemplateEndEditable -->
    > </head>
    >
    > <body>
    > </body>
    > </html>
    >
    > Does this reveal the fault?
    >
    >

  • Change the Page title of Default.aspx in SharePoint Hosted App using ECMA Script

    Basically i want to change page title dynamically. the thing is default.aspx page is present in the below location
    Folders/Pages/Default.aspx ( Verified using
    SharePoint Manager 2013 Online )
    Could any one let me know how to iterate through the folders and then go to pages and change title of Default.aspx page?
    Navaneeth

    All the links which is mentioned above is either they are doing it in code behind or javascript like document.title.
    I want to change dynamically using ECMA script. the point i found here is if you use the below code you will get an error saying list "Pages" does not exists in the SharePoint site.
    clientContext.Web.Lists.GetByTitle("Pages");
    So i am wondering how can we change the page title of SharePoint hosted app ( Default.aspx) dynamically
    Say example i have one text box and submit button. when give the title in the text box and click on submit  the title should reflect in the page.
    Navaneeth

  • Change Page Title of embedded DS reports in the portal

    Dear all,
    we have our Design Studio Reports embedded in the Portal. The title of the browser window is the title of the navigation entry you are navigating to.
    We have a demand where we need to overwrite the title from within the Design Studio Report to add a specific pattern to the title of the browser.
    as an Example:
    Name of the navigation entry: Report XY
    Current browser title: Report XY
    Target browser title: [DS] Report XY
    I know from the ABAP Web Dynpro and CRM WebUI that there are standard functions to influence the title with customer code, when they are embedded in the portal.
    Is there any way (hopefully without the use of the SDK) to influence the browser window title from Design Studio Reports when embedded in the Portal?
    Thanks a lot and best regards
    Fabian

    All the links which is mentioned above is either they are doing it in code behind or javascript like document.title.
    I want to change dynamically using ECMA script. the point i found here is if you use the below code you will get an error saying list "Pages" does not exists in the SharePoint site.
    clientContext.Web.Lists.GetByTitle("Pages");
    So i am wondering how can we change the page title of SharePoint hosted app ( Default.aspx) dynamically
    Say example i have one text box and submit button. when give the title in the text box and click on submit  the title should reflect in the page.
    Navaneeth

  • Who Will Be the First to Tweak IE9 To Restore the Page Title into the Title Bar?

    It's a well-known fact that if you disable the tabbed view (i.e., you prefer to use multiple separate windows for your browser pages) the Page Title from whatever web page you visit doesn't show up anywhere.
    How does a blatant omission like this pass a design review?
    It's like someone at Microsoft doesn't think titles belong in Title Bars any more.  Who is this person, and do they actually USE a computer?
    In a similar vein, Windows Explorer windows no longer put the path in the Title Bar -
    unless you use one of the fine aftermarket products such as ShellFolderFix or ClassicShell to restore the Title Bar to service.
    Has anyone figured out yet what to tweak to put the page title in the Window Title Bar for IE9?
    -Noel

    I see I just got another up-vote for the original post in this thread.
    Perhaps it's time to follow up...
    TODAY, with Windows 8.1 and IE11, we see that you can no longer eliminate tabbed view.  Thus there is a place - at the expense of some space for the address bar, where the page
    title appears.  But it is not the Title bar, and it's usually not wide enough to fit the whole title.
    Why is Microsoft continuing to choose to do ANYTHING but follow their own desktop usability standards? 
    We see the ongoing departure of application design from standards not only in IE, but also in Office and other Microsoft applications.
    Hey!  We users didn't designate that space across the tops of windows as a title area.  Microsoft did.  We just got used to using it.  When we look to activate the proper window on our desktops, we look at the titles.  Fortunately,
    there are 3rd party developers who make programs to put the right things back, but I'm forced to ask:  Why?  This is not an accident.
    Are we being groomed by Microsoft to become used to and ultimately begin to accept random UI design?
    Microsoft engineers, are you being instructed to make your designs less conformant to desktop usability standards by your bosses?  If so, you need to tell them to kiss your collective asses!  You're not doing your products any favors by following
    such ridiculous advice, and as your products go so will your company.  You are not too big to fail!
    People will only allow themselves to be manipulated for so long.  Then you'll find some other company has made a product that's better (something you're
    facilitating by making your product worse) and is eating your lunch.
    Have a nice day in Redmond.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

  • Page Title and new Window

    Hi,
    I have created an iview and page that points to one of our R3 backend systems. The name of the iview and page is DV2. When a user clicks on the link in the detailed nav bar it launches a new window. What I would like to do is set the Page Title of the new window to DV2. I also have a UPG and PRD page that needs the title set. Is that possible and if so how might I go about doing that?
    Our environment is SAP Netweaver SP12.
    Thanks,
    Kris

    Hi Kris,
    if you think of influencing the window title - this is not dynamically possible by standard means.
    Hope it helps nevertheless
    Detlev

  • Finding a page title

    I'm trying to build a dynamic page navigation portlet (based on the the three structure of the pages). Like the "Display Child Pages As Links" - functionality.
    But I can't find the page titles anywhere.
    In the WWPOB_PAGE$ table only the title_id is to be found, and the same goes for the WWPOB_USER_BROWSE_PAGES view. Bu I can't find the actual page titles.
    Can anybody help me out ?
    Thanks in advance,
    Christian Ballisager
    null

    As far as using a book of multiple documents, or a single document goes, it's largely a matter of preference and convenience, though there is some element of safety also in using a book -- if one section becomes corrupt, only that section is damaged. It also is much easier to navigate a shorter document.
    Presets can hold page size, orientation, margins, bleeds, columns and page counts, but can have only a single master page. Templates can have both multiple document pages and multiple master pages applied, as well as pre-defined styles and color swatches and content objects. A template is a "real" document that can contain anything that any other document may have.
    The only difference between a template and a regular InDesign Document is the file extension, which triggers a different default behavior. The .indt extension opens an untitled copy by default so you won't overwrite the template. The .indd extension opens as the original by default. You can convert from one to the other just by changing the extension.
    Peter

  • ADF: Browser page title should be tab title

    Hi ADF Experts,
    We are using ADF dynamic tab shell in our project.I have one main jspx page, it is consuming dynamic tab shell template.
    Currently we are getting browser page title as my main page title, but browser page title should display as tab title.
    I tried the following approach.
    1) I used one session scope variable for title of the main page
    <af:document id="d1" title="#{sessionScope.titlename}">
    2)I am setting that variable when I launch the tab.
        public void launchTab(ActionEvent actionEvent) {
            // Add event code here...
           Map<String, Object> attrs = actionEvent.getComponent().getAttributes();
            String title = ((String)attrs.get("tabTitle"));
            JSFUtils.setExpressionValue("#{sessionScope.titlename}", title);
    Title is reflecting when I refresh the page manually.
    Thanks
    Deepthi

    Hi,
    the page title is set by the af:document tag. Your requirement implies a full page refresh to get the change displayed. So I am not sure its worth the inconvenience
    Frank

  • Page personalization without page title bar

    Hello,
    we have removed our page title bar in order to save space.
    Is there any way to still personalize a page, e.g. through a direct URL to the personalization of a given page, or do I have to enable the page title bar again?

    I imagine it might be possible if you...
    1. Take the relevant code from the Page Title Bar iView (which does not have the source code - I will leave it up to you how you want to "get" the source - not sure of SAP's stance on decompiling).
    2. Then create a java iView with the relevant code in it that will perform the personalize functionality. Add a link in the page to launch the personalize function. This link will launch the "personalize" page/code (you will see this in the JAR). You can heavily leverage the existing code. FYI, the iView utilizes the abstract portal component instead of a JSP page. If you are not used to using these, it may be a little confusing at first.
    3. Add this iView to a page; then save the page as a template. Then use the template for all of your pages.
    It might take a some effort to make it work with the page. I just don't know. In the default way it works, the page title bar iview is outside the page that it relates to. The option I am suggesting, the iview is within the page.
    I haven't done this, but I have created my own page title bar iview so I could add an additional hyperlink in it. When I added it to the framework page, the back and forward links would not enable/work unless I added it above the already-existing page titlebar iView (in the layout), or removed the already-existing iView.  I did not end up using the modified iView, so I never took the time to figure out why.
    Now that I think about this, the above option would probably "push" down your content visually anyway(thus you lose space) unless you move it to Dynamic Navigation instead of the page template, so it may be better just to add back the original iview to the framework page.

Maybe you are looking for

  • How to resize a Cropped photo

    iPhoto on iPad 3 with iOS 6. I use the Crop tool to select a portion of the image. Tap Edit to confirm my selection. The image is now displayed in the editting panel. How do I get the image to fill the editting panel? What seems to happen is if I hav

  • Cannot connect to we when using facetime

    Cannot log into facetime with my IPAD mini. 

  • What to Enter in Username,Password and Host String in SQL Plus 8.0??

    I downloaded Oracle Forms,Reports 6i.Along with it I got SQL Plus 8.0.Following are not working Username:scott Password:tiger Host String:Empty or Username :system Password:manager Host String:Empty I want to Know what to enter for Username,password

  • Problem: Error -1

    Hello everyone, I have an acquaintance who is using the free trial of Final Cut Pro X to finish a movie at our university. There are only apparimately 6 days left, but there has been some trouble. The message midway through export: "The operation cou

  • I cant get into my ipod cause i forgot the passcode

    i need help cause i forgot my passcode n can not get into my ipod what do i do????