自动进入SharePoint列表 [英] An automated entry to SharePoint List

查看:95
本文介绍了自动进入SharePoint列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 我需要在用户登录到SharePoint时将自动条目存储到SharePoint列表中.有可能吗?

 I have requirement to store an automated entry to the SharePoint list when user login to SharePoint. Is that possible?

谢谢

哈里

推荐答案

用户登录到SharePoint时是否正在寻找解决方案,请在SharePoint列表中添加诸如某些唯一ID之类的条目?

Are you looking for a solution when a user logins to the SharePoint, add an entry like some unique ID in the SharePoint list? 

如果这是必需条件,则可以使用JSOM代码并将其添加到SharePoint网站的主页中.在Document.Ready()上标识用户名/ID,然后在SharePoint列表中添加一个唯一ID.但是请确保当同一用户刷新时您的代码没有添加条目 该页面将添加同一登录用户的重复条目.

If this is requirement then you can JSOM code and add it in the home page of the SharePoint site. Identify the user name/id on Document.Ready() and then add a unique ID in SharePoint list. But make sure your code doesn't add an entry when the same user refreshes the page which will add duplicate entry of the same logged in user.


这篇关于自动进入SharePoint列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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