Can't find workflow deployed as WSP solution (when I deploy it from VS it works)

烈酒焚心 提交于 2019-12-23 04:51:09

问题


I am new to SharePoint, sorry if answer to my question is obvious.

I am trying to deploy my very simple workflow as WSP package, it deploys without errors, I activate it, but I can't find my workflow and associate it with list. Could you help me, please, what I do wrong?

I do it so:

  1. Create empty project

  2. Choose trust level as a Farm solution

  3. Add State Machine Workflow

  4. Choose list Workflow

  5. Associate workflow with list Task

  6. Create simple workflow

  7. Press CTRL-F5 in VS2010, and see that WF appears

  8. Pack it to WSP package

  9. Upload and activate it.

  10. Check is it associated to list. It doesn't.

  11. Try to associate it manually, but I can't see it. Why? Where is my error?

I try to google about the problem, but find nothing. I think that I missed something important in basic priciples, but I can't understand what. Help me please.

Thank you in advance.


回答1:


I've found the answer. The root of the problem is next: I've tryed to add WSP Farm solution to sandbox solution gallery. I have to use another way for deploying, for example PowerShell.

PS: Thanks to Balamurugan-S KAUST answer



来源:https://stackoverflow.com/questions/9680544/cant-find-workflow-deployed-as-wsp-solution-when-i-deploy-it-from-vs-it-works

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!