使用工作流更新加载项失败 [英] Update of add-in with workflow fails

查看:129
本文介绍了使用工作流更新加载项失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

场景:



  • 一个非常简单的应用程序,具有简单的工作流程(只需写入工作流程历史记录)
  • 将应用程序上传到应用程序目录并添加到站点。一切正常,能够打开应用程序
  • 对工作流程进行小的更改(修改工作流历史记录中的文本)并在AppManifest中更新版本
  • 将新版本上传到应用目录
  • 尝试更新应用

结果 - 更新失败并显示以下错误... 


"抱歉,更新应用时出现了问题。点击重试。"


Stack类似于


操作过程中出错。

解决方案


请尝试使用PowerShell更新应用程序,以下博客使用PowerShell脚本供您参考:


https://开头的博客.msdn.microsoft.com / ocarpen / 2012/08/14 / scripts-to-install-update-or-uninstall-a-sharepoint-2013-app-with-powershell /


并尝试创建一个没有工作流程的简单加载项,并检查它是否有效。


最好的问候,


Dennis



Scenario:

  • A very simple app with a simple workflow (all it does is write to the workflow history)
  • Upload the app to the app catalog and add to a site. Everything works fine, able to open the app
  • Make a small change to the workflow (modify the text in workflow history) and update the version in AppManifest
  • Upload the new version to the app catalog
  • Try to update the app

Result - update fails with the below error ... 

"Sorry, something went wrong with updating the app. Click to retry."

Stack is something like

There was an error during the operation.

解决方案

Hi,

Please try to use PowerShell to update the app, the following blog with PowerShell script for your reference:

https://blogs.msdn.microsoft.com/ocarpen/2012/08/14/scripts-to-install-update-or-uninstall-a-sharepoint-2013-app-with-powershell/

And try to create a simple add-in without workflow and check if it works.

Best Regards,

Dennis


这篇关于使用工作流更新加载项失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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