Forum Discussion
TonyToniTone
Contributor II
The XFFormSummaryInfo should be the place where you can grab the name of the Form
This class reveals the properties on the Form template that you can write logic against.
Hope this helps
RobbSalzmann
2 years agoValued Contributor II
Tony, Can you show us where do we get the reference to the runtime instantiated XFFormSummaryInfo object? The code above looks like it would yield an Object not set to a reference error.
- Krishna2 years agoValued Contributor
Dim wfClusterPk As WorkflowUnitClusterPk = BRApi.Workflow.General.GetWorkflowUnitClusterPk(si,"Act_GLLoad.Forms","Actual","2023M1") 'Get Forms Dim objXFFormsForWorkflow As XFFormsForWorkflow = BRApi.Forms.Metadata.GetForms(si, wfClusterPk) 'Get Required Forms Dim objlist As List(Of XFFormSummaryInfo) = objXFFormsForWorkflow.RequiredFor For Each objformlist As XFFormSummaryInfo In objlist objformlist.Name Next
Related Content
- 11 months ago
- 10 months ago