如何通过sharepoint 2013 REST API创建数据表/ gnatt / calendar视图 [英] How to create a datasheet/gnatt/calendar view through sharepoint 2013 REST API

查看:83
本文介绍了如何通过sharepoint 2013 REST API创建数据表/ gnatt / calendar视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我目前正致力于使用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谷歌图表供您参考。


https://开头的社会.msdn.microsoft.com /论坛/办公室/ EN-US / b44ed444-81ec-48d7-a98a-1323f8816672 /错误时创造的 - 谷歌 - 图式休息SharePoint的移除,重复条目?论坛= sharepointdevelopment


最好的问候,



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.

https://social.msdn.microsoft.com/Forums/office/en-US/b44ed444-81ec-48d7-a98a-1323f8816672/error-when-creating-google-charts-in-rest-sharepoint-removing-duplicates-entries?forum=sharepointdevelopment

Best Regards,

Lee


这篇关于如何通过sharepoint 2013 REST API创建数据表/ gnatt / calendar视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆