Hi i am having an issue with defining a collection after building objects in startup
i think this is a syntax issue but i may be out my depth..
in my app OnStart
i populate these objects using the connectors
Set(
varUser,
{
myProfile: Office365Users.MyProfileV2(),
directReports: Office365Users.DirectReportsV2(User().Email),
myManager: Office365Users.ManagerV2(User().Email)
}
)
and i want to add a collection to this aswell to populate my browse gallery navigation.
ClearCollect( NaviItems, Table( { Label: "All Leave", Screen: AllLeave }, { Label: "MyLeave", Screen: MyLeave}, { Label: "Today", Screen: TodayLeave} ) )
every time i try to add this it fails any ideas?
Regards
Neil.