This may not be the right place, but I'm wondering how I can take a File Upload that is a Word .docx and convert it to a PDF before I send it through to Power Automate? Or is that something I should be doing after it gets to PA? And if so, how? Any insights or assistance is greatly appreciated, as always!
Submit Button:
Set(varCurrentUser, User().FullName);
Set(varSelectedDate, DatePicker1.SelectedDate);
Set(
varSelectedSchools,
If(
CountRows(ListBox2.SelectedItems) = 1,
First(ListBox2.SelectedItems).Value,
Concat(ListBox2.SelectedItems, Value & " _ ")
)
)
;
Set(varFileName, varCurrentUser & " _ " & Text(varSelectedDate, "mm-dd-yyyy") & " _ " & varSelectedSchools); 'PowerAppV2->Createfile'.Run({
file: {
name: varFileName & "." & Last(Split(First(AttachControl_1.Attachments).Name, ".")).Value,
contentBytes: First(AttachControl_1.Attachments).Value
}
});
Reset(AttachControl_1);
Reset(DatePicker1);
Reset(ListBox2);