2016-11-12 33 views

回答

2

有幾個方面,這取決於你使用的是什麼版本Sitecore的做,不過目前最強大的是使用Sitecore的服務客戶端框架:

https://sdn.sitecore.net/upload/sitecore7/75/developer%27s_guide_to_sitecore.services.client_sc75-a4.pdf

您可以使用ItemService REST api以json格式從Sitecore中獲取數據,如果您需要更多控制可以使用EntityService的數據。這是特定於Sitecore 7.5及以上版本的。

如果您在早期版本是那麼你有項Web API:

https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc65-66-usletter.pdf

如果在攔截在Web窗體數據營銷形式的規劃那麼你最好使用自定義Save Action將表單數據保存爲json文件:

http://www.roundedcube.com/Blog/2016/creating-a-custom-save-action-for-sitecore-wffm