Enabling workflow related properties on FORM design in Dynamics 365 for finance and operations
Achieve workflow feature enabling using extensions without overlay.
[FormDataSourceEventHandler(formDataSourceStr(CustTable, CustTable), FormDataSourceEventType::Initialized)]
public static void CustTable_OnInitialized(FormDataSource sender, FormDataSourceEventArgs e)
{
sender.formRun().design().workflowDatasource("CustTable");
sender.formRun().design().workflowEnabled(true);
sender.formRun().design().workflowType("CustTable_DevWkType");
}
Achieve workflow feature enabling using extensions without overlay.
[FormDataSourceEventHandler(formDataSourceStr(CustTable, CustTable), FormDataSourceEventType::Initialized)]
public static void CustTable_OnInitialized(FormDataSource sender, FormDataSourceEventArgs e)
{
sender.formRun().design().workflowDatasource("CustTable");
sender.formRun().design().workflowEnabled(true);
sender.formRun().design().workflowType("CustTable_DevWkType");
}
No comments:
Post a Comment