This is the how it works:
Add new SiteColumn
Add new SiteColumn
Add : <CHOICES >
<CHOICE>choice one</CHOICE>
<CHOICE>choice two</CHOICE>
</CHOICES>
Add new ContentType and inherit from Workflow Task (SharePoint 2013)
Add Columns:
- % Completed
- Task Status
- The custom OutcomeColumn
NB: The order is Important, if the custom Outcome Column is not the last one choices will appear as a DropBox and to as buttons
Add new Task List Instance (Or a Custom list template)
Insure the TemplateType is set to "171" (this Id reference Task template)
If you are working with a Task list Instance Add Schema.xml file to it and copy content from a Task list template (create a new Task list template, copy schema.xml content, modify List Name and URL to match your List Instance )
Deploy and happy to help you.
Please let me know if there is any issue so i can update this article
Aucun commentaire:
Enregistrer un commentaire