I have the following in the OnSelect for a Save button.
Patch(
EmployeeShort,
varFormData,
frmEEInfoEntry.Updates,
frmHiringRequest.Updates
);
ClearCollect(
colEmployee,
varFormData,
ShowColumns(
EmployeeShort,
"HRF_Pos_Dept",
"HRF_Pos_HiringMgr",
"HRF_Pos_SeniorLdr",
"HRF_Pos_JobTitle",
"HRF_Pos_NoPosFill",
"HRF_Pos_BkFillSep",
"HRF_Pos_Justification"
)
)
I then have the following on another button...
ExporttoExcel.Run(
JSON(
colEmployee,
JSONFormat.IncludeBinaryData & JSONFormat.IgnoreUnsupportedTypes
)
)
For the ExporttoExcel.Run, I am receiving ALL columns and not the collection 'colEmployee'. How can I limit the columns to the colEmployee collection that does work in the OnSelect above?