Welcome to Office 365 APIs | Microsoft Docs
Skip to main content

Office 365 APIs

This site contains the documentation for Office 365 REST APIs exposed on the OneNote and Outlook endpoints. The documentation is no longer actively updated. It is here for your reference, in case you have already included any of the API in your project.

Office 365 services, such as OneNote, Outlook, Excel, OneDrive, Microsoft Teams, Planner, and SharePoint, are now exposed in Microsoft Graph. Microsoft Graph is a unified API endpoint for accessing data across Microsoft 365, which includes Office 365, Enterprise Mobility, and Security and Windows services. It provides a simplified developer experience, with one endpoint and a single authentication token that gives your app access to data across all these services.

Our recommendation:

  • If you are starting a new app, please use Microsoft Graph.
  • If you are maintaining an existing project, use this documentation set for reference. In addition, plan your move to the latest APIs in Microsoft Graph to take advantage of all the new functionality and innovation there.
  • If you are adding new functionality to an existing project, integrate that new functionality by using Microsoft Graph.

With Microsoft Graph, you can access Office 365 data and more, from solutions across mobile, web, and desktop platforms. So whether you're building web applications by using .NET, PHP, Java, Python, or Ruby on Rails, or creating apps for the Universal Windows Platform (UWP), iOS, Android, or on another device platform, it's your choice.

In this section

 none
Multiple Lines Text column not saving data after hiding the extra "Save Cancel" buttons on above of NewItem.aspx form RRS feed

  • Question



  • NewItem.aspx form displays a pair of Save Cancel buttons on above of the form which I tried hiding through Sharepoint Designer by setting style="display:none;" . I edit the NewItem form in advanced mode

    <tr style="display:none;">
    	<td class="ms-toolbar" nowrap="nowrap">
    		<table>
    			<tr>
    				<td width="99%" class="ms-toolbar" nowrap="nowrap"><IMG SRC="/_layouts/15/images/blank.gif" width="1" height="18"/></td>
    				<td class="ms-toolbar" nowrap="nowrap">
    					<SharePoint:SaveButton runat="server" ControlMode="New" id="savebutton1"/>
    				</td>
    				<td class="ms-separator">&#160;</td>
    				<td class="ms-toolbar" nowrap="nowrap" align="right">
    					<SharePoint:GoBackButton runat="server" ControlMode="New" id="gobackbutton1"/>
    				</td>
    			</tr>
    		</table>
    	</td>
    </tr>

    Now the multiple lines text column does not save any data. Although rest of the data gets saved

    How do I hide Save Cancel buttons to properly store data?


    • Edited by akg1421 Friday, December 13, 2019 9:07 AM
    Friday, December 13, 2019 7:19 AM

All replies

  • I deleted the default NewForm.aspx, DispForm.aspx, EditForm.aspx forms of a list which has a few Multiple Line Text columns. I recreated the forms in Sharepoint designer and now all data is saved when I click on save button except the multiple line text columns.


    Description is multi line text column and it is not saving data

    Friday, December 13, 2019 10:14 AM
  • Hi akg1421,

    May i know which SP version you're using? And how do you save the new item if you have hidden 'Save Cancel' buttons? Do you mean that you create a custom form for the list but it cannot save some fields correctly?

    Best Regards,

    Baker Kong


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click  here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Monday, December 16, 2019 6:48 AM
  • @Baker_Kong

    I'm using Office365 - SP Online

    There are by default two pair of "Save Cancel" buttons one pair is at top one is at bottom. I have applied style="display:none" to the above pair. And now the multiple line text colulmns are not saving data


    • Edited by akg1421 Wednesday, December 18, 2019 2:29 PM tagged user
    Wednesday, December 18, 2019 2:28 PM
  • Hi akg1421,

    Here i prepare a list with multiple line text column, i deleted all default forms and recreated them:

    Yes it will display 2 pairs 'Save' button:

    However the bottom 'Save' button could save data correctly even i hide the top one.

    Result:

    Hence could you please have a try it on another list/site to see if this issue will occur?

    Best Regards,

    Baker Kong


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click  here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Thursday, December 19, 2019 5:50 AM
Welcome to Office 365 APIs | Microsoft Docs
Skip to main content

Office 365 APIs

This site contains the documentation for Office 365 REST APIs exposed on the OneNote and Outlook endpoints. The documentation is no longer actively updated. It is here for your reference, in case you have already included any of the API in your project.

Office 365 services, such as OneNote, Outlook, Excel, OneDrive, Microsoft Teams, Planner, and SharePoint, are now exposed in Microsoft Graph. Microsoft Graph is a unified API endpoint for accessing data across Microsoft 365, which includes Office 365, Enterprise Mobility, and Security and Windows services. It provides a simplified developer experience, with one endpoint and a single authentication token that gives your app access to data across all these services.

Our recommendation:

  • If you are starting a new app, please use Microsoft Graph.
  • If you are maintaining an existing project, use this documentation set for reference. In addition, plan your move to the latest APIs in Microsoft Graph to take advantage of all the new functionality and innovation there.
  • If you are adding new functionality to an existing project, integrate that new functionality by using Microsoft Graph.

With Microsoft Graph, you can access Office 365 data and more, from solutions across mobile, web, and desktop platforms. So whether you're building web applications by using .NET, PHP, Java, Python, or Ruby on Rails, or creating apps for the Universal Windows Platform (UWP), iOS, Android, or on another device platform, it's your choice.

In this section