简体   繁体   中英

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

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM