SharePoint 工作流程的简单批准/拒绝表单?
我目前正在 SharePoint 中(在 Visual Studio 中)创建一个简单的审批工作流,以便在用户批准项目后我可以执行一些自定义代码。 但是,似乎当我没有指定要使用的审批表单时,SharePoint 只是选择带有“完成任务”按钮的默认表单,但没有“拒绝”按钮。
我可以在代码中引用某种默认的批准/拒绝表单来为用户提供两种选择,而不是编写自己的页面或从网络复制/粘贴吗?
PS 我想远离 InfoPath。 这是一个非常简单的工作流程,不会花费太多时间,而且我觉得采用 InfoPath 路线会花费比其价值更多的时间。
I'm currently creating (in Visual Studio) a simple approval workflow within SharePoint so that I can execute some custom code once the user has approved an item. However, it seems that when I don't specify an approval form to use, SharePoint just selects a default one with a "Complete Task" button, but no "Reject" button.
Is there some sort of default approve/reject form I can reference in my code to give users both choices, instead of writing my own page or copy/pasting from the web?
P.S. I'd like to stay away from InfoPath. This is a really simple workflow that shouldn't take much time, and I feel like going the InfoPath route would take much more time than it's worth.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,没有这样的内置形式。 您自己的审批表单可以选择 InfoPath 或自定义 ASPX。 根据个人经验,使用任何一种方法都需要比实际需要更多的开发精力,但如果 InfoPath 可用,请使用它,因为在我看来,它要快得多,而且我相信还有一个额外的优点,即可以在 Outlook 中编辑任务( 2007)。
As far as I know, there is no such built-in form. The choices for your own approval form are InfoPath or a custom ASPX. From personal experience using either approach requires considerably more effort to develop than it really should but if InfoPath is available, use it because in my opinion it is quite a lot quicker and I believe has the added advantage that the task can be edited in Outlook (2007).