Change default.master creates a mess

Guys, I appreciate your thoughts and help in advanced.
What I'm trying to accomplish here is to change the master page file for some SharePoint pages to a different .master
file. I'm using SharePoint Designer 2010 to customize SharePoint 2010.
Here are the steps that I did:
1. Went to _catalogs/masterpage/Forms/AllItems.aspx and downloaded
default.master page.
2. Renamed the default.master to hes.master (Note:
I haven't changed anything in the file, but the renaming)
3. Uploaded the file back to _catalogs/masterpage/Forms/AllItems.aspx
4. Went to SharePoint designer and opened the page I wanted to change the master page and found this declaration at the top of the page
MasterPageFile="~masterurl/default.master"
5. I changed it to be
MasterPageFile="~masterurl/hes.master"
When I did that I hoped that it will pick the new .master page but instead the designer gave me an error saying that the master page cannot be loaded and it offered an option to locate a proper master page file
6. So I used the SharePoint option 'Attach a different Master Page' and I browsed the new master page (hes.master)
7. This should suppose to attach the same master page (since it is only a copy of the
default.master)
8. The master page appeared BUT the structure is so messed up and not all the styles as they should be.
9. I noticed that the new value for the property MasterPageFile is now like this:
MasterPageFile="../../_catalogs/masterpage/hes.master"
Now I have these questions:
1. How can I fix this issue? and if possible someone can explain why did this happen?
2. What is '~masterurl' that is in MasterPageFile
property? and why SharePoint designer wasn't able to locate the file since both .master files were in the same location? and Why the value completely changed to something looks like a relative path instead of using the variable '~masterurl'?
Appreciate your help in this.
Regards, Himyar.

Hi Himyar,
~masterurl/default.master---> means it will take master page which is set  by you as "set as default"
~masterurl/custom.master---> means it  will take master page which is set by you as "set as custom"
 So above file path doesn't locate physical path of any masterpage it is just a notation  of which kind of master page is applied to your page.
 because of  this only you are seeing different  path like below:
MasterPageFile="../../_catalogs/masterpage/hes.master" 
 you just set your custom master page as custom  by clicking "set as custom" tab in designer  and change url in your desired page like 
~masterurl/custom.master
For more clarity check this link.
Hope it helps.:)
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever you see a reply being an answer to the question of the thread, click "Mark As Answer

Similar Messages

  • Change default master client of Portal (ABAP+Java system)

    Hi,
    I change property <b>ume.r3.connection.master.client</b> in Visual Administrator - <Server> - Services – UME Provider from 000 to my own client, then update & save the value & reboot the server. But when I log to Portal the system still use client 001.
    The value is updated with new value when checking Visual Admin again.
    I also restart SAP system but nothing helps.
    I want the portal to use my own client, not 001.
    Any idea to hep?
    Thanks,
    Toan Do

    hi, did you implement this steps?
    Please execute the following steps in the given order.
    Perform a client copy as it is described in the installation guide. Make sure that you use client 001 as source client and profile SAP_UCUS ! Set the parameter "login/system_client" to the new client in the default profile. Check in the target client that all EP users and the j2ee_admin user exist after copy (transaction SU01).
    Change UME master: To do this start either the 'offlinecfgeditor' shell script or logon to the Visual Administrator with the j2ee_admin user and browse to the 'Configuration Adapter' service. Navigate to 'cluster_data -> server -> cfg -> services' and edit Propertysheet "com.sap.security.core.ume.service". Change Property "ume.r3.connection.master.client" to the new client. Save and restart the J2EE Engine.
          Note: Changing the UME master in this way is only possible after a new installation ! For more information please refer to the documentation:
          http://help.sap.com/ -> SAPNetWeaver -> SAPNetWeaver 2004s -> SAP NetWeaver by Key Capability (Administrators's Guide) -> Security -> Identity Management -> User Management Engine -> UME Configuration -> UME Data Sources -> Preconfigured Data Source Combinations -> SAP NetWeaver AS ABAP User Management as Data Source-> Changing the AS for ABAP Backend System .

  • Attributes for Printing Lists - Change Defaults or Create Presets?

    Print dialog allows one to choose "attributes" to be included when printing the Style "Lists". The defaults that are checked are not the ones I want.
    Tried to create and save a Preset w/ boxes checked. The selections do not stick.
    How to do this? In a plist file? (Looked - don't see it).
    Thanks.

    Hi Michael,
    sy-lsind is the list-id. If you set it to 0 or 1 it jumps (when using BACK)
    to the first output-list.
    Here a short demo-code to understand it.
    Make severeal time doubleclick in the outputline and
    look at the changing output.
    try it with:
    sy-lsind = 1
    and
    sy-lsind = 1.
    REPORT ZGRO_TEST1.
    data: dc type i value 1.
    START-OF-SELECTION.
      WRITE: / 'List:', dc, 'SY-LSIND:', SY-LSIND.
      HIDE:    SY-LSIND.
    AT LINE-SELECTION.
      dc = dc + 1.
    sy-lsind = 1.
      WRITE: / 'List:', dc, 'SY-LSIND:', SY-LSIND.
      HIDE:    SY-LSIND.
    Hope it helps.
    Regards, Dieter

  • Is there a way to change the master text length in FCP? The default length is 10 seconds, which is too long. I can easily adjust the length but I don't want to do it each time, and I don't want to adjust one and then have to copy and paste this length.

    Is there a way to change the master text length in FCP? The default length is 10 seconds, which is too long. I can easily adjust the length but I don't want to do it each time, and I don't want to adjust a text clip and then have to copy and paste this each time. Ideally, there should be something in User Preferences but there is not. Thanks.

    Maybe some one else can pipe up with a solution, but this would literally take 2 seconds to do for a new project.  And you can create a "template project" that includes this "text" clip.  Save this project and then to a get info and check "stationary pad."  When you double click on this file, fcp will open with a copy of this project and you just need to do a save as. 
    I've been working with computer editing systems for longer than i can remember and at a certain point you just have to adapt your workflow to the limitations of the software.  

  • Control to  create or change material master

    I want to let a group person to create or change material maters only with material group 16. I found an auth. obj. M_MATE_WGR, and set activity as *, while activity goups as 16. But the nothing happened when I change a material with material group 17. It seems this auth. obj. is not checked while change material master. Does any idea for this case? How to let the system check this auth. obj.?
    Thanks great.

    HI,
    Adding to what Sudipta has said, you can also use the workbook technique for accomplishing these type of changes. That way you can achieve all hover text changes in one shot across all MA tabs.
    The 2 main tabs in the wokbook to be changed are: 'Localized Resource' and 'UI overrides' tab.
    As an example, suppose you want to add the following text for Master Agreement External Category field:
    "This field is a classification hierarchy to describe the products or services of the event and/or agreement."
    So in the Localized resource tab, fill out the following:
    BUNDLE: custom
    RESOURCE_ID: xxx     
    RESOURCE_KIND: APP_TEXT     
    DEFAULT_VALUE: This field is a classification hierarchy to describe the products or services of the event and/or agreement.
    Then refer the same attributes in the UI Overrides tab:
    UI_ID: contracts.agreement.ui.buyside.default
    FIELD: EXT_CAT
    ATTRIBUTE: Description
    VALUE: Same as Resource ID used in localized resource (xxx above)
    Hope this helps,
    Vikram Shukla

  • What bapi or FM can create/change vendor master data?

    We want to do a rfc to create/change vendor master data .If use BDC,the change function is very very complex,but i can't find any BAPI/FM in sap!

    >
    Keshav.T wrote:
    > Hi,
    >
    > just some more addition to vinodh's reply . the actual method you must is maintain_bapi of class vmd_ei_api
    Hi Keshav - you should have noticed vinodh's reply came from something your wrote earlier this year: Search BAPI to create Vendor in ECC and from an extenal application

  • LSO Create Course: LSO_PVS2 Change Default Settings

    Hi, in LSO_PVS2 the default to create courses is set to "Planned".  Can someone tell me how I can change the default setting to "Firmly Bkd"?
    I couldn't find anything in the IMG that would allow me to modify the screen (like you can with HR infotypes)

    Hi
    You can create a course in Firmly Booked Status
    Go to LSO_PSV2 -Course Menu
    Select Course Group -Create Courses with out Resources-Go to Data Screen-Select -Firmly booked-
    Pls let me know whether it is working or not ,it is working for me.
    Regards
    Kumar

  • No change log is created when updating the customer master using LSMW

    Hi Gurus,
         I am a bit confused on why no change log is created when I use the LSMW to update the customer master. What I update is the customer partner of the customers. For example I have a sold-to 1000 then a customer representative (Z3) 50001, now when I use the LSMW to change the customer representative to 50002 it is correctly updated however no change log is found if you check for the changes on that specific customer. This is a bother for me since I want to send all the customer changes through IDOC and the processing needs to access the change log.
    Thank you.

    Hello,
    What process are you using object, BAPI, etc.
    Regards
    Waza

  • I excepted firefox update and wish I never got involved with it I am so upset, it changed toolbars and everything and now I cant even get anyone to help. maybe you have a suggestion or you want to fix this since it was your update that created this mess

    I excepted the firefox update and now wish I never got involved with it at all. I am so upset, it change my toolbars and everything and now I cant even get anyone to fix this. maybe you have a suggestion or you want to fix this since it was your update that created this mess.

    See also:
    *https://support.mozilla.com/kb/common-questions-after-updating-firefox
    If you want to restore the Firefox 3 appearance and behavior in Firefox 4 and later then you can find some tips here:
    * http://www.computertechtips.net/64/make-firefox-4-look-like-ff-3-6/

  • Material Master create / change screen addition

    Hi
    I am trying to add purchasing order text screen to material master create / change Z T code. I added purchasing order text for screen sequence group through T code OMT3B. But when I check screen sequnce in TCode OMT3R - Change view of screen order, new screen is not apperaing.
    I did similar configuration in sandbox of my system, I am able to add screen in material master create / change t code.
    Is there any other settings need to be maintained to add this screen?
    Regards,
    Nilesh Sankpal

    Do the maintenance in OMT3E also.

  • End User Doc. Create / Change Customer Master Data

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. >
    Hi Experts,
    I would appreciate, if anyone of you could forward me the end user documents for creating & changing customer master data.
    sonicasmailbox at rediff
    Points will be assigned.
    Regards
    Sonica

    Hi
    Refer to help.sap.com for creating customer master data.
    Copy this to word document and it will be become user manual.
    http://help.sap.com/saphelp_ides/helpdata/en/47/ef8c64124811d2806f0000e8a495b3/content.htm
    Additionally refer to this weblink
    http://web.mit.edu/cao/www/AR/ar1/ar_FD01.htm - This if for FICO only.
    Changing customer master record.
    Use T.Code XD02.
    Enter Customer No,Company code,Sales Org, Distribution channel and division and press Enter or
    Enter Customer no,company code and click on customer's sales area, you will see Sales Org, Distribution channel and division,select the Sales org,Sales Org, Distribution channel and division and press enter.
    You can make necessary changes to customer master
    Please let me know if you need more information.
    Asssign points if useful.
    Regards
    Sridhar M

  • Automatic Trigger of Idoc Sending to PI on Material Master Create/Change

    Hi All,
    I would like to ask how to automatically trigger sending of idoc on material master create/change without using a standard transaction like BD10. I already tried using MASTER_IDOC_DISTRIBUTE in the material master change user exit. It does send the idoc but my problem is when an inbound idoc creates a material, it will then pass through the userexit and use MASTER_IDOC_DISTRIBUTE again.
    Any suggestions? Or do you have a better solution for this? My requirement is when uer goes throgh MM01/MM02 an idoc will automatically be sent to PI.
    Thanks.

    First of all a quick comment to your present solution. If it works and your only problem is that you'd like to suppress triggering the IDoc creation when a material is created/updated via inbound IDoc then you might want to just fix that. There's many possible ways to approach this, it all depends how much you want to change and what your processes are (I sorted the listed ones in order of personal preference, though the list is not complete for sure):
    <ul style="list-style:circle;">
    <li>Export some flag to memory when processing an IDoc that you can import in your exit and thus recognize that you don't want to send an IDoc. Depending on how you are processing your inbound IDoc BAdI BADI_MATMAS_ALE_IN might work; you might find others if this is not applicable or sufficient. If you're working on ECC 6.0 you could also consider coding the export of the flag in an implicit enhancement spot in your function modules used for IDoc processing.</li>
    <li>Evaluate in your existing coding the transaction code SY-TCODE; most likely you should see a clear difference between your IDoc processing and the other updates where you want to trigger the IDoc.</li>
    <li>Most likely the IDoc processing triggers function module MATERIAL_MAINTAIN_DARK (e.g. MATERIAL_INPUT_MATMAS01 does); this function module uses a global variable FLAG_BAPI_CALL to indicate the non-dialog processing. So if you feel adventurous you could evaluate this flag in your coding.</li>
    </ul>
    Change pointer won't really do you any good if your functionality is already working without them apart from the trigger. Even if you write change pointers, you still have to implement the trigger functionality, so essentially back to square one...
    In general another good option is often to use workflow events that are already triggered. I.e. in your case business object BUS1001006 almost does the trick. It has events for <em>ViewCreated</em> and <em>Created</em>, but unfortunately lacks events for material updates (and I didn't see any other appropriate object that has it and a quick trace while updating a material didn't fire any appropriate event).
    Cheers, harald

  • Change default "create archive" from .zip to .sitx

    Hi everyone.
    This probably sounds like a crazy question (why on earth would I want to do this??). In any case, I'm in an office situation where we transfer files over a network and an outside office connects to our servers via FTP. As we transfer files, we've had to zip them in the past, but now we're having weird issues with the some of the larger files getting corrupted, so our IT guy has told us we need to start trying to stuff them instead. (We're a Mac-based company, so no PC issues here).
    In any case, when I zipped the files in the past, I'd just do the handy right-click and select "Create Archive..." option from the menu.
    Is there a way to change the Create Archive function to default to creating a sitx file instead of a zip file?
    Our IT guy doesn't seem to know off hand. He's a busy person so I figured I'd try to do some research for him, and if there's a way to do it, I'd let him know how.
    Really appreciate any help!

    Just to add a bit to this: if you do get StuffIt Deluxe in order to have the Contextual Menu item available, BEWARE! The unpatched version of their menu will cause the Finder to crash when accessing the Contextual menu. There is a patch available on their web site. But the next system update may cause the problem to reappear.
    Francine
    Francine
    Schwieder

  • Changing Default & System Master Pages In SharePoint 2013

    I want to change the system master page & default master page of a SharePoint 2013 site collection. In Site Settings in the Look & Feel section Master Page is not at there. But there is Design Manager. In the design manager where can I change the
    above mentioned Master Pages.

    Hello,
    If publishing is activated you can use the page /_layouts/15/ChangeSiteMasterPage.aspx
    You can also use the Design Manager. Choose a theme and then you'll be asked for fonts, colors and...master page. 
    Hope this helps.

  • Change default stroke/fill in existing doc

    We have several existing large documents that are part of a book and we are unable to change default settings for stroke and fill. Whatever we try as soon as we draw an object the line and fill revert back to the same setting of stroke weight: 0, color: 0, swatch: none. We can create and save a new document and then go back in and make default changes and it sticks, so we have some knowledge of how to do this. Any help will be appreciated.  Thank you! (CS5.5  7.5.3.)

    Don't work with books much, but it occurs to me that Graphic Styles are one of the options that can get synchronized across Books. Try changing those Graphic Styles in your Master document and synchronize settings across the book. (Try this on a copy of your Book, since I don't know what other consequences your Book might suffer.)

Maybe you are looking for

  • Is not null and null join

    Hi, I am trying to properly display a list of tasks for a project however without a join to the project number (which I was aware of) and the employee table, I get over 500 results. The task can be created without a employee assigned to it so therefo

  • Problem with Outer and Inner Classes....or better way?

    Right now I'm trying to create an Inner class. My .java file compiles ok, and I create my jar file too. But when I try to instantiate the Inner class, it fails: java.lang.NoClassDefFoundError: com/myco/vlXML/vlXML$vlDocument. Here's the class code: p

  • How can I get rid of my own contacts from my wife's contacts list?

    Somewhere along the way my wife's contacts app on her iPad, her Mac and iCould, was populated with all of my own contacts (lots). How can I get rid of mine without deleting her own. I have backed up her contacts on the Mac and I have checked that new

  • Partial Billing is not created

    Hi Gurus i have created partial qty billing document for delivery document. Delivery document qty is 10 billing document qty is 05 still there is 5 qty in delivery document but while doing billing for pending 5 qty. system gives an error that you del

  • Too many Full garabge collection

    I know that this is a problematic issue, i will try to explain the situation the best i understand it. i'm doing a performance tests on Websphere with JDK 1.5. when i'm runnning load tests the Perm Gen is always in a grow. and i get a full gc every 1