如何通过sharepoint 2013 REST API创建数据表/ gnatt / calendar视图 [英] How to create a datasheet/gnatt/calendar view through sharepoint 2013 REST API
问题描述
大家好,
我目前正致力于使用REST API开发使用sharepoint 2013的应用程序。
I能够使用viewtype =" HTML"创建视图。但是,MS引用表示ViewType是只读的。因此,我无法修改此viewtype以创建type =" CALENDAR"的视图。或其他视图类型。有谁知道如何解决这个问题?
嗨 ,
您可以使用谷歌图表来满足此要求。
https://developers.google.com/chart/interactive/docs/gallery/controls
https://developers.google.com/chart/interactive/docs/gallery/ ganttchart
https://developers.google.com/chart/interactive/docs/gallery/calendar
一个绑定SharePoint数据的示例线程o谷歌图表供您参考。
最好的问候,
利跨度>
Hi All,
I am currently working on the development of apps to work with sharepoint 2013 using REST api.
I am able to create view with viewtype="HTML". However, MS reference said ViewType is read only. Hence I am not able to modify this viewtype to create a view with type="CALENDAR" or other view types. Anyone know how to solve this problem?
Hi,
You could use google chart for this requirement.
https://developers.google.com/chart/interactive/docs/gallery/controls
https://developers.google.com/chart/interactive/docs/gallery/ganttchart
https://developers.google.com/chart/interactive/docs/gallery/calendar
One sample thread which bind SharePoint data to google chart for your reference.
Best Regards,
Lee
这篇关于如何通过sharepoint 2013 REST API创建数据表/ gnatt / calendar视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!