i am a beginner with formulas.
I have this code below:
Set(
varSuccess;
Blank()
);;
Clear(colFinalData);;
ForAll(
galMetadata.AllItems;
Collect(
colFinalData;
{
Title: txtTitle.Text;
Name: lblNameVal.Text;
DataStream: imgDataStream.Image
}
)
);;
Set(
varSuccess;
'PowerApps-SendFilesWithMetadataToSharePoint'.Run(
JSON(
colFinalData;
JSONFormat.IncludeBinaryData
)
).success
);;
If(
varSuccess="Yes";
Clear(colFiles);;
Notify(
"Your files have been successfully upload to the data source";
NotificationType.Success;
3000
);;
Refresh(ListData);;
Navigate(
'Home Screen';
ScreenTransition.CoverRight
);
Notify(
"Error uploading files. Please try again or contact administrator";
NotificationType.Error;
3000
)
)
i need to add the date,time,seconds and incremental "+1" to each filename "Title: txtTitle.Text;" please help me to rectify this formula. Thank you.