How to edit an existing page in SharePoint designer and add custom javascript

When I edit an existing page in SharePoint Designer to add JavaScript and save, I get a dialog with message
"Content in the embedded form field may be changed by the server to remove unsafe content. Do you want to reload you page to see the results of the save?"
When I click OK it reverts my change. How do I add custom JavaScript to the page?

Try not to push your changes through SharePoint Designer (SPD).
We had severe problems with SPD saving page layouts in SharePoint, so you may use SPD to edit the page but not save it.
To save it, check it out from browser, upload and overwrite then publish it.
THosE wHo doN'T apPreCiATe LiFe, DOn't DeSerVe iT

Similar Messages

  • How do I add a field into an existing form in SharePoint Designer 2010 and...?

    I'm trying to add an existing field to an existing form in SharePoint Designer 2010. It's a URL to the employee's photo. But each time I try to "Insert as picture" the url to the photo has a trailing comma. Why and more importantly, how do I get
    rid of it?
    Thanks!

    Hello,
    See this similar thread:
    http://sharepoint.stackexchange.com/questions/10149/comma-in-url-field
    Hope it could help
    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

  • I need to know how to edit a drawing - basically remove the arrows and text but at the same time match the background of the existing pic. then re add new text. how do i erase the arrows and text and arrows but match current background of pic. step by ste

    i need to know how to edit a drawing - basically remove the arrows and text but at the same time match the background of the existing pic. then re add new text. how do i erase the arrows and text and arrows but match current background of pic. step by step explanation please beginner

    Please post (a relevant section of) it right on this Forum.

  • How to edit the existing data in the XML file from java programming.

    Hi all
    i am able to create XML file with the sample data as below from java programming.
    i need sample code on how to edit the existing data in the XML file?
    for example
    <?xml version="1.0"?>
       <mydata>
               <data1>
                         <key1>467</key1>
                        <name1>Paul</name1>
                        <id1>123</id1>
              </data1>
              <data2>
                         <key2>467</key2>
                        <name2>Paul</name2>
                        <id2>123</id2>
              </data2>
        </mydata>
    i am able to insert the data in the XML.
    now i need sample code on how to modify the data in the above XML file from the java programming for only key2,name2,id2 tags only. the remaining tags data in the XML file i want to keep same data except for key2,name2,id2 which are i want to modify from java code
    Regards
    Sunil
    [points will be always rewardable]

    hi
    u need a parser or validate the xml file for to read the xml file from java coding u need for this
    xml4j.jar u can download this file  from here
    http://www.alphaworks.ibm.com/tech/xml4j
    or we can use the SAX(simple API for XML)
    some sample applications for this
    http://www.java-tips.org/java-se-tips/javax.xml.parsers/how-to-read-xml-file-in-java.html
    http://www.developertutorials.com/tutorials/java/read-xml-file-in-java-050611/page1.html
    http://www.xml-training-guide.com/e-xml44.html
    let me know u need any other info
    bvr

  • How to edit an existing vector in perspektive tool

    Hello,
    as the topic says.
    How to edit an existing vector in perspektive tool
    Got an Domino Stone Vector and want to put in another perspective and dont know how!?
    Thx in advance for help

    Before putting complex art in perspective grid, ALWAYS create a symbol first.
    You can only rotate perspective layers (and the art) around the vanishing points. You cannot change perspective or move the vanishing points (at least not if you want to artwork to adapt to it).

  • How to restore a site deleted from SharePoint Designer 2010

    Hi All,
         I have opened a test server site in share point designer 2010, & deleted that particular site in SP designer 2010,can anyone let me know how to restore the site by using SharePoint Designer?
    I followed below mentioned procedure to restore the site using SharePoint Designer
    Open SharePoint Designer, File tab, Sites under File Tab, Open site, specified the URL of site,opened..
    It is getting connected to the Organisation network & showing "path does not exist,check the path and try again".
    Whether, Is it possible to restore the site deleted from share point designer in site collection recycle bin. or
    Is it possible to copy the site from Production server to test server.
    Waiting for an response at the earlier.
    Thanks in Advance.
    Badri

    Hi Badri,
    1.You could not restore site deleted from SharePoint designer in site collection, you can only restore the site deleted from
    UI in site collection recycle bin, deleted from end user recycle bin.
    2.You can export the site from production server, then import it to test server.
    http://technet.microsoft.com/en-us/library/ff607895(v=office.14).aspx
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • Create Custom Application Page using SharePoint designer

    Hi All,
               I have a task to create the Custom Application page using SharePoint designer.Can any one help me how can I do this.Can any one help me how can I achieve this
    Samar

    Hi Samar,
    By application page do you mean writing C# code from SP designer? If so as far as I know you can't write C# code from designer, you have to use Visual Studio for it.
    But if you only want an aspx page with some JS code you can create one from "all files" in designer. you will see files menü on ribbon from where you can create aspx page.
    Best regards,
    Mustafa Yılmaz
    Best Regards, Mustafa Yılmaz MCITP, MCPD | www.mustafa-yilmaz.org | www.sharepointciyiz.biz

  • How can I remove my account on an iPad and add an existing one

    how can I remove my account on an iPad and add an existing one

    Or, how can I change the account on an existing iPad without restoring / formatting it?

  • How can I extract certain pages from my document and save as another file?

    How can I extract certain pages from my document and save as another file?

    You would need Adobe Acrobat to do that, not Adobe Reader.

  • HOW DO I SCAN MULTIPLE PAGES OF A DOCUMENT AND KEEP IT IN ONE DOCUMENT ON A HP PHOTOSMART 5510

    HOW DO I SCAN MULTIPLE PAGES OF A DOCUMENT AND KEEP THAT DOCUMENT AS ONE

    Hello @MYBOU2 ,
    Welcome to the HP forum.
    What you are asking should not be too hard. The key factor right now is: what is your operating system?
    The process is different on a Mac compared to a Windows computer.
    This link explains how to do what you want with windows 7.
    Scan from Windows 7 With the Full Feature HP Software for HP Multifunction Printers
    Please let me know your OS and I will get more specific instructions.
    Aardvark1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!

  • How to chage Workspace Start Page without installing Reporting and Analysis

    Hi:
    any one know how to chage Workspace Start Page without installing Reporting and Analysis?
    thanks

    Not totally sure what you are asking but if you want to change the start page for users/groups have a read of - http://download.oracle.com/docs/cd/E17236_01/epm.1112/bpmui_admin/frameset.htm?assigning_default_preferences.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How  to chage Workspace Start Page without installing Reporting and Analys?

    Hi:
    any one know how to chage Workspace Start Page without installing Reporting and Analysis?
    thanks

    Not totally sure what you are asking but if you want to change the start page for users/groups have a read of - http://download.oracle.com/docs/cd/E17236_01/epm.1112/bpmui_admin/frameset.htm?assigning_default_preferences.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • SharePoint online customization in SharePoint designer and its impact on upgradation.

    Hi,
    We are using SharePoint online 2013 for our site development. We are required to have tabbed view. In order to make those tabs more modular, extendable and easily maintainable we have added WebPart zones inside each tab. We have done this by editing page
    in SharePoint designer.
    As by changing a page in SharePoint designer would make it un-ghosted page. I am curious to know whether this practice makes problems when SharePoint online 2013 would get up-graded in future with new version.
    Thanks a lot!
    Arvind
    arvind chamoli

    You should not face issue with this kind of setting in future unless and untill the code\webpart you used has any change in future version of sharepoint.
    Making masterpage changes and changes on page, webparts are within the scope of sharepoint online so it should be fine

  • I DON'T WANT TO UPGRADE OR HAVE AN ADD ON EVER, DISABLING UPDATES DOES NOT WORK, HOW DO I KILL ALL MEASAGES FOR UP GRADES AND ADD ON'S FOR EVER, ONCE AND FOR ALL, COMPLETELY, THE END AND NEVER BE BOTHERED AGAIN EVER!

    I DON'T WANT TO UPGRADE OR HAVE AN ADD ON EVER, DISABLING UPDATES DOES NOT WORK, HOW DO I KILL ALL MESSAGES FOR UP GRADES AND ADD ON'S FOR EVER, ONCE AND FOR ALL, COMPLETELY, THE END AND NEVER BE BOTHERED AGAIN EVER! ALSO IF I KILL MYSELF I WILL HOLD YOU PERSONALTY RESPONSIBLE.edit

    There is a world of information in these forums if you use the search function near the top right of this page. Just type in NAS for example and you get many threads on the subject (marked with a green checkmark if it solved the question) another example would be Airport Exterme and sound system. Once you formulate your ideas better then specific questions can be addressed one at a time. You may find that a less expensive choice for a server might be a mac mini. Good luck with your project, ask more specific questions and update you systems profile.

  • HT4913 how do you take music from one Iphone (4s) and add it to another(5s), when no music appears in the library when the phone connects to itunes, but there is 13gb on the phone?

    I have upgraded to an Iphone 5s, however all of my music is on my old phone (4s), i want to transfer all 12.7gb of it to my new Iphone, but i cannot drag and drop it? how can i take my music from my 4s and add this to my 5s using Itunes on a windows laptop?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

Maybe you are looking for

  • Hard drive repair, Itunes no longer works

    Recently had a hard drive repair, but had data backed up. Itunes instantly gives a (-50) error and does not allow me to Authorize the computer or change any account details (Error -5002). Recognizes my Iphone and Apple ID but won't allow me to change

  • Native resolution 1440x960 not accessible, how to fix?

    I just acquired a 15" 1.67GHz Powerbook G4. I have another one that is the identical make and model, which allows the native 1440x960 resolution display which I use. This new one doesn't give me that option, only going as high as 1280x854. Is this a

  • SQL that may be impossible to write

    I am currently using a 10.2.0.4 version Oracle Database. I have a table that contains all of the employees with a REPORTS_TO column so you can tell which employee reports to whom. The data looks something like this: POSITION_NBR EMP_NAME JOB_TITLE RE

  • Setting up a test AD domain to practice Exchange Server 2003 to 2010 migration

    Please critique my plan to upgrade our Exch 2003 server to 2010. I want to start by setting up a test domain using an old Win Svr 2003 DC, and another old win 2003 server as an Exch 2003 mail server. This test domain will be connected to our existing

  • Unfortunate Incident

    ok you're going to say i am an id1ot and i agree that what i did was pretty stup1d however if the phone was designed differently it wouldn't have happened. i ride my bike while listening to music on the iPhone and every once in a while i need to take