Sharepoint 中自定义计时器作业的基于用户的设置

发布于 2024-08-21 15:17:31 字数 389 浏览 5 评论 0原文

我正在尝试在 Sharepoint 中创建自定义计时器作业。该作业将向订阅的用户发送一封电子邮件。

我想为用户制作一个设置页面,以便他们可以更改自己对摘要服务的偏好。例如,他们想要接收邮件的频率(每周、每两周、每月等)、Sharepoint 列出了他们想要接收的摘要,或者“开/关”开关。

我应该如何进行这样的系统?我正处于开发的开始阶段,因此您的建议实际上将塑造我的代码。

谢谢。

编辑:

嗯,自从我问这个问题以来已经快10个小时了。我有一个主意。我可以创建一个设置列表并将每个用户作为行添加到该列表中。然后让每一列代表一个设置。提供 DispForm.aspx 文件的链接,并将 userId 作为查询字符串,我可以将用户从主页重定向到设置页面。无论如何我想应用其他解决方案。

I'm trying to create a custom timer job in Sharepoint. The job will send an e-mail message to the users that subscribed.

I want to make a settings page for users, so they can change their own preferences for the digest service. For example, how often they want to receive mails (weekly, bi-weekly, monthly etc.), which Sharepoint lists they want to receive summary of, or an "on / off" switch.

How should i proceed for such a system? I'm at the beginning of the development, so your suggestions will actually shape my code.

Thanks.

Edit:

Well, it's been almost 10 hours since i asked this question. I had an idea. I can create a settings List and add each user to this list as rows. Then have each column represent a setting. Providing a link to the DispForm.aspx file with the userId as querystring, i can redirect users from homepage to the settings page. I would like to apply the other solution anyway.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

尹雨沫 2024-08-28 15:17:31

我认为 CustomAction 可以让您将设置页面放在您想要的位置。对于数据存储,按照您的建议使用列表是可行的,但最好将设置存储在用户配置文件属性中。

I think a CustomAction would let you put a settings page where you want it. For data storage, using a list as you suggest would work, but it would probably be better to store the settings in user profile properties.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文