使用 VBA Excel 批准/拒绝文件到共享点
我正在尝试自动化共享点文件上传、签入和批准。我正在使用 FP RPC 上传和签入文件,但我不知道是否可以自动批准上传的文件。我想到的唯一解决方案是创建 IE 对象并使用 IE.visible = false 自动化批准过程。
另一个问题是,当我尝试将 powerpoint 文件上传到共享点时,meta_info 未更新,这就是我的文件保持签出状态的原因。对这种情况有什么想法吗?到目前为止,我唯一的解决办法是自动添加自定义文件属性,这样当我上传 ppt 文件时,它将自动具有所需属性的值,并且签入方法将起作用。
谢谢你们!
I'm trying to automate sharepoint file upload, checkin and approve. I'm using FP RPC to upload and checkin the file but I have no idea if I can automate approving the uploaded file. the only solution I have in mind is to create IE object and just automate the approve process with IE.visible = false.
other question is that when I try to upload powerpoint file to sharepoint meta_info is not updated that's why my files remains checkout. any idea with this scenario? so far the only work around that I had is to automate adding custom file properties so that when I upload the ppt file it will automatically have values on required properties and checkin method will work.
thanks guys!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 SharePoint Web 服务编辑项目审核状态。
来自示例的 C#。
这是一个示例使用 SOAP 工具包进行更新。
It may be easier to use the SharePoint webservices to edit the items moderation status.
C# from the example.
Here is an example of an update using the SOAP toolkit.