Nhi Doan Portfolio

456 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
456
On SlideShare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Nhi Doan Portfolio

  1. 1. SharePoint PortfolioNhi C. Doan714-323-2543 doan_n@hotmail.com<br />Final Project<br />Implement Purchase Order Approval Workflow Feature<br />Sections:<br />Student Assignment, Requirements, Deliverables, Hints, Actual Implementation Steps<br />Deliverables:<br /><ul><li>InfoPath Forms
  2. 2. Workflow feature</li></ul>Student Assignment: <br />Create supporting InfoPath forms <br /><ul><li>AssocForm.xsn
  3. 3. InitForm.xsn
  4. 4. ActionForm.xsn </li></ul>Workflow Association Form<br /><ul><li>4 fields
  5. 5. managerUsername
  6. 6. managerFullname
  7. 7. reviewType
  8. 8. reviewComments</li></ul>Workflow Initiation form <br />Based on same structure as the Workflow Association Form<br />Workflow Action form<br /><ul><li>2 fields
  9. 9. reviewCompleted
  10. 10. reviewNotes</li></ul>Create a Visual Studio SharePoint workflow utilizing these forms as an approval process<br />Create the appropriate manifest.xml and feature.xml files<br />Add and activate the workflow<br />Associate the work flow with the Tow services invoices.<br />Requirements:<br /><ul><li>The workflow should:
  11. 11. Update the Acme Invoice list indicating payment approval
  12. 12. Move the InfoPath document to the archive library
  13. 13. Email status of approval</li></ul>Design of the three .xsn forms<br />AssocForm.xsn<br />Right-click the Manager Username and select Text box properties<br />Enter Field name<br />Select Data type<br />Click the fx button then click Insert functions button and select Username()<br />InitForm.xsn<br />ActionForm.xsn<br />Right click the Submit button then select button properties.<br />Click Rules button<br />Click Add button<br />Click Add Action<br />Click the Field button on the right <br />and select ManUsername for Manager Username<br />Click the Field button on the right and select ManUsername for Manager Username<br />For Value click fx button then click Insert Functions button <br />Select username()<br />Visual Studio AcmeTowingWorkflow <br />Click on each step and define the properties<br />Workflow.xml<br />Under MataData the value of Association_FormURN is taken from the AssocForm.xsn form Properties.<br />The value of Instantiation_FormURN is taken from the InitForm.xsn form Properties.<br />(see below)<br />Feature.xml<br />Include AssocForm.xsn and InitForm.xsn in <ElementManifests><br /> <ElementManifest Location=" workflow.xml" /><br /> <ElementFile Location=" AssocForm.xsn" /><br /> <ElementFile Location=" InitForm.xsn" /><br /> <br /> </ElementManifests>And<br /> Properties><br /> <Property Key=" GloballyAvailable" Value=" true" /><br /> <Property Key=" RegisterForms" Value=" AssocForm.xsn" /><br /> <Property Key=" RegisterForms" Value=" InitForm.xsn" /><br /> <Property Key=" RegisterForms" Value=" ActionForm.xsn" /><br /> </Properties><br />At this point we can Build and deploy.<br />

×