Forum Discussion
TonyToniTone
2 years agoContributor 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
- RobbSalzmann2 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
- Krishna2 years agoValued Contributor
Thanks I already getting the name but it will not change based on the selection.
- Kashinath2 years agoNew Contributor II
Tony , this code is creating an error , can you please give the reference for the runtime instantiated 'XFFormSummaryInfo' object?
Related Content
- 10 months ago
- 10 months ago