ã¯ããã«
ãæ¬é£è¼ã§ã¯ãVisual Studio 2010ã«ããSharePoint 2010éçºãæ±ãã¾ãã第3åã¨ãªãä»åã¯ãSharePoint 2010ã®ã¯ã¼ã¯ããã¼ã®ä½ææ¹æ³ã解説ãã¾ãã
対象èªè
- Visual Studio 2010ã«ããSharePoint 2010éçºã«é¢å¿ãããéçºè
- SharePoint 2010ã®ã¯ã¼ã¯ããã¼ã®éçºã«é¢å¿ãããéçºè
éçºç°å¢ã®æ´å
ãæ¬é£è¼ã®ç¬¬1åãåèã«ãã¦ãSharePoint 2010ã®éçºç°å¢ãæ´ãã¦ãã ããã
SharePoint 2010ã®ã¯ã¼ã¯ããã¼æ©è½
ãSharePoint 2010ã®ã¯ã¼ã¯ããã¼æ©è½ã¯ã.NET Framework 3.5ã®Windows Workflow Foundationï¼WFï¼ãåºç¤ã¨ãã¦ãã¾ãã
ãWFèªä½ã¯ã.NET Framework 3.0ããå°å ¥ããããã¤ã¯ãã½ãããæä¾ãã¦ããã¯ã¼ã¯ããã¼ã®ããã®ãã¬ã¼ã ã¯ã¼ã¯ã§ããå·çæç¹ã§ã¯ã.NET Framework 4ã«å«ã¾ããWF 4ãææ°ã§ãããSharePoint 2010ã§ã¯WF 3.5ã使ç¨ãã¾ããWF 4ã¯ãããã¾ã§ã®WF 3.5ããå¤§å¹ ãªå¤æ´ãå ãããã¦ãããåºæ¬çã«ã¯äºææ§ã¯ããã¾ããã®ã§ã注æãã ãããå°æ¥çã«ã¯ãSharePointã§ãWF 4ã®ã¯ã¼ã¯ããã¼ã使ç¨å¯è½ã«ãªããã¨ãäºæ³ããã¾ãã
ãWFã§ã¯ãæ¥åã«ããã種ã ã®å¦çã®æµãï¼ããã¼ï¼ããã¢ã¯ãã£ããã£ã¨å¼ã°ããç¹å®ã®å¦çã®çµã¿åããã§å®ç¾ãã¾ããVisual Studioã®ãã¼ã«ããã¯ã¹ãããæä¾ããã¦ããã¢ã¯ãã£ããã£ããã¶ã¤ã³ç»é¢ã«è²¼ãã¤ãã¦ããããã£ãè¨å®ãã¾ãããã®ããã«ãã¶ã¤ã³ç»é¢ä¸ã§ã¢ã¯ãã£ããã£ãçµã¿åããããã¨ã«ãããã³ã¼ããããç¨è¨è¿°ãããã¨ãªãå®è¡å¯è½ãªã¯ã¼ã¯ããã¼ãä½æãããã¨ãã§ãã¾ãã
ãWF 3.0/3.5ã§ã¯ãã·ã¼ã±ã³ã·ã£ã«ã¯ã¼ã¯ããã¼ã¨ã¹ãã¼ããã·ã³ã®ã¯ã¼ã¯ããã¼ã®2種é¡ã®ã¯ã¼ã¯ããã¼ãä½æã§ãã¾ããSharePoint 2010ã®ã¯ã¼ã¯ããã¼æ©è½ã§ããããã2種é¡ã®ã¯ã¼ã¯ããã¼ãä½æã§ãã¾ããVisual Studio 2010ã«ã¯ãSharePoint 2010ã«ãããããããã®ã¯ã¼ã¯ããã¼ç¨ã®ããã¸ã§ã¯ããã³ãã¬ã¼ããç¨æããã¦ãã¾ãã
ã表1ã«ãã·ã¼ã±ã³ã·ã£ã«ã¯ã¼ã¯ããã¼ã¨ã¹ãã¼ããã·ã³ã®ã¯ã¼ã¯ããã¼ã®éããç°¡åã«ã¾ã¨ãã¾ãã
ã¯ã¼ã¯ããã¼ã®ç¨®é¡ | 説æ |
ã·ã¼ã±ã³ã·ã£ã«ã¯ã¼ã¯ããã¼ | ä¸é£ã®ã¢ã¯ãã£ããã£ã1ã¤ãã¤é çªï¼ã·ã¼ã±ã³ã·ã£ã«ï¼ã«å®è¡ãããæ¡ä»¶åå²ãç¹°ãè¿ãã並åå¦çã«ã対å¿ã |
ã¹ãã¼ããã·ã³ã®ã¯ã¼ã¯ããã¼ | ã¹ãã¼ããã·ã³ã¨ãã¦ã¯ã¼ã¯ããã¼ãã¢ãã«åãããã¤ãã³ãã«ããå¥ã®ã¹ãã¼ãï¼ç¶æ ï¼ã«ç§»è¡ãå¦çãå®è¡ããããæçµã¹ãã¼ãã«æ¥ãæç¹ã§ã¯ã¼ã¯ããã¼ãå®äºããã |
ãWF 3.0/3.5èªä½ã®åºæ¬çãªæ©è½ãæä¾ããã¦ããã¢ã¯ãã£ããã£ã解説ãããã¨æãã¨ããã ãã§ããªãã®ããªã¥ã¼ã ã«ãªã£ã¦ãã¾ããããSharePoint 2010éçºã解説ããæ¬ç¨¿ã§ã¯ãããã®ç¹ã¯æ±ãã¾ãããCodeZineã«ãããWFã«ã¤ãã¦ã®éå»ã®è¨äºãåç §ãã¦ãã ããã
- WFï¼Windows Workflow Foundationï¼ãã¥ã¼ããªã¢ã« åç·¨
- WFï¼Windows Workflow Foundationï¼ãã¥ã¼ããªã¢ã« ä¸ç·¨
- WFï¼Windows Workflow Foundationï¼ãã¥ã¼ããªã¢ã« å¾ç·¨
- Visual Studio 2008ã§æ¨æºæè¼ãããWindows Workflow Foundation
ãSharePoint 2010ã«ãããã¯ã¼ã¯ããã¼æ©è½ã§ã¯ãWF 3.0/3.5ãæ¨æºã§æä¾ããã¢ã¯ãã£ããã£ã«å ãã¦ãSharePointã¯ã¼ã¯ããã¼ç¨ã®ãã¾ãã¾ãªã¢ã¯ãã£ããã£ãæä¾ããã¦ãã¾ãã主ãªã¢ã¯ãã£ããã£ã«ã¤ãã¦ã表2ã«ã¾ã¨ãã¾ãã
ã¢ã¯ãã£ãã㣠| 説æ |
CompleteTask | ã¿ã¹ã¯ãå®äºãã |
CreateTask | ã¿ã¹ã¯ãæ°è¦ä½æãã |
DeleteTask | ã¿ã¹ã¯ãåé¤ãã |
LogToHistoryListActivity | ã¯ã¼ã¯ããã¼ã®å±¥æ´ã«ãã°ã追å ãã |
OnTaskChanged | ã¿ã¹ã¯ã®å¤æ´æã«å¼ã°ãã |
OnTaskCreated | ã¿ã¹ã¯ã®ä½ææã«å¼ã°ãã |
OnTaskDeleted | ã¿ã¹ã¯ã®åé¤æã«å¼ã°ãã |
OnWorkflowActivated | ã¯ã¼ã¯ããã¼ã®åæåæã«å¼ã°ãã |
OnWorkflowItemChanged | ã¢ã¤ãã ã®å¤æ´æã«å¼ã°ãã |
OnWorkflowItemDeleted | ã¢ã¤ãã ã®åé¤æã«å¼ã°ãã |
SendEmail | ã¡ã¼ã«éä¿¡ |
UpdateTask | ã¿ã¹ã¯ãæ´æ°ãã |
CreateItemActivity | ã¢ã¤ãã ãæ°è¦ä½æãã |
DeleteItemActivity | ã¢ã¤ãã ãåé¤ãã |
UpdateItemActivity | ã¢ã¤ãã ãæ´æ°ãã |
ãSharePoint 2010ã§ã¯ãç¹å®ã®ãªã¹ããã©ã¤ãã©ãªã«é¢é£ä»ãããã¦ããã¯ã¼ã¯ããã¼ã®ãã¨ããªã¹ãã¯ã¼ã¯ããã¼ã¨å¼ã³ãã©ã®ãªã¹ããããã¥ã¡ã³ãã«ãé¢é£ä»ãããã¦ããããµã¤ãä¸ããå®è¡å¯è½ãªã¯ã¼ã¯ããã¼ã®ãã¨ããµã¤ãã¯ã¼ã¯ããã¼ã¨å¼ã³ã¾ããã·ã¼ã±ã³ã·ã£ã«ã¯ã¼ã¯ããã¼ã¨ã¹ãã¼ããã·ã³ã®ã¯ã¼ã¯ããã¼ã®ã©ã¡ãã«ããã¦ããããã¸ã§ã¯ãä½ææã®ã¦ã£ã¶ã¼ãä¸ã§ããªã¹ãã¯ã¼ã¯ããã¼ããµã¤ãã¯ã¼ã¯ããã¼ã®ã©ã¡ããä½æããããé¸æããããã«æ±ãããã¾ãã