Thursday, February 10, 2011

Steps to deploy a custom InfoPath task form into SharePoint 2010

Steps to deploy a custom InfoPath task form into SharePoint 2010 1. In workflowname.cs(Workflow1 in example above): a. Add method (Set on task invoke property) private void createTask1_MethodInvoking(object sender, EventArgs e) { … this.createTask1_TaskProperties1.TaskType = 0; … } 2. Create a module to save the published InfoPath form inside the workflow Element, in our case it is . a. Save or copy the published form in the module. b. In elements.xml below the forms module: i. Auto Generated entries, if not add yourself 3. In Elements file below the Workflow Element a. List urn:schemas-microsoft-com:office:infopath:Task1:-myXSD-2011-02-08T08-33-39 _layouts/WrkStat.aspx b. N = task Id (Refer #1 a. Above). 4. Select the workflow node and open properties(F4) a. Paste the following entries i. Assembly = “Microsoft.Office.Workflow.Feature, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” ii. ClassName = “Microsoft.Office.Workflow.Feature.WorkflowFeatureReceiver” (Refer to snapshot for more details) 5. Have a look at the main feature manifest file. a. Add under properties node(if missing): 6. You are required to change the security setting of the InfoPath form. Follow the steps below. a. Click File b. Click Form Options c. Select Security and Trust i. Deselect Automatically determine security level(recommended) ii. Select Domain 7. Time to publish the form a. Click File b. Select Publish c. Select Network Location d. Click browse and enter location on your machine where you want to publish the form and mention a name in the form template name field below and click Next.   e. Remember to clear the field and click Next f. Click Publish and the form is published and ready for use.

Sunday, January 3, 2010

Pehli Baar

My First blog ever. Hello to all of you out there. This is my first blog. I am planning to share some of my personal experience as well as some professional experience here so that some of you can take help or learn from it. All of those interested can comment on the post and will receive a reply within 48 hr be assured. Shuru to kar raha hun to kuch bata deta hun apne baare mein, bole to start from professional: A software guy(became senior with hard work), work on technologies like Microsoft Sharepoint Services 2007, Windows Sharepoint Services 3.0, Sharepoint Designer 2007, C# etc.etc. I will be sharing all the knowledge with you and will try to help in any way possible. Enjoy....