Title of Page from Pages library not appearing as expected from custom pagelayouts VS solution

hi,
i have created a custom web page from pages library using custom page layouts library with the help of a wsp.
here is my  sample page.
now my issue is,  when i go to the page / the title of the page is not displaying correctly.
as per my requirement the ttile  of the page   should be  APPROVE/REJECT Doc
which is mentioned in the  <title>APPROVE/REJECT Doc</title></head>.
and in my VS 2012 pagelayouts solution i have added this page name approve1.aspx.
hence  i am getting the Page title from the pages lib as approve1 .
can someone pls help what should i do to get this title issue  resolved.
i cant rename the page again from the solution.i  would like to see the title of this page takes from <title>APPROVE/REJECT Doc</title></head> .
<%@ Page Inherits="Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Reference VirtualPath="~TemplatePageUrl" %>
<%@ Reference VirtualPath="~masterurl/custom.master" %><%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
%>
<html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"><head>
<!--[if gte mso 9]><xml>
<mso:CustomDocumentProperties>
<mso:PublishingContact msdt:dt="string">47</mso:PublishingContact>
<mso:PublishingIsFurlPage msdt:dt="string">0</mso:PublishingIsFurlPage>
<mso:display_urn_x003a_schemas-microsoft-com_x003a_office_x003a_office_x0023_PublishingContact msdt:dt="string">hellooo1</mso:display_urn_x003a_schemas-microsoft-com_x003a_office_x003a_office_x0023_PublishingContact>
<mso:PublishingContactPicture msdt:dt="string"></mso:PublishingContactPicture>
<mso:RobotsNoIndex msdt:dt="string">0</mso:RobotsNoIndex>
<mso:PublishingContactName msdt:dt="string"></mso:PublishingContactName>
<mso:ContentTypeId msdt:dt="string">0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390076F7B5D03DD146D699D042E1C5D76EF70034D563D3D2DE07429FB160DADE75B460</mso:ContentTypeId>
<mso:PublishingPageLayoutName msdt:dt="string">myPage.aspx</mso:PublishingPageLayoutName>
<mso:Comments msdt:dt="string"></mso:Comments>
<mso:PublishingContactEmail msdt:dt="string"></mso:PublishingContactEmail>
</mso:CustomDocumentProperties>
</xml><![endif]-->
<title>APPROVE/REJECT Doc</title></head>

Hi,
As there is no complete code at hand, you can take the snippet below about updating the name of a page in a page library as a reference:
if((Get-PSSnapin | Where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null) {
Add-PSSnapin Microsoft.SharePoint.PowerShell;
$web = Get-SPWeb http://yoursite
$list = $web.Lists["Site Pages"]
$listItems = $list.Items
foreach($item in $listItems)
if ($item.Name -eq "Page1.aspx")
$file = $item.File
$file.MoveTo($item.ParentList.RootFolder.Url + "/" + "Page1_changed.aspx")
$file.Update()
#dispose of web
$web.dispose();
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • Aperture - Album from Shared Library Not Appearing in iTunes

    I have a recurring problem which is making Aperture downright useless.
    I operate a shared Aperture library (shared between 2 users on the same iMAC) which resides in the 'Shared' Users folder. Obviously we cannot have the same library open at the same time -that's no problem. I have set the sharing properties for the library contents and folders to Read and Write for both of us.
    The problem is that when I add photos and create a new Project ad Album to put them in (not worried about the other user at the moment), these don't show up in the Aperture album or project list in Photos in iTunes to sync to my iPad or iPhone.
    I have this very minute added a new album, closed Aperture and made sure its written to disk. Then I have closed the iTunes app and made sure it has quit.
    Then when iTunes loads up again and I connect my device - the library and project do not appear in the items to sync.
    This happens all of the time and it's making Aperture pretty pants. If the only resolution is to rebuild thumbnails, rebuild XML file etc or any more of that - then its not fit for purpose.
    Has anybody a long term permanent fix for this?
    It's seriously doing my head in!

    Bumping this up as it seems that nobody has any idea.

  • I just bought a new iPad air and have not been able to download kindle app to read my books. When I type kindle on my iPad app page, kindle app does not appear. What do I do to get this app into my iPad air?

    I just bought a new iPad air and have not been able to download kindle app to read my books. When I type kindle on my iPad app page, kindle app does not appear. What do I do to get this app into my iPad air?

    Hi norlowski,
    Do you already have the Kindle app downloaded to an iPhone or another iPad? Do you have "Automatic Downloads" turned on under Settings>iTunes & App Store for Apps on your iPad?
    You might want to try touching and holding the Kindle App option in your Purchased list, and when it highlights, let go, and it will go to a a detail page for the app with another "Open" option on it. See if it will open from there.
    If you do have Automatic Downloads turned on on the iPad, turn it off, and then go back to purchased to see if the Kindle is still showing as "Open".
    Post back with results!
    Cheers,
    GB

  • The email sent from macbook do not appear in my iphone and yahoo account

    the email sent from macbook do not appear in my iphone and yahoo account

    thanks for your help... I was feeling frustrated because the sync problem, but with your suggestion all contacts are now on my iPhone. _Thanks once again_.
    I think that I was asking two different questions at the same time, because the problem with the iPhone synchronization was solved, but the .Mac Address Book still has no new contacts... just the contacts before the Mac OS X update to Leopard. I guess that I will need to look for help in other discussion topic.

  • Music file transfered from PC does not appear in t...

    Some of my music files transfered from PC does not appear in the music player in the cellphone but they appear as rigntone..NOKIA N81
    How will i resolve it??
    Can someone help me?
    Please reply, it's urgent.

    Hi Irosenth
    Thanks for the answer. I am not sure I understand your question though.
    We have a collection of reader enabled pdfs that the user can open in a webbrowsercomponent in a .Net winform.
    We used to (Reader 9.4 and before) replace the Readers "save pdf" button with our own "save pdf" button that
    - saves the pdf
    - exports its data as xml
    - send a message to the .Net winform that the pdf has been saved.
    We implemented our own save button and its functions using a plug-in.
    Now I can't find our "save pdf" button in Reader X. That is my problem.
    So I try to create a new toolbar and place our "save pdf" on this new toolbar as you adviced me.
    I expect the toolbar to show up in the Tools pane in the webbrowser component in Reader X.
    But it doesn't. There is no Tools pane when I open the PDF in the webbrowser.
    (btw all the keyboard shortcuts we have created in the plugin (ie CTRL, ALT, L) works fine - so the plugin generally works).
    When I couldn't find my toolbar with its button in the webrowser, I tried to open one of the reader enabled pdfs in the Reader X as a standalone application.
    This was just as a test to see if it worked any different from the browser plugin. It is not part of our use case.
    But I noticed that in the standalone Reader X I do have a Tools pane, and my new toolbar but no "save pdf" button.
    This is how it looked with Reader 9.4 and before:
    OK the red text in the screenshot is quite difficult to read. It says (from above)
    "We have replaced the Readers save button with our own save button in the plugin.
    This is the (selvcreated save) button I miss in Reader X"
    "This is a Reader enabled PDF shown in a webbrowser component in a .Net Winform"
    "The users only have the Reader, not Acrobat"
    Best regards
    Jan
    Message was edited by: Dafolo_Jan

  • Since I have iTunes match, why does my iTunes library not appear in iPhoto music options for slideshow?; only songs purchased or placed on iTunes over a year ago appear in the iPhoto library under the iTunes or purchased option.

    since I have iTunes match, why does my iTunes library not appear in iPhoto music options for slideshow?; only songs purchased or placed on iTunes over a year ago appear in the iPhoto library under the iTunes or purchased option.

    10/20/14
    Yes, I am signed in to iTunes match on the macbook pro, iPhone , & iPad (all updated & correct music libraries) where I bought all the tunes but still no updated tunes on the iPhoto music library after 3 days of being on iTunes match.
    Thank you,
    TMAbanjoman

  • While i post photos from my gallery to Facebook it is not appearing as posted from ios

    while i post photos from my gallery to Facebook it is not appearing as posted from ios how do it do it

    http://support.apple.com/kb/HT4236 hope this article will help.

  • When selecting playback from itunes library on Mac (purchased album from itunes!) i get random song played from that album and my selected song disappears from view. Nothing to do with shuffle.Mac OSX 10.6.8. Help, doing my nut in!!

    When selecting playback from itunes library on Mac (purchased album from itunes!) i get random song played from that album and my selected song disappears from view. Nothing to do with shuffle.Mac OSX 10.6.8. Help, doing my nut in!!

    What is your iTunes version?
    If iTunes 11, have you checked the "Up Next" list? If it is not empty, try if clearing "UP Next" will help:

  • Profit center field is not appearing while posting of customer invoice  and

    Hi,
    profit center field is not appearing while posting of customer invoice in F-02 i was selected profit center field is optional on posting key and field status group level ................
    Can anybody tell what are all new gl Reporting list of transaction codes

    Hi,
    In the F-02 T.Code we cannot find the profit centre for customer line item. We have to attach the profit centre for the other line item i.e income gl account. Due to document splitting system will derive the profit centre and we can see the profit centre for the both line items under General Ledger view.
    Thanks,
    padmaja

  • Hi please help me , how can i set my ringing tone on my iPhone from my playlist. I wanna set some normal music from  my floder not some ringing tones from iPhone origin . Please help me . Thank you :)

    Hi please help me , how can i set my ringing tone on my iPhone from my playlist. I wanna set some normal music from  my floder not some ringing tones from iPhone origin . Please help me . Thank you

    You need to make your own ringtones in iTunes then sync them to your phone. Follow the directions here:
    http://osxdaily.com/2010/09/04/make-free-iphone-ringtones-in-itunes-10/

  • Can't bookmark certain web pages. I press Ctrl-D and the "Bookmark this page" dialogue box does not appear.

    For example: If I open the home page of The New York Times and press Cntrl-D, the bookmark dialogue box appears but pressing "done" has no effect, the bookmark is not saved. If I go to a page with a particular article, then the bookmark function does not even appear. At first i thought this had something to do with the web site, but that isn't the problem. I just can't bookmark anything. On some pages the dialogue box appears and on others it doesn't, but the result is the same everywhere: zilch.
    And here is something really strange: when i press Cntrl-D on the Firefox start page, the bookmark dialogue box appears with "Board of Education" in the page title field. What is ''that'' all about?
    I have tried all manner of fixes: deleting "places.sqlite" and "localstore.rdf" files, operating in "safe mode", disabling add-ons, re-installing Firefox, etc. etc.. Nothing seems to work. I am running the latest version of Zone Alarm Security Suite. It has an advanced browser security function that includes virtualization. I tried disabling the browser security option, but this did not solve the problem, although I still suspect that Zone Alarm could be the culprit somehow (it often is). \
    Any and all ideas will be welcome as I am fresh out.

    The problem with bookmarking (which I thought I had eliminated with a clean reinstall) has returned after a Firefox update.
    Checked out /questions/743526.
    A scan with Malwarebytes did not detect any malware. Not in normal mode, not in safe mode.
    And look at the solutions offered by st4dog and jimcou: they each deleted different registry values to get rid of XULRunner.
    My problem remains as it was: I don't want to mess with my registry unless I know ''exactly'' what I am looking for (deleting). At least my PC is running, and scans with Malwarebytes, SpyBot SD, Pest Patrol and Zone Alarm AV reveal no infections. If I screw up the registry I think I'll be in a lot worse shape.
    Again, until I have ''specific'' instructions on how to get rid of this thing I guess I'll just have to be content with using IE if I want to do any bookmarking.
    Thanks for the reference. I do appreciate all of your - and other user's - help in trying to solve this problem.

  • I can not print web pages,print box does not appear . I can print web pages using IE

    Windows 7. Firefox 5.0 I can not print web pages. After clicking PRINT the print dialog box does not appear and nothing prints. I do not have this problem using IE
    Printer: Brothers HL-5140
    Thank you,
    Syd

    First of all, update Firefox to 3.6.17 via Help | Check For Updates.
    There was a security breach at Comodo which is an SSL certificate provider recently whereby a number of fraudulent certificates were inadvertently issued. These allow a hacker to impersonate any site including online banking and the Firefox version you're running at the moment will not warn you that the site is a fake. The fraudulent certificates were blacklisted in v3.6.17 and beyond.
    To uninstall the Yahoo Toolbar, go to Tools | Add-ons | Extensions. You should find it in there.
    To revert to Google as your preferred search engine, please do the following.
    * In the location bar, type '''about:config''' and hit Enter.
    * In the filter at the top, type: '''keyword.URL'''
    * Double click it and remove whatever's in there and replace it with http://www.google.com/search?q=
    The URL to add in "keyword.URL" becomes a link in this post, so right click it and choose "Copy Link Location" to copy it to the Windows clipboard. Then hit CTRL+V to paste it. Saves you having to type the whole thing.
    '''To reset your home page, do the following'''.
    * Go to the site you want to set as your homepage.
    * Go to '''Tools '''| '''Options '''| '''General'''
    * Make sure it says "''Show My Homepage''" in the first dropdown menu.
    * Click the button called "'''Use Current Pages'''" to set the homepage to the one you have on the screen.
    After you complete the above steps, install this add-on to prevent another search engine from modifying your preferences: https://addons.mozilla.org/en-US/firefox/addon/browserprotect/
    Additonal security risks on your system are the version of Flash you have installed at the moment. See http://www.adobe.com/support/security/bulletins/apsb11-12.html
    Update via http://get.adobe.com/flashplayer/
    Printing issues might be fixed by installing Java via http://www.java.com/en/
    But if the problem persists, please post again.

  • I have my first mac. the music folder does not appear in favourites from the finder menu so i cant transfer my itunes library

    I have my first mac. I want to transfer my iTunes library from my pc but the music folder does not appear in favourites when I select finder.

    Choose Home from the Finder's Go menu.
    (117823)

  • Photos from recent event not appearing in photo library

    I have recently uploaded photos from a recent trip. I have named the event and it is listed and accessible through 'events'. The event is also listed under the 'recent' menu. However, the photos are not appearing in my 'photos' library!
    I want to sort the photos into my own order manually, but when I access the photo through the events menu, the option to sort photos manually is blanked out.
    Any help would be gratefully received! Many thanks.

    Welcome to the Apple Discussions.
    However, the photos are not appearing in my 'photos' library!
    Are you referring to the Photos mode in iPhoto? That mode cannot be sorted manually. Send a feature request to Apple via http://www.apple.com/feedback/iphoto.html.
    A workaround is to create a regular album and add the entire library to it. Then you will be able to manually sort the photos. New photos added to the library and the album will initially be located at the bottom of the album's window.
    Albums give you the most control over displaying of the photos.

  • I have created Notes in my yahoo account. Some of the Notes pages does not show up, though they are still inside Yahoo mail account. How to ensure that all pages in my Yahoo notes appear in my iphone and ipad

    I have Notes in my Yahoo email account. Some of the pages disappear or could not be found in iphone or ipad, though they are still inside my yahoo Notes
    How to make sure that all my Yahoo Notes pages appear in iphone and ipad all the time

    I had the exact same issue!! Seriously p*ssed me off when I checked out my ITunes purchased items (via my computer) and noticed that most of the additional tracks listed on my IPhone playlist was listed there too. However, I never authorized any purchases!!  (I have actually written Apple Support asking for a full refund of all tracks listed on my purchased list)
    Be careful when you swipe your finger to the left/right on those "additional" tracks on your IPhone playlist... I'm pretty sure that the cloud symbol is an option to download or automatically buy those tracks.
    Solution for the problem:
    1 - go to your IPhone settings
    2 - choose "iTunes & App Store"
    3 - go to "Show All" & "Music"
    4 - turn off "Music" by moving the bar to the left (it should be a white color once you turn it off)
    Should solve your problem :~)

Maybe you are looking for

  • Listener & grid control after upgrade to 11.1.0.7

    going from 10.2.0.2 to 11.1.0.7 on aix 5.3 On our test server we have about 8 databases that are all currently using the 10.2 listener. I've upgraded one of our very basic test databases to 11g this morning, and for the time being just created a new

  • How to get Maximum Number of Concurrent users for last few days?

    Hi, How I can get maximum number of concurrent users which were logged in to the system (ECC 5.0) I mean I want to check the hostory for last few weeks. Is there any way to get the same? I know that I can get Cumulative number of users in st03 under

  • How do I turn off pop-up blocker on new iPad if it is "greyed out" in safari settings?

    How do I turn off pop-up blocker on new iPad if it is "greyed out" in safari settings?

  • Programs crashing in Lion

    For the past two weeks I have experienced a number of program crashes with Lion.  They all are due to bad some type of kernel error and the latest program to continually crash is iTunes which has now crashed 5 times this morning.   I have done everyt

  • Apple TV ver # 3 "Sleep mode".

    G'day All, Purchase the above last night, installed and configured it and all is working. Did a f/ware update all went well. Have the unit connected via WiFi. The unit is connect to my TV via the surround sound receiver with a HDMI cable. Watched a m