Getting empty master page in layout

Hi All,
I have 2 master pages (say masterpage1, masterpage2) in my layout.
For one of the body page i want the master page type masterpage2. So in paagination tab, Place, i have added the masterpage2. When i do this, an empty masterpage2 is getting added above this bodypage and this masterpage with empty bodypage is getting dispalying in output. How to get rid of this unnecessary page.
Regards,
Mahidhar.

hi!
   Create a form in which call that form with start_form and endform with blank main window and then in another form do all the processing and call it in another start_form and endform.And enclose this all in one OPEN_FORM and Close_Form.
  The first form when called with start_form and endform will call that form once with one blank page defined there as first page no second page defined for it.and the other start_form endform will do for other pages defined in the other form.and this will be given to one spool request with enclosing it in Open_form and close_form.

Similar Messages

  • How can you get get two master pages to repeat in a document with one of them having numbering.

    How can you get two master pages in Indesign to repeat when one of them has a numbering section and the back side is a common back. For example, Master A has numbering 001-500 and Master B is the common back for all 500 pages.

    My guess is you either want to use a numbered list for the numbering, rather than a page number marker, or you want to make two files and print a single page file with the static text 500 times, then flip the stack and print the 500 page file.
    What are you trying to do?

  • Applying custom master page on layout pages

    I am applying my custom master page on application layout pages which I am deploying using visual studio. My issue is; I have to copy my custom master page in the same directory where my layout pages exist otherwise its not working.
    I want to deploy my custom master in the default master page directory and refer it to my layout pages.
    is it possible or I have to copy my custom master page in the layout page directory ????

    Hi Nazish,
    By default your application pages will inherit the masterpage currently applied to the site where your app is hosted, but to specify a custom master on a app page you have to set the "CustomMasterURL" property on your site.
    Next your application page needs to inherit from the "LayoutsPageBase" class and you need to specify your custom masterpage on your application page with "~masterurl/custom.master"
    Regards, Pieter
    MCPD | MCITP
    My Blog
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

  • Possible to have a Master Page-B layout automatically follow a Master Page-A layout?

    I'm trying to do with master pages what you can do with paragraph styles. The first page of a report section (Master Page-A) looks slightly different from the rest of the pages in the section (Master Page B). Master Page B will always follow Master Page A...can I get InDesign to this automatically? We can do it with paragraph styles, but I can't figure out how to do this with master pages.

    You can base one Master Page on another, as you can with styles, but there is no "Next Master" attribute that can be applied in the page setup. You might be able to script it, though.

  • Basic working/Master Page questions

    Beginner - creating 80 pg catalog in ID -
    I'm a little confused with using  ID master pages and don't have time to go through a lot of tutorials at the moment. I created a new doc with 4 master pages (all spreads) to use at will throughout, intending to swap out text and images in page layout mode once the master pages are dragged down into the page layouts section of the palette.
    After dragging pages from the Master Pages section down into pages palette, creating new spreads, the page layouts can't use any of the elements until I select them and then choose Override Master Page Items? So none of the text formatting/picture boxes/elements are ready to use by default? I don't get it … master pages are by default meant to be background elements only?
    Switching from Quark, where all Master Page elements are ready to swap in text and images after dragging them into the page layout panel. How to best accomplish having the Master page elements immediately available for use in page layouts? Template?
    LMK if I need to provide more info...
    ID 6/CS4  Macos10.6.8

    Master objects in ID are not like they are in Quark. If they have content in them you must override them before you can alter them. Empty master frames can receive content via File > Place... without overriding. You can override any master object by holding Cmd + Shift and left click on it.
    The general principle for using master objects in ID is if they need to be overridden to use them, you really need a darn good reason to put them on the master page at all since you defeat the purpose of having them on the master when you do that.
    TheOriginal150mph wrote:
    I'm a little confused with using  ID master pages and don't have time to go through a lot of tutorials at the moment.
    You'd be much better served if you did spend some time training. You'll never get good at ID as long as you continue to think like a Quark user.

  • Can't change the master page after upgrading to SharePoint 2013.

    After upgrading our farm to SharePoint 2013 we are having trouble changing the master page for sites that don't have sub-sites. We are still using the v4 UI version, and that appears to be what is causing the problem. The error we get when going to /_layouts/ChangeSiteMasterPage.aspx
    is:
    System.NullReferenceException: Object reference not set to an instance of an object.    at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaChromeSettingsPage.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I took a peek at the source code for AreaChromeSettingsPage.OnLoad and found that it references a CheckBox control that does not exist in the v4 ChangeSiteMasterPage.aspx:
    protected override void OnLoad(EventArgs e)
    base.OnLoad(e);
    this.EnsureChildControls();
    if (!this.Page.IsPostBack)
    this.LoadValues();
    if (base.Web.Webs.Count == 0)
    this.resetSystemMasterPageSubSitesCheckBox.Visible = false;
    this.resetSubSitesCheckBox.Visible = false;
    this.resetAlternateCssSubSitesCheckBox.Visible = false;
    this.resetThemeSubSitesCheckBox.Visible = false;
    base.ConfigureCancelButton(this.BtnCancel);
    If I manually add a checkbox control with the ID "resetThemeSubSitesCheckBox" to a hidden panel in the v4 copy of ChangeSiteMasterPage.aspx the page works, but obviously this is not a best practice. How can we fix this without upgrading the UI version, which
    we are not yet ready to do?

    Thanks Mike - Could you please share what is your next step then? I also have custom master pages and layout but I am going to make new master page and layout in 2013 as we need to change the existing branding too. so, i upgrade the site collection. I understand
    the Look and Feel will not persist after the upgrade but I am concern that at least the page should show the content on the page after the upgrade. The page had Calendar webppart on it but after the upgrade it is coming blank.
    any suggestion?
    Regards,
    Khushi
    Khushi

  • Custom Master page set as a default on feature activation in Moss

    I've a site in moss. I have created feature in my solution and on feature activation it will set the custom master page
    CustomMaster.master as a default master page and on feature deactivation it will set as a default master page
    default.master.
    The problem I'm facing is that if I'm activation the feature at first time then it will set the CustomMaster.master as a default master page but when I'm deactivate the feature it will remove the
    CustomMaster.master page and module. but when I'm again activate feature at that time it will not create mo1dule and CustomMaster.master in "_catalogs/masterpage/". So, no error was given on feature activation but
    it will give error while I'm accessing my site as a "File Not Found" because
    CustomMaster.master is not created.
    Code of Module.xml file
    <Module Name="Master" Url="_catalogs/masterpage"> <File Path="Master\CustomMaster.master" Url="Master/CustomMaster.master" IgnoreIfAlreadyExists="TRUE" Type="GhostableInLibrary"/> </Module>
    Code of method which is call on feature activation
    public void SetCustomMasterPage(SPFeatureReceiverProperties properties, string MasterPageName)
    try
    #region SetMasterpage
    SPSite siteCollection = properties.Feature.Parent as SPSite;
    if (siteCollection != null)
    foreach (SPWeb web in siteCollection.AllWebs)
    // Get the Site Collection root path to get the master page gallery.
    string siteCollectionRoot = web.Site.RootWeb.Url;
    // Set the Site Master to Custom.master
    var siteMaster = new Uri(siteCollectionRoot + "/_catalogs/masterpage/Master/" + MasterPageName);
    web.CustomMasterUrl = siteMaster.AbsolutePath;
    web.MasterUrl = siteMaster.AbsolutePath;
    // Clear the Alternate CSS
    web.AlternateCssUrl = string.Empty;
    // Save the changes back to the web
    web.Update();
    #endregion
    catch (Exception)
    Code of methods which are call on feature deactivation
    public void SetDefaultMaster(SPFeatureReceiverProperties properties)
    try
    SPSite siteCollection = properties.Feature.Parent as SPSite;
    if (siteCollection != null)
    foreach (SPWeb web in siteCollection.AllWebs)
    // Get the Site Collection root path to get the master page gallery.
    string siteCollectionRoot = web.Site.RootWeb.Url;
    // Set the Site Master to Custom.master
    var siteMaster = new Uri(siteCollectionRoot + "/_catalogs/masterpage/default.master");
    web.CustomMasterUrl = siteMaster.AbsolutePath;
    web.MasterUrl = siteMaster.AbsolutePath;
    // Clear the Alternate CSS
    web.AlternateCssUrl = string.Empty;
    // Save the changes back to the web
    web.Update();
    catch (Exception)
    public void RemoveCustomMasterPage(SPFeatureReceiverProperties properties, string MasterPageName)
    try
    using (SPSite sitecollection = (SPSite)properties.Feature.Parent)
    using (SPWeb web = sitecollection.RootWeb)
    string WebAppRelativePath = sitecollection.ServerRelativeUrl;
    if (!WebAppRelativePath.EndsWith("/"))
    foreach (SPWeb site in sitecollection.AllWebs)
    WebAppRelativePath = site.Url;
    if (!WebAppRelativePath.EndsWith("/"))
    WebAppRelativePath += "/";
    String MasterUrl = WebAppRelativePath + "_catalogs/masterpage/Master/" + MasterPageName;
    SPFile fileUrl1 = site.GetFile(MasterUrl);
    if (fileUrl1 != null)
    SPFolder folder = fileUrl1.ParentFolder;
    fileUrl1.Delete();
    web.Update();
    //attempt to delete the folder if it is now empty
    if (folder.Files.Count < 1)
    folder.Delete();
    catch (Exception)
    Pls guide me for solve this issue.

    Hello Sameer,
    When you are calling "RemoveCustomMasterPage" function?
    Also make below change in web.config file your web application to know the problem:
    1. Open up your sites web.config, and make the standard custom errors edit. You want it to be < customerrors mode="Off"/>
    2. Then, search for the CallStack="false" and change it to CallStack="true", you should find this in the "<safemode>" node.
    3. Find:   <compilation debug="false" />, Replace with: <compilation debug="true" />
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to Insert custom master page menubar above suitebar in sharepoint 2013

    Hi,
    I have created my custom master page. But it renders in sequence as Suite link bar, Ribbon bar, Master Page Navigation Menu.
    I want that page to be as master page menubar, suite link bar and then ribbon .
    Please tell me is it possible way to do it?
    cause,ribbon is used often so if there is option when ribbon gets opened hide master page ribbon and when we click on browse in ribbon get the master page again.
    Please, suggest me any way?
    Thanks 

    I think this will help:
    http://academy.bindtuning.com/customize-sharepoint-2013-and-office-365-suite-bar/
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Apply multiple master pages to multiple layers

    I have a document that has multiple layer and I need to apply a different master page to each layer.
    Layers are as follows and in this order:
         USA Pricing
         No Pricing
         Euro Pricing
         Yen Pricing
         and so on.
    I have a master page created for each versions layer. I lock all layers except the USA layer and apply the USA Pricing master to that layer it looks great.
    So I lock that layer and unlock the next layer and apply the applicable master to that layer and so on but, even though the other layers are locked what ever master
    I last applied is the one that sticks to all layers.
    How do you get the master page to stick to each layer without using the Master page override to each layer and making it become part of the page?
    If you do that and then you have a change to the Master page on a specific layer/version you have to edit every page and can not simply make a global change on the applicable master!!
    Thank you in advance for any help that can be given.

    Do you mean that only one master page can be applied per page and that it is automatically applied to all layers of that page?
    "so it sounds like you need to create a new master page with the attributes you need for each layer included in one place."
    I don't understand what you mean by this? I have created multiple master pages that have everything I need on them to be applied to each layer!
    They just don't stick to the individual layer! Maybe it the "included in one place" part of your reply that will work but, I don't understand what you mean by that!

  • Empty WEB PAGE

    Hi Gurus,
    i am Learning Web Dynpro for ABAP.
    i created one Simple Exaple . i got the steps in NET.
    when i test it i am getting EMPTY WEB Page ....
    Please tell help me.. and send me some Material.
    Please do needfull.
    Thanks,
    kumar.

    Hi Friends,
    Thaks for u r Responce.
    i embeded me view into window.
    In standard Example when i test .It it is also  dispalying Blank web page.if i need to do any BASIS setting or Configuration settings for this. If any of this we should do Please tell me the steps.
    Please help me .
    Thanks,
    kumar...................................

  • Master page Dynamic data not getting displayed in consecutive pages

    Hi,
       I have buit a dynamic form which has some dynamic content in master page and a dynamic table in the body page.
    Layout is
    Master page
          Sub form
                 Field1 -TextView
                 Field2 - TextField      bind with Node1--->Attribute1
                 Field2- TextField       bind with Node2---->Attribute2
                Field n - TextField
    all the text fields are bound to various nodes from RFC
    Body Page
             Sub form
                  Table -Grows Dynamically
    When i run the application all the fields are displayed perfectly in the first page.
    when the table data goes more than one page the problem arises
    The Text fields in the master page is  not displaying the values in the second page ,but the text views and the table values are fine.
    The values are getting displayed in both pages if i put any attribute inside the parent node.Is there any property i need to set at node level or subform level?
    Thanks in advance,
    Siva

    Hi
    I Would like to give a suggestion eventhough i don,t have answer to you question.
    Master Page is used for static content as per SAP and Adobe like company logo and  company address footer section and placing  watermarks etc....
    I feel because of the Dynamic behavior in master page it Leeds this problem.
    Regards
    Malli

  • How to remove all pages from layout? (except Master Page)

    Geetings Experts:
    I'm implementing additional security measures into my 'initialze' event, where I'll check some global variables and render the file unreadable if needed.
    Which object and properties do I access to remove all my pages from the form?
    I would like to createa a function that removes all the sub pages, leavning only the Matster Page, enable a label in the MasterPage and save itself.
    I searched for xfa.layout and Page[n].remove() methods but cannot find any reference to these.
    .presence = "hidden", fulfills my purpose but the pages remian visible and I need for a clean solution no pages are visible.
    I'm advanced in C# but a novice in LC JavaScript, so any comment, reference or code snipet will be greatly appreciated
    Thank you for your time,
    Ivan A. Loreto – Computer Education Technician
    LOMA LINDA UNIVERSITY | School of Allied Health Professions - Department of Physical Therapy
    [PDF Development Platform]
    Windows XP SP3
    Acrobat Pro 9
    LifeCycle Designer ES 8.2

    Hi Ivan,
    The particular syntax of Javascript in LC Designer is different from that used in Acrobat and different (as I understand it) from core javascript and other applications. There are several free guides on the Adobe web site which cover Acrobat and LC:
    http://www.adobe.com/go/learn_lc_scriptingBasics
    http://www.adobe.com/go/learn_lc_scriptingReference
    http://www.adobe.com/go/learn_lc_formCalc
    http://www.adobe.com/devnet/livecycle/articles/Adobe_XML_Form_Object_Model_Refer ence.pdf
    http://www.adobe.com/devnet/acrobat/pdfs/lc_migrating_acrobat_xmlform.pdf
    And a very handy resource (it goes back to version 6, but is still applicable):http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf
    JP Terry's book on LC Forms is very good and we use www.pdfscripting (which is a subscription service). If you are going to be doing a lot of LC Designer work, these may be of help.
    I am not a coder, so I going to try and work through your script. Bear with me if you already have this sorted...
    The script looks ok and you are using the resolveNode method correctly. Seeing topmostSubform in the resolveNode indicates that you imported an existing document into LC. This is fine, but sometimes it restricts some of the functionality.
    For starters I think that mPg is returning null. You can use the following in your script to see what is happening (debugging) and then comment it out:
    console.println("mpg: " + mPg);
    Then when previewing hit control+J to bring up the javascript console, then will show the value of mPg when that script executes.
    Try deleting the SOM up to #pageSet:
    var mPg = xfa.resolveNode("#pageSet.MasterPage1");
    The javascript console will show you when the script is working.
    In relation to the loop, I would advise a few changes:
    for (var i=1; i <= xfa.layout.pageCount(); i++)
         var vPage = ("xfa.form.topmostSubform.Page" + i).toString();
         //console.println("vPage: " + vPage);
         var curPage = xfa.resolveNode(vPage);
         curPage.presence = "hidden"; 
    }//next page
    There are a few things here:
    I would declare i as a variable, not an integer (not sure if it makes a difference);
    I would use pageCount rather than numPages and then <=;
    There was an extra ; at the end of the loop declaration;
    I would break the script into steps and get the full SOM of the page as a variable first and then resolveNode that variable;
    You don't need to go to the current page;
    I tend to name master pages with a capital "P" and pages with a small "p". Personal preference, but it can make tracking script easier.
    Have a crack off that and hopefully you can get it to work,
    Niall
    ps another tip, if you want to reference an object in script. First click on the object you want to script for and then scroll (or click on the master page) for the object you want to reference. Click inside the script editor and then when you move the mouse back into the form, press and hold Control, this will turn the mouse into a "V". When you click on the object you want to reference it will insert the SOM into the script. If it needs the resolveNode it will automatically put that in for you. Holding Shift and Control will insert a fully resolved node.

  • My master pages have disappeared from the View menu in Frame Maker and I can't get to them. View does show body pages and reference pages.

    Master pages went missing from my FrameMaker 12 setup about 4 days ago. I can see body and references pages. I have tried reinstalling. The master pages are missing from all of my FrameMaker documents, absolutely all of them. I have done two new installations of FM 12, no fix.

    Does the old shortcut still work? [Esc, v, M plus its close kin Esc, v, R for Reference pages and Esc, v, B for Body pages – all case-sensitive]
    Also, does "missing" mean you select View master pages and get a blank screen? while double-checking the view shortcuts, I discovered this can be replicated by turning off borders [Esc, v, b] in Master page view … if you happen to be using a Master page layout with no header or footer. But I have also, occasionally, ended up with blank master pages even when they should have had content. It's a mystery.

  • SharePoint 2013 - Custom Master Page / Page Layout

    Hi there,
    - I've covert an HTML file using Design Manager >> Edit Master Pages to convert successfully. Now I've a custom master page.
    - I changed my default master page to custom master page and it looks fine. But the problem is when I try to edit the page all the web parts (snippets) are appears at the bottom of custom master page.
    - So I created new page layout 
    -  After conversion successful.
    - When I can click on new page this message shows up.
    Sorry, something went wrong 
    An invalid or empty reference to a Cascading Style Sheet file was specified. Valid references must specify only a filename that ends with a ".css" extension 
    Thanks for help

    Hi Tim,
    As per my understanding try to do check the below things,
    Try to restore the previous version of master, page layout and the home page and cross check the malfunctioned part by comparing both current and previous content
    Check for special characters added in page layout ,page
    Cross with the content type mapped with this new page layout
    Check for custom solution is retracted from Farm
    Optionally check for any updates gone in server
    OR 
    Refere the below URL if the above wont works,
    https://social.msdn.microsoft.com/Forums/en-US/5045369c-c330-4dc8-97fe-b9ad04830037/css-error-when-changing-the-master-page?forum=commserver2009
    Vijaivel

  • In Aperture Books, changes to Master Page FONTS don't get applied to pages?

    In making a book in Aperture, I can change the font in a Master Page (or create a new Master Page with the font I like), but when I try to apply the changed/new Master Page to any given page in the book, the font I want doesn't show up.  It's still there in the Master Page, but doesn't get applied.  I've seen the thread on a related subject from 2008, but the one work-around proposed there is over my head, technically.  Is there anything new to help me in 2012?

    What happens when you perform an Apply Master Pages operation?
    Format > Page Layout > Apply Master Pages

Maybe you are looking for

  • Unable to create a page content type

    Add-PSSnapin -Name Microsoft.Sharepoint.Powershell #$SiteURL = get-SPSite "http://srvr1:123/sites/ENGG/" $w = get-spweb "http://sRVR1:123/sites/ENGG/" $web = get-spweb "http://sRVR1:123/sites/ENGG/" try $cts =  $w.ContentTypes Write-Host "inside cont

  • What is the sequence when a PDF is generated?

    I'd like to know the sequence of events when a PDF is generated from InDesign CS4 using the Adobe PDF 7.0 printer. Postscript is somehow involved before the PDF is generated and I'd like to have a better understanding of what is going on. Acrobat's H

  • N70 with Stuck Problem!!!

    2 week ago I update firmware n70 from original to music edition ,it worked good until yesterday it has some problem "The phone stuck in sometime maybe in menu , maybe in music player" And It can't do anything.It's must remove battery and insert it ba

  • I cannot add an event on my iPhone or iPad calendars. The "plus" button, or add event button does not even appear when I open the app.

    I cannot add an event on my iPhone or iPad calendars. The "plus" button, or add event button does not even appear when I open the app.

  • HTML5 errors

    we have a training website which uses FlowPlayer to display videos which are MP4 files saved as web optimized. After extensive testing we have so many folks who are using FireFox and are unable to access all videos and or get error messages as follow