Hello
我想在许多子站点(同一父站点)中有类似类型的列表,更新父站点中的单个类似列表。 / p>
我的目标是让部门的主页显示人们直接添加到子站点的更新,公告,重要信息等。
SP 2013.显然没有设计师专家。如果我有一些指南或高级别的想法,可以绕过设计师和Infopath。
A下面是一个愚蠢的例子,但是得到了这个想法:
sharepoint.acme/IT部门/
- 这是父网站
- 它有一个列表"最近评论"
- 人们通常不会直接更新此列表
sharepoint.acme/IT部门/项目
- 此网站有一个列表"关于项目的重要新闻"存储基本的多个
- 创建记录之后
- (可能?)触发工作流程并更新"最近评论",然后更新"最近评论"。在上述父网站中,更新评论字段,修改,修改,创建,创建等等。
sharepoint.acme/IT部门/资产
- 此网站有一个列表"资产重要新闻",它存储基本的多行文字,日期,非常基本
- 创建记录后
- (可能?)触发工作流程并更新"最近评论"。在上述父网站中,更新评论字段,修改,修改,创建,创建等等。
解决方案
您好Drew.Prince,
我们无法根据列表更新父网站中的列表通过触发工作流程在子站点中。
因为工作流只能更新同一站点中的列表。
然后我们可以通过创建事件接收器。在子站点中添加或更新列表时,我们可以触发事件接收器更新父站点中的列表。
更多参考:
在SharePoint 2013中创建简单事件接收器。
www.c-sharpcorner/UploadFile/5b1f04/creating-simple-event-receiver-in-sharepoint-2013/
使用C#服务器对象模型在SharePoint 2013中创建项目事件接收器的步骤。
www.c-sharpcorner/article/steps-to- create-item-event-receivers-in-sharepoint-2013-using-c-sharp-server-object-m /
祝你好运,
Sara Fan
Hello
I would like to have a similar type of list in many child sites (of the same parent), update a single similar list in the parent site.
My goal is to have a home page of a department display updates, announcements, important info, etc that people add directly to a sub-site.
SP 2013. No expert in Designer obviously. Not much of a programmer but can get around Designer and Infopath if I have some guides or a high level idea of what to do.
A silly example below, but gets the idea across:
sharepoint.acme/IT Dept/
- This is the parent site
- It has a list "Recent Comments" which stores basic multi-line text, modified, modified by, created, created by, pretty basic
- People generally would not update this list directly
sharepoint.acme/IT Dept/Projects
- This site has a list "Important News about Projects"stores basic multi-line text, modified, modified by, created, created by, pretty basic
- After a record is created
- (maybe?) Trigger a workflow and update "Recent Comments" in the above parent site and update the comment field,modified, modified by, created, created by, etc
sharepoint.acme/IT Dept/Assets
- This site has a list "Important News about Assets"which stores basic multi-line text, a date, pretty basic
- After a record is created
- (maybe?) Trigger a workflow and update "Recent Comments" in the above parent site and update the comment field,modified, modified by, created, created by, etc
Hi Drew.Prince,
We cannot update the list in the parent site according to the list in the child site by triggering workflow.
Because the workflow only can update the list in the same site.
And then we can achieve it by creating event receiver. We can trigger the event receiver to update the list in the parent site when adding or updating the list in the child site.
More references:
Creating Simple Event Receiver in SharePoint 2013.
www.c-sharpcorner/UploadFile/5b1f04/creating-simple-event-receiver-in-sharepoint-2013/
Steps To Create Item Event Receivers In SharePoint 2013 Using C# Server Object Model.
www.c-sharpcorner/article/steps-to-create-item-event-receivers-in-sharepoint-2013-using-c-sharp-server-object-m/
Best regards,
Sara Fan
更多推荐
当子站点中的列表更新时,如何更新父站点中的列表?
发布评论