- March 24, 2007
- 12,073
- 7,459
- Home Country
- Germany
- Moderator
- #11
Next steps:
Change WorkflowState definitions from "hello world" to "Mediasitexxx":
Inside the "hello_world.xaml" there is a reference to the model:
Change WorkflowState definitions from "hello world" to "Mediasitexxx":
Change menu actions (/skin/default/workflow):<Register Location="/Workflow/States">
<WorkflowState Id="23DB4E53-EB0D-4315-9F4C-F5E1C13577C7"
Name="MediasiteMain" MainScreen="MediasiteMainscreen"
DisplayLabel="[Mediasite.StateDisplayLabel]"/> <!-- No workflow model -->
</Register>
Watch for red marked Guids, the targetstate is your workflow state from plugin.xml (and the associated screen)<PushNavigationTransition Id="EA48BD6E-60D3-45b2-9C35-1AB437CC72FB"
Name="Home->MediaSite"
DisplayCategory="m-MediaSite"
SortOrder="a"
SourceStates="7F702D9C-F2DD-42da-9ED8-0BA92F07787F"
TargetState="23DB4E53-EB0D-4315-9F4C-F5E1C13577C7"
DisplayTitle="[MediaSite.MenuEntry]"/>
</MenuActions>
Inside the "hello_world.xaml" there is a reference to the model:
The ID is the one you gave to the MediasitePlugin model (public const string MODEL_ID_STR = "E8585B55-22B4-4E79-9D3B-AA41FAF88355"<DockPanel Context="{Model Id=E8585B55-22B4-4E79-9D3B-AA41FAF88355}" LastChildFill="False">